商业与职场

WhatsApp客服与订单通知

配置WhatsApp Business API和获批模板,实现机器人客服、订单物流通知和群发。

# WhatsApp 自动化

自动化处理 WhatsApp Business 通信,包括客户支持、通知、聊天机器人和群发消息。基于 n8n 的 WhatsApp 集成模板。

## 概览

此技能涵盖:
- WhatsApp Business API 设置
- 自动化聊天机器人流程
- 订单/发货通知
- 客户支持自动化
- 群发消息

---

## 设置与配置

### WhatsApp Business API

```yaml
setup_requirements:
  1. meta_business_account:
      - Create at business.facebook.com
      - Verify business

  2. whatsapp_business_api:
      - Access through Meta Developer Portal
      - Create WhatsApp Business App
      - Get Phone Number ID
      - Get Access Token

  3. webhook_configuration:
      - Set callback URL
      - Verify token
      - Subscribe to messages

  4. message_templates:
      - Create templates in Business Manager
      - Wait for approval (24-48h)
```

### 消息模板

```yaml
template_categories:
  transactional:
    - order_confirmation
    - shipping_update
    - delivery_notification
    - appointment_reminder

  marketing:
    - promotional_offer
    - product_launch
    - newsletter

  utility:
    - account_verification
    - password_reset
    - payment_reminder

template_example:
  name: "order_confirmation"
  language: "en"
  category: "TRANSACTIONAL"
  components:
    - type: HEADER
      format: TEXT
      text: "Order Confirmed! 🎉"

    - type: BODY
      text: |
        Hi {{1}},

        Your order #{{2}} has been confirmed!

        Items: {{3}}
        Total: {{4}}

        We'll notify you when it ships.

    - type: FOOTER
      text: "Reply HELP for support"

    - type: BUTTONS
      buttons:
        - type: URL
          text: "Track Order"
          url: "https://example.com/track/{{1}}"
```

---

## 聊天机器人流程

### 客户支持机器人

```yaml
chatbot_flow:
  name: "Customer Support"

  welcome:
    trigger: first_message
    response: |
      👋 Welcome to {Company} Support!

      How can I help you today?

      1️⃣ Track Order
      2️⃣ Return/Exchange
      3️⃣ Product Questions
      4️⃣ Speak to Agent

      Reply with a number to continue.

  flows:
    track_order:
      trigger: "1" OR "track" OR "order"
      steps:
        - ask: "Please enter your order number:"
        - validate: order_number_format
        - lookup: order_status
        - respond: |
            📦 *Order #{order_number}*

            Status: {status}
            {if_shipped: Tracking: {tracking_number}}
            Estimated delivery: {eta}

            [Track Package]({tracking_url})

    return_exchange:
      trigger: "2" OR "return" OR "exchange"
      steps:
        - ask: "Order number for return?"
        - check: return_eligibility
        - if_eligible:
            respond: return_instructions
        - if_not:
            respond: contact_support

    product_questions:
      trigger: "3" OR "product" OR "question"
      steps:
        - ai_response:
            model: gpt-4
            context: product_faq_knowledge_base

    agent_handoff:
      trigger: "4" OR "agent" OR "human"
      steps:
        - check: agent_availability
        - if_available:
            transfer: to_live_agent
            notify: "#support-queue"
        - if_unavailable:
            respond: "Our team is currently unavailable. Leave a message and we'll get back to you within 24 hours."
            create: support_ticket
```

### AI 驱动的回复

```yaml
ai_chatbot:
  model: gpt-4

  system_prompt: |
    You are a WhatsApp customer support agent for {Company}.

    Guidelines:
    - Be helpful and friendly
    - Keep responses concise (WhatsApp prefers short messages)
    - Use emojis appropriately
    - If you can't help, offer to connect with a human agent
    - Never make up information about orders or products

    You have access to:
    - Order lookup
    - Product catalog
    - FAQ knowledge base

  tools:
    - lookup_order: by order number
    - search_products: by keyword
    - check_inventory: by product id
    - create_ticket: for complex issues

  escalation_triggers:
    - sentiment: very_negative
    - keywords: ["complaint", "refund", "angry", "sue"]
    - loop_detected: same_question_3x
```

---

## 通知工作流

### 订单通知

```yaml
order_notifications:
  order_placed:
    trigger: shopify_order_created
    template: order_confirmation
    variables:
      - customer_name
      - order_number
      - items_summary
      - total_amount

  payment_received:
    trigger: payment_captured
    message: |
      ✅ Payment received for order #{order_number}!

      Amount: {amount}

      We're preparing your order now.

  shipped:
    trigger: fulfillment_created
    template: shipping_update
    variables:
      - tracking_number
      - carrier
      - estimated_delivery

  out_for_delivery:
    trigger: tracking_status_change
    condition: status == "out_for_delivery"
    message: |
      🚚 Your order is out for delivery!

      Expected today by {eta}.

      Track live: {tracking_url}

  delivered:
    trigger: tracking_status_change
    condition: status == "delivered"
    message: |
      📦 Your order has been delivered!

      We hope you love it!

      [Leave a Review]({review_url})
      [Need Help?]({support_url})
```

### 预约提醒

```yaml
appointment_reminders:
  schedule:
    - 24_hours_before
    - 1_hour_before

  template: appointment_reminder

  24h_message: |
    📅 *Appointment Reminder*

    Hi {name},

    You have an appointment tomorrow:

    📍 {location}
    🕐 {time}
    👤 {provider}

    Reply:
    ✅ CONFIRM to confirm
    ❌ CANCEL to cancel
    📅 RESCHEDULE to change time

  1h_message: |
    ⏰ Your appointment is in 1 hour!

    {provider} at {location}

    See you soon!
```

---

## 群发消息

### 营销活动管理

```yaml
broadcast_campaigns:
  setup:
    - import_contacts: from_crm
    - segment_audience: by_criteria
    - create_template: get_approval
    - schedule_send

  targeting_options:
    - all_contacts
    - by_tag: [vip, new_customer, inactive]
    - by_purchase_history
    - by_location
    - custom_segment

  compliance:
    - opt_in_required: true
    - opt_out_easy: reply_STOP
    - frequency_limits: per_contact_per_day
    - quiet_hours: respect_timezone

  tracking:
    - delivered
    - read
    - replied
    - clicked_link
    - opted_out
```

### 营销活动模板

```yaml
campaign_templates:
  promotional:
    template: |
      🎉 *Special Offer for You!*

      Hi {name},

      {offer_description}

      Use code: {promo_code}
      Valid until: {expiry}

      [Shop Now]({url})

      Reply STOP to unsubscribe

  product_launch:
    template: |
      🚀 *New Arrival Alert*

      {name}, check out our latest:

      {product_name}
      {product_description}

      {price}

      [View Product]({url})

  reengagement:
    template: |
      👋 *We Miss You, {name}!*

      It's been a while since your last visit.

      Here's 15% off to welcome you back:

      Code: COMEBACK15

      [Shop Now]({url})
```

---

## n8n 集成

### 工作流示例

```yaml
workflow: "WhatsApp Order Bot"

nodes:
  - name: "WhatsApp Trigger"
    type: "n8n-nodes-base.whatsAppTrigger"
    parameters:
      events: ["messages"]

  - name: "Parse Message"
    type: "n8n-nodes-base.code"
    parameters:
      code: |
        const message = $input.first().json;
        return {
          from: message.from,
          text: message.text.body,
          type: message.type
        };

  - name: "AI Response"
    type: "n8n-nodes-base.openAi"
    parameters:
      model: "gpt-4"
      messages: [
        { role: "system", content: "..." },
        { role: "user", content: "{{ $json.text }}" }
      ]

  - name: "Send Reply"
    type: "n8n-nodes-base.whatsApp"
    parameters:
      operation: "sendMessage"
      phoneNumberId: "{{ $env.WHATSAPP_PHONE_ID }}"
      recipientPhoneNumber: "{{ $json.from }}"
      message: "{{ $json.response }}"
```

---

## 输出示例

**请求**:“创建 WhatsApp 订单通知流程”

**输出**:

```markdown
# WhatsApp Order Notifications

## Message Templates (Need Meta Approval)

### 1. Order Confirmation
```
你好,{{1}}!🎉

你的订单 #{{2}} 已确认!

商品:{{3}}
总计:{{4}}

发货后我们会通知你。

[追踪订单]({{5}})
```

### 2. Shipping Update
```
📦 你的订单正在运送途中!

订单:#{{1}}
承运商:{{2}}
追踪单号:{{3}}

预计送达时间:{{4}}

[追踪包裹]({{5}})
```

### 3. Delivered
```
✅ 已送达!

你的订单 #{{1}} 已送达。

喜欢吗?留下你的评价吧!
需要帮助?回复此消息即可。

[评价]({{2}})
```

## n8n Workflow

```yaml
trigger: Shopify Order Created
steps:
  1. Get customer phone
  2. Format order details
  3. Send WhatsApp template
  4. Log to CRM
```

## 自动化规则

- 下单 → 确认通知(立即)
- 已发货 → 物流追踪信息(立即)
- 派送中 → 提醒(立即)
- 已送达 → 评价请求(1 天后)
```

---

*WhatsApp Automation Skill - Part of Claude Office Skills*

同类提示词

商业与职场

招聘面试轮次与面试官排期

提供岗位要求和面试官的可用时间,规划各轮评估内容、人员搭配及面试顺序,并起草题库和候选人通知。

# 面试安排 > 设计高效的面试流程,优化面试小组构成和日程安排,带来良好的候选人体验。 ## 何时使用此技能 - 设置多轮面试流程 - 协调面试小组日程 - 设计面试阶段 - 优化候选人体验 - 创建面试执行手册 ## 方法论基础 基于**结构化面试最佳实践**和**候选人体验研究**,结合: - 与阶段相适应的评估 - 面试小组多样性要求 - 招聘周期优化 - 候选人沟通 ## Claude的工作与由你决定的事项 | Claude的工作 | 由你决定 | |-------------|------------| | 设计面试阶段 | 最
可填 1 项
商业与职场

十五镜头产品营销视频分镜

填写营销文案与产品外观描述,按开场钩子、故事和促销安排分镜,逐条标明产品镜头或场景镜头。

你是一位精通营销心理学的商业视频分镜师。请根据营销文本和产品外观描述,创建具有强营销力的15个分镜。 营销文本:{text} 产品外观描述:{image} 【核心标记规则】⚠️ 极其重要 每个分镜必须在开头使用以下标记之一: - [产品镜头] - 画面中包含产品实体,需要保持产品外观一致性 - [场景镜头] - 不包含产品的纯环境、人物或情境画面 标记决定后端使用哪个生成模型,必须准确标注! 【营销策略分析】(内部分析,不输出) 分析营销文本,提取以下信息用于指导分镜创作: 1. 目标受众:识别目标人群特征,确定画面风格和场景选择 2. 核心卖点
可填 2 项中文原创
商业与职场

等距分层与爆炸图动画

为产品演示或信息图制作 2.5D 场景,用统一投影和分面明暗表现立体感,支持层叠展开及爆炸图动画。

# 等轴测(2.5D)动画 等轴测场景无需使用真正的透视,就能让讲解动画、UI 操作演示和信息图呈现出搭建而成的立体感:各轴等比例缩短、Z 轴方向堆叠的层级、拉伸立体块、爆炸图。整体风格几何感强、构图讲究——深度来自一致的轴向和各面的明暗处理,动效则通过逐层展示结构来实现。 ## 适用场景 - 用于讲解动画、产品 UI 或“工作原理”信息图的 2.5D 场景。 - 从下往上搭建的堆叠层级 / 楼层 / 技术栈塔。 - 拉伸立体块、等轴测网格、等轴测城市 / 服务器机架场景。 - 沿 Z 轴拆开再重新组装的爆炸图。 - 需要增添轻微生动感的静态等轴测
商业与职场

六页电影感演示文稿设计总览

选择浅色或深色方向,用图像模型把六页幻灯片合成一张电影感概览图,适合演示提案和版式评审。

# 演示文稿设计 创建一张**高端 6 页演示文稿设计展板**,将所有幻灯片合成为一张图片——让用户一眼看完整套演示文稿,适合电视屏幕展示,具有电影感。 主要用途:PPT 设计概念、主题演讲风格的幻灯片设计稿、战略演示文稿视觉方案、活动 / 新闻 / 体育 / 商业分析演示文稿、编辑式数据故事、高管演示文稿。 ## 图像生成要求 最终展板必须由**图像生成模型**生成(默认使用内置的 `image_gen` 工具,或经批准的项目图像生成工作流)。不要使用代码、SVG、HTML/CSS、canvas、图表、占位图或确定性形状脚本创建展板。这些方法只
商业与职场

十五款AI视频模型选型顾问

回答三至四个需求问题,按中文表现、音频、编辑能力、时长和可用性等条件获取模型推荐及理由。

# model-selector 15 个主流 AI 视频模型(11 商业 + 4 开源)的"购物顾问"。问用户 3-4 个关键问题,给出推荐 + 理由。 ## 何时不用此 skill - 用户已经确定要用某个模型 → 用对应的 `<model>-prompter` skill - 用户问"提示词怎么写" → 用 `seedance-prompter` / `kling-prompter` / `happyhorse-prompter` - 用户的提示词不工作 → 用 `seedance-debugger` ## 11 模型能力速查矩阵 | 模
中文原创
商业与职场

界面创意转视觉设计规格

填写界面用途、受众、尺寸和文案,将初步构想细化为包含网格、字体、配色与图像风格的设计规格。

# 设计优先的 UI 提示词技能 此技能适用于**设计优先的提示词编写**:将模糊的想法转化为严谨的规格说明,生成风格一致的 UI。 ## 核心原则 **像设计系统一样编写提示词,而不是许愿。** ## 提示词结构(复制/粘贴) 使用以下框架,然后填入空白。 ```text GOAL - What are we making? (e.g., landing page hero / onboarding / dashboard / carousel slide) - Who is it for? (persona) - What’s the suc
✓