{
  "name": "Automated client onboarding system with Notion, email & CRM integration",
  "nodes": [
    {
      "id": null,
      "name": "Sticky: README",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Prereqs + CSV",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        0
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Setup Checklist",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        120
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Testing Notes",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Compliance + Troubleshooting",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        360
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Sticky: Changelog",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": null,
      "name": "Client Intake Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -160,
        40
      ]
    },
    {
      "id": null,
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -160,
        200
      ]
    },
    {
      "id": null,
      "name": "Set: User Config",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        200
      ]
    },
    {
      "id": null,
      "name": "Function: Simulate Intake",
      "type": "n8n-nodes-base.function",
      "position": [
        80,
        200
      ]
    },
    {
      "id": null,
      "name": "Function: Map Intake",
      "type": "n8n-nodes-base.function",
      "position": [
        360,
        60
      ]
    },
    {
      "id": null,
      "name": "Function: Score Lead",
      "type": "n8n-nodes-base.function",
      "position": [
        540,
        60
      ]
    },
    {
      "id": null,
      "name": "Notion: Create Client",
      "type": "n8n-nodes-base.notion",
      "position": [
        780,
        120
      ]
    },
    {
      "id": null,
      "name": "Function: Build Welcome Email",
      "type": "n8n-nodes-base.function",
      "position": [
        960,
        60
      ]
    },
    {
      "id": null,
      "name": "Email: Send Welcome",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1140,
        60
      ]
    },
    {
      "id": null,
      "name": "If: Telegram Enabled?",
      "type": "n8n-nodes-base.if",
      "position": [
        980,
        180
      ]
    },
    {
      "id": null,
      "name": "Telegram: Notify Owner",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1140,
        140
      ]
    },
    {
      "id": null,
      "name": "If: Airtable Enabled?",
      "type": "n8n-nodes-base.if",
      "position": [
        980,
        300
      ]
    },
    {
      "id": null,
      "name": "Airtable: Create Row",
      "type": "n8n-nodes-base.airtable",
      "position": [
        980,
        520
      ]
    },
    {
      "id": null,
      "name": "If: HubSpot Enabled?",
      "type": "n8n-nodes-base.if",
      "position": [
        980,
        420
      ]
    },
    {
      "id": null,
      "name": "HubSpot: Create Contact",
      "type": "n8n-nodes-base.hubspot",
      "position": [
        1140,
        420
      ]
    },
    {
      "id": null,
      "name": "If: Calendar Hold Enabled?",
      "type": "n8n-nodes-base.if",
      "position": [
        960,
        540
      ]
    },
    {
      "id": null,
      "name": "Function: Hold Times",
      "type": "n8n-nodes-base.function",
      "position": [
        1080,
        540
      ]
    },
    {
      "id": null,
      "name": "Google Calendar: Create Hold",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        1140,
        540
      ]
    },
    {
      "id": null,
      "name": "Opt-in Confirm Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -160,
        540
      ]
    },
    {
      "id": null,
      "name": "Function: Parse Optin",
      "type": "n8n-nodes-base.function",
      "position": [
        80,
        540
      ]
    },
    {
      "id": null,
      "name": "Notion: Find by Token",
      "type": "n8n-nodes-base.notion",
      "position": [
        360,
        540
      ]
    },
    {
      "id": null,
      "name": "Function: Pick Page",
      "type": "n8n-nodes-base.function",
      "position": [
        540,
        540
      ]
    },
    {
      "id": null,
      "name": "Notion: Set Consent + Status",
      "type": "n8n-nodes-base.notion",
      "position": [
        780,
        400
      ]
    },
    {
      "id": null,
      "name": "On Error",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -160,
        360
      ]
    },
    {
      "id": null,
      "name": "On Error → Email Owner",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1140,
        60
      ]
    }
  ],
  "connections": {
    "On Error": {
      "main": [
        [
          {
            "node": "On Error → Email Owner",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Function: Simulate Intake",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: User Config": {
      "main": [
        [
          {
            "node": "Function: Map Intake",
            "type": "main",
            "index": 0
          },
          {
            "node": "Function: Parse Optin",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Pick Page": {
      "main": [
        [
          {
            "node": "Notion: Set Consent + Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Hold Times": {
      "main": [
        [
          {
            "node": "Google Calendar: Create Hold",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Map Intake": {
      "main": [
        [
          {
            "node": "Function: Score Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Score Lead": {
      "main": [
        [
          {
            "node": "Notion: Create Client",
            "type": "main",
            "index": 0
          },
          {
            "node": "Function: Build Welcome Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If: HubSpot Enabled?": {
      "main": [
        [
          {
            "node": "HubSpot: Create Contact",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Client Intake Webhook": {
      "main": [
        [
          {
            "node": "Set: User Config",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Parse Optin": {
      "main": [
        [
          {
            "node": "Notion: Find by Token",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If: Airtable Enabled?": {
      "main": [
        [
          {
            "node": "Airtable: Create Row",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "If: Telegram Enabled?": {
      "main": [
        [
          {
            "node": "Telegram: Notify Owner",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Notion: Find by Token": {
      "main": [
        [
          {
            "node": "Function: Pick Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Function: Simulate Intake": {
      "main": [
        [
          {
            "node": "Function: Map Intake",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If: Calendar Hold Enabled?": {
      "main": [
        [
          {
            "node": "Function: Hold Times",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Function: Build Welcome Email": {
      "main": [
        [
          {
            "node": "Email: Send Welcome",
            "type": "main",
            "index": 0
          },
          {
            "node": "If: Telegram Enabled?",
            "type": "main",
            "index": 0
          },
          {
            "node": "If: Airtable Enabled?",
            "type": "main",
            "index": 0
          },
          {
            "node": "If: HubSpot Enabled?",
            "type": "main",
            "index": 0
          },
          {
            "node": "If: Calendar Hold Enabled?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}