This workflow is built from 42 nodes. Here's what each one does:
| # | Node | Type | What it does |
|---|---|---|---|
| 1 | Lead Webhook | Webhook | Entry point — receives incoming HTTP requests that trigger the workflow. |
| 2 | CONFIG — Lead Engine | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 3 | Normalize Lead | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 4 | CONFIG — Google Sheets | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 5 | Read Leads Sheet | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 6 | Check Dedup | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 7 | IF — Duplicate Lead? | IF | Splits the flow into branches based on a condition. |
| 8 | Update Lead — Status TOUCHED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 9 | Log Journey — Returning Lead | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 10 | Log New Lead — Status NEW | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 11 | CONFIG — AI Scoring | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 12 | AI Agent — Score Lead | AI Agent | The AI brain — reasons over the task and calls tools to get it done. |
| 13 | OpenAI Chat Model — Scoring | OpenAI Chat Model | The language model powering the AI agent. |
| 14 | Structured Output Parser — Lead Score | Structured Output Parser | Forces the AI to return clean, structured JSON instead of free text. |
| 15 | Update Sheet — Status SCORED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 16 | IF — Hot Lead | IF | Splits the flow into branches based on a condition. |
| 17 | Assign Rep — Round-Robin (Hot) | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 18 | Update Sheet — Status ASSIGNED (Hot) | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 19 | Send WhatsApp — Hot Lead | HTTP Request | Calls an external API or webhook endpoint. |
| 20 | Update Sheet — Status CONTACTED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 21 | Log Journey — Hot Assigned | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 22 | IF — Warm Lead | IF | Splits the flow into branches based on a condition. |
| 23 | Assign Rep — Round-Robin (Warm) | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 24 | Update Sheet — Status ASSIGNED (Warm) | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 25 | Log Journey — Warm Assigned | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 26 | Update Sheet — Status NURTURE | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 27 | Merge — Lead Branches | Merge | Combines the outputs of two or more branches back into one flow. |
| 28 | Build Lead Alert | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 29 | CONFIG — Notifications | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 30 | Telegram — Send Lead Alert | Telegram | Sends you a Telegram message or alert. |
| 31 | Daily 8AM Attribution Trigger | Schedule Trigger | Starts the workflow automatically on a schedule. |
| 32 | CONFIG — Attribution | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 33 | Fetch Meta Insights | HTTP Request | Calls an external API or webhook endpoint. |
| 34 | Fetch TikTok Insights | HTTP Request | Calls an external API or webhook endpoint. |
| 35 | Fetch LinkedIn Insights | HTTP Request | Calls an external API or webhook endpoint. |
| 36 | Fetch YouTube Analytics | HTTP Request | Calls an external API or webhook endpoint. |
| 37 | Read Leads Sheet — Attribution | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 38 | Compute Attribution Metrics | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 39 | Log Attribution Snapshot | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 40 | IF — CPL Over Cap | IF | Splits the flow into branches based on a condition. |
| 41 | Build CPL Alert | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 42 | Telegram — CPL Alert | Telegram | Sends you a Telegram message or alert. |