This workflow is built from 39 nodes. Here's what each one does:
| # | Node | Type | What it does |
|---|---|---|---|
| 1 | New WhatsApp Message | WhatsApp Trigger | Starts the workflow when a WhatsApp message arrives. |
| 2 | CONFIG — Business | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 3 | Log Message — RECEIVED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 4 | AI Agent — Understand Booking Intent | AI Agent | The AI brain — reasons over the task and calls tools to get it done. |
| 5 | OpenAI Chat Model — Intent | OpenAI Chat Model | The language model powering the AI agent. |
| 6 | Structured Output Parser — Intent | Structured Output Parser | Forces the AI to return clean, structured JSON instead of free text. |
| 7 | Switch — Route by Intent | Switch | Routes items to one of several outputs based on rules. |
| 8 | Code — Build Availability Window | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 9 | Calendar — Check Availability | Google Calendar | Creates or reads events in Google Calendar. |
| 10 | Code — Check Slot & Find Alternatives | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 11 | IF — Slot Free? | IF | Splits the flow into branches based on a condition. |
| 12 | Calendar — Create Event | Google Calendar | Creates or reads events in Google Calendar. |
| 13 | Update Sheet — BOOKED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 14 | WhatsApp — Send Confirmation | Sends WhatsApp messages through the Meta Cloud API. | |
| 15 | WhatsApp — Suggest Alternatives | Sends WhatsApp messages through the Meta Cloud API. | |
| 16 | Update Sheet — PENDING_SLOT | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 17 | Calendar — Find Upcoming Events | Google Calendar | Creates or reads events in Google Calendar. |
| 18 | Code — Match Event to Cancel | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 19 | IF — Event Found? | IF | Splits the flow into branches based on a condition. |
| 20 | Calendar — Delete Event | Google Calendar | Creates or reads events in Google Calendar. |
| 21 | Update Sheet — CANCELLED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 22 | WhatsApp — Confirm Cancellation | Sends WhatsApp messages through the Meta Cloud API. | |
| 23 | WhatsApp — Ask to Clarify Cancel | Sends WhatsApp messages through the Meta Cloud API. | |
| 24 | WhatsApp — Ask for New Time | Sends WhatsApp messages through the Meta Cloud API. | |
| 25 | Update Sheet — RESCHEDULE_REQUESTED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 26 | WhatsApp — Fallback Reply | Sends WhatsApp messages through the Meta Cloud API. | |
| 27 | Update Sheet — HANDLED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 28 | Merge — Booking Branches | Merge | Combines the outputs of two or more branches back into one flow. |
| 29 | Code — Build Booking Summary | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 30 | CONFIG — Notifications | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 31 | Telegram — Booking Activity Digest | Telegram | Sends you a Telegram message or alert. |
| 32 | Weekly Recall — Mondays 10AM | Schedule Trigger | Starts the workflow automatically on a schedule. |
| 33 | CONFIG — Recall | Set | Holds editable configuration values — fill in your own settings here before activating. |
| 34 | Read Customers | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 35 | Code — Filter Inactive 60+ Days | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 36 | WhatsApp — Send Re-engagement | Sends WhatsApp messages through the Meta Cloud API. | |
| 37 | Update Sheet — RECALLED | Google Sheets | Reads from or writes to a Google Sheet — this workflow's log and state store. |
| 38 | Code — Build Recall Digest | Code | Runs custom JavaScript to transform, filter, or compute data between steps. |
| 39 | Telegram — Send Recall Digest | Telegram | Sends you a Telegram message or alert. |