This workflow is built from 35 nodes. Here's what each one does:
| # | Node | Type | What it does |
|---|---|---|---|
| 1 | Webhook — Order Events | Webhook | Entry point — receives incoming HTTP requests that trigger the workflow. |
| 2 | CONFIG — Order Intake | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 3 | Normalize Order Event | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 4 | Respond — Order Received | Respond to Webhook | Sends the HTTP response back to whoever called the webhook. |
| 5 | CONFIG — Google Sheets | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 6 | Read Logged Events | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 7 | Check Duplicate Event | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 8 | IF — Duplicate Event? | IF | Splits the flow into branches based on a condition. |
| 9 | Build Duplicate Notice | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 10 | Log Event — Status NEW | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 11 | Switch — Route by Event Type | Switch | Routes items to one of several outputs based on rules. |
| 12 | CONFIG — Restaurant & Dispatch | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 13 | HTTP — Notify Restaurant | HTTP Request | Calls an external API or webhook endpoint. |
| 14 | Update Sheet — Status CONFIRMED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 15 | HTTP — Dispatch to Drivers | HTTP Request | Calls an external API or webhook endpoint. |
| 16 | Update Sheet — Status DISPATCHED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 17 | AI Agent — Draft Customer Update | AI Agent | The AI brain — reasons over the task and calls tools to get it done. |
| 18 | OpenAI Chat Model — Customer Updates | OpenAI Chat Model | The language model powering the AI agent. |
| 19 | Structured Output Parser — Customer Message | Structured Output Parser | Forces the AI to return clean, structured JSON instead of free text. |
| 20 | HTTP — Send Customer Update | HTTP Request | Calls an external API or webhook endpoint. |
| 21 | Update Sheet — Status OUT_FOR_DELIVERY | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 22 | Update Sheet — Status DELIVERED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 23 | Update Sheet — Status PAYMENT_FAILED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 24 | HTTP — Hold Prep at Restaurant | HTTP Request | Calls an external API or webhook endpoint. |
| 25 | Build Retry Payment Message | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 26 | HTTP — Send Retry Payment Message | HTTP Request | Calls an external API or webhook endpoint. |
| 27 | Update Sheet — Status CANCELLED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 28 | HTTP — Release Driver | HTTP Request | Calls an external API or webhook endpoint. |
| 29 | HTTP — Notify Restaurant — Cancelled | HTTP Request | Calls an external API or webhook endpoint. |
| 30 | HTTP — Notify Customer — Cancelled | HTTP Request | Calls an external API or webhook endpoint. |
| 31 | Build Unknown Event Note | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 32 | Merge — Combine Branches | Merge | Combines the outputs of two or more branches back into one flow. |
| 33 | Build Order Summary | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 34 | CONFIG — Notifications | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 35 | Telegram — Send Order Update | Telegram | Sends you a Telegram message or alert. |