{
  "name": "Kick Off Onboarding in Email When a New Customer Signs Up via Paddle",
  "nodes": [
    {
      "name": "Paddle — New Customer",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "parameters": {
        "method": "POST",
        "url": "https://api.example.com/replace-with-real-endpoint",
        "sendBody": true,
        "options": {}
      },
      "notes": "Paddle has no dedicated n8n node — use an HTTP Request to the Paddle API. Trigger on new customer.",
      "position": [
        260,
        300
      ]
    },
    {
      "name": "Standardise",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "1263",
              "name": "email",
              "value": "={{ $json.customer.email }}",
              "type": "string"
            },
            {
              "id": "1264",
              "name": "name",
              "value": "={{ $json.customer.name }}",
              "type": "string"
            },
            {
              "id": "1265",
              "name": "plan",
              "value": "={{ $json.plan }}",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "notes": "",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "Send Email",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2,
      "parameters": {
        "subject": "=Welcome aboard, {{ $json.name }}! Here's how to get started",
        "text": "={{ $json.summary }}"
      },
      "notes": "Add SMTP credentials (or swap for the Gmail node).",
      "position": [
        740,
        300
      ]
    },
    {
      "name": "Respond / Finish",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "parameters": {},
      "notes": "End of flow — extend with extra steps as needed.",
      "position": [
        980,
        300
      ]
    }
  ],
  "connections": {
    "Paddle — New Customer": {
      "main": [
        [
          {
            "node": "Standardise",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Standardise": {
      "main": [
        [
          {
            "node": "Send Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
