n8n recipe · ai

Shopify → Anthropic → Twilio

For every new Shopify order, Claude (Anthropic) writes a thank-you note and Twilio texts it to the customer.

쇼피파이에 주문이 들어오면 클로드(앤트로픽)가 감사 인사를 쓰고 트윌리오 문자로 보내요.

Steps

  1. When when a shopify order is created — Shopify node
  2. Then write a thank you note with claude — Anthropic node
  3. Then send it as an sms with twilio — Twilio node

Fields to fill (4)

The file has every node wired up. These are the blanks only you can fill (your form, your sheet, your words).

NodeWhat to do
Anthropicfill modelId (Model)
Twiliofill from (The number from which to send the message)
Twiliofill to (The number to which to send the message)
Twiliofill message (The message to send) — the AI step's output: run that node once in n8n and pick its output field

Accounts to connect (3)

In n8n, pick or add a credential on each node — one of the types below.

Get the n8n file

Download shopify-thank-you-sms.json

  1. Open a new, empty workflow in n8n.
  2. Open the workflow menu (⋯) and choose Import from File — or copy the JSON below and paste it onto the canvas (Ctrl/Cmd+V).
  3. Connect the accounts, fill the fields above, run one test, then turn the workflow on.
Or copy the JSON
{
  "name": "For every new Shopify order",
  "nodes": [
    {
      "id": "n1",
      "name": "Shopify Trigger",
      "type": "n8n-nodes-base.shopifyTrigger",
      "typeVersion": 1,
      "parameters": {
        "topic": "orders/create"
      },
      "position": [
        240,
        300
      ],
      "notes": "step: when a shopify order is created"
    },
    {
      "id": "n2",
      "name": "Anthropic",
      "type": "@n8n/n8n-nodes-langchain.anthropic",
      "typeVersion": 1,
      "parameters": {
        "resource": "text",
        "operation": "message",
        "messages": {
          "values": [
            {
              "role": "user",
              "content": "=Write a thank you note:\n\n{{ JSON.stringify($json) }}"
            }
          ]
        },
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        }
      },
      "position": [
        460,
        300
      ],
      "notes": "step: write a thank you note with claude"
    },
    {
      "id": "n3",
      "name": "Twilio",
      "type": "n8n-nodes-base.twilio",
      "typeVersion": 1,
      "parameters": {
        "resource": "sms",
        "operation": "send",
        "from": "",
        "to": "",
        "message": ""
      },
      "position": [
        680,
        300
      ],
      "notes": "step: send it as an sms with twilio"
    }
  ],
  "connections": {
    "Shopify Trigger": {
      "main": [
        [
          {
            "node": "Anthropic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic": {
      "main": [
        [
          {
            "node": "Twilio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "active": false
}