SHOPIFY订单→SLACK提醒

中级

这是一个CRM领域的自动化工作流,包含 7 个节点。主要使用 Set、Slack、ShopifyTrigger 等节点。 将新Shopify订单的实时通知发送到Slack

前置要求
  • Slack Bot Token 或 Webhook URL
  • Shopify Admin API 凭证

使用的节点 (7 个)

分类

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "5GKBzwMfZ69VyCKH",
  "meta": {
    "instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
  },
  "name": "SHOPIFY订单 → SLACK提醒",
  "tags": [],
  "nodes": [
    {
      "id": "74cc7f38-5f19-4791-af11-b9b86860de09",
      "name": "Shopify触发器",
      "type": "n8n-nodes-base.shopifyTrigger",
      "position": [
        -300,
        -40
      ],
      "webhookId": "77043131-5411-4710-a8a8-4b325e838395",
      "parameters": {
        "topic": "orders/create"
      },
      "typeVersion": 1
    },
    {
      "id": "0a609b3e-ab0a-47d9-b7c7-e437289bf929",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        -80,
        -40
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={\n  \"customer_name\": \"{{ $('Shopify Trigger').item.json.customer.first_name }} {{ $('Shopify Trigger').item.json.customer.last_name }}\",\n  \"order_number\": \"{{ $('Shopify Trigger').item.json.order_number }}\",\n  \"total_price\": \"{{ $('Shopify Trigger').item.json.total_price }}\",\n  \"currency\": \"{{ $('Shopify Trigger').item.json.currency }}\",\n  \"items_count\": \"{{ $('Shopify Trigger').item.json.line_items.length }}\",\n  \"order_url\": \"https://admin.shopify.com/store/YOUR_STORE/orders/{{ $('Shopify Trigger').item.json.id }}\"\n}"
      },
      "typeVersion": 3.4
    },
    {
      "id": "245cee48-aa0d-4a7a-b8c8-e5abb9644b37",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -260
      ],
      "parameters": {
        "width": 280,
        "height": 400,
        "content": "## 🛒 SHOPIFY订单 → SLACK提醒"
      },
      "typeVersion": 1
    },
    {
      "id": "dd8df1a2-e261-4beb-986a-d11e5747aa7c",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        -20
      ],
      "parameters": {
        "color": 7,
        "width": 260,
        "height": 200,
        "content": "**商业价值**:"
      },
      "typeVersion": 1
    },
    {
      "id": "ca9e953b-9a2d-4e2a-a70a-1f36481aa9df",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -360
      ],
      "parameters": {
        "color": 6,
        "width": 260,
        "height": 260,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4b2469c6-bf2c-40d7-8649-62fd2883d6f0",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        -300
      ],
      "parameters": {
        "color": 5,
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e7654827-0267-4545-a82f-b216b237345c",
      "name": "通知您的团队",
      "type": "n8n-nodes-base.slack",
      "position": [
        120,
        -40
      ],
      "webhookId": "9283e042-363a-42cb-abeb-590043b57123",
      "parameters": {
        "text": "={\n  \"customer_name\": \"{{ $json.customer_name }}\",\n  \"order_number\": \"{{ $json.order_number }}\",\n  \"total_price\": \"{{ $json.total_price }}\",\n  \"currency\": \"{{ $json.currency }}\",\n  \"items_count\": \"{{ $json.items_count }}\",\n  \"order_url\": \"{{ $json.order_url }}\"\n}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C0971EWTRFA",
          "cachedResultName": "orders"
        },
        "otherOptions": {},
        "authentication": "oAuth2"
      },
      "credentials": {
        "slackOAuth2Api": {
          "id": "rCOUwK3276xqTfQi",
          "name": "Slack account"
        }
      },
      "typeVersion": 2.3
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ec9dbd11-27b2-40f2-8ed3-425002424164",
  "connections": {
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Notify your team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Shopify Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

这是一个中级难度的工作流,适用于CRM等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量7
分类1
节点类型4
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
David Olusola

David Olusola

@dae221

I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - david@daexai.com

外部链接
在 n8n.io 上查看 →

分享此工作流