# Nodes Reference

Every trigger and step in the automation editor, with its settings, branches and outputs

This page lists every node you can add in the automation editor. Click a node on the canvas to open its settings in the side panel. Nodes marked "no settings" show "This node has no configurable options."

## Variables

Many fields accept variables, written in double curly braces. Type `{{` in a field, or click **Insert variable**, to browse the ones available for your trigger.

- **Trigger Payload** — data from the event that started the run, such as `{{triggerPayload.body}}` (the message text), `{{triggerPayload.name}}` (the contact's name) or `{{triggerPayload.chatId}}`. Only the fields your trigger provides are listed.
- **Run Variables** — results written by earlier nodes in the same run. Refer to them by name, for example `{{sentiment}}` or `{{chatSummary}}`. Each node's outputs are listed in its section below.

**Message Received** provides these trigger fields:

| Variable | Value |
|----------|-------|
| `{{triggerPayload.body}}` | The text of the incoming message |
| `{{triggerPayload.senderId}}` | The sender's platform identity (a contact can have several, one per channel) |
| `{{triggerPayload.chatId}}` | The chat that received the message |
| `{{triggerPayload.contactId}}` | The contact who sent it |
| `{{triggerPayload.messageId}}` | The message that started the run; image and audio steps read its attachment |
| `{{triggerPayload.channelType}}` | The channel type: `WHATSAPP`, `WHATSAPP_API`, `INSTAGRAM`, `MESSENGER` or `WEB` |
| `{{triggerPayload.type}}` | The message type, for example `text` or `image` |
| `{{triggerPayload.sendAt}}` | When the message was sent (ISO 8601) |

When you pick a run variable from the list, it is inserted by its name alone — `{{sentiment}}`, `{{chatSummary}}`, `{{category}}`, `{{extracted}}`, `{{translated}}`, `{{language}}`, `{{imageDescription}}` or `{{transcript}}`.

Variables can take filters: `{{triggerPayload.name | default:'there'}}` uses "there" when the name is empty, and `upper`, `lower` and `json` change how the value is written.

## Triggers

Every automation starts with exactly one trigger. Settings on a trigger narrow which events start a run; leave them empty to react to every event of that kind.

| Trigger | Starts a run when | Settings |
|---------|-------------------|----------|
| **Message Received** | A customer sends an inbound message | **Channel** (Any channel, WhatsApp, Instagram, Messenger, Webchat — WhatsApp covers both WhatsApp channel types, Webchat matches your web chat widget), **Specific channel**, **Message types** (Text, Image, Video, Audio, Document, Sticker, Location, Contact) |
| **Chat Created** | A new conversation starts | **Started by** (Anyone, A customer's message, A webchat visitor, An agent), **Channel**, **Team** |
| **Chat Assigned** | A chat is assigned to an agent | **Assigned user** — only this user; blank for anyone |
| **Chat Taken Over** | An agent takes over a bot-handled chat | No settings |
| **Chat Returned to Bot** | An agent returns a chat to the bot | No settings |
| **Chat Closed** | A conversation is closed | **Channel**, **Team**, **Label** |
| **Chat Reopened** | A closed, pending or snoozed conversation opens again | **Reopened because** (Any reason, The customer wrote again, An agent reopened it, A snooze ended), **Channel**, **Team**, **Label** |
| **Contact Created** | A new contact is created | No settings |
| **Contact Updated** | A contact's fields change | **Fields** — only when one of Name, Email or Phone changes |
| **Contact Tagged** | A contact's tags change | **Tags added**, **Tags removed** — only when one of these tags is added or removed |
| **Broadcast Completed** | A broadcast finishes sending | **Broadcast ID** — optional, only this broadcast |
| **Integration Connected** | An integration is connected | **Provider** — optional |
| **Integration Disconnected** | An integration is disconnected | **Provider** — optional |
| **On Schedule** | At the times you set | See below |

### On Schedule

| Setting | What it does |
|---------|--------------|
| **Frequency** | **Every N minutes**, **Hourly**, **Daily**, **Weekly**, **Monthly** or **Custom (cron)** |
| **Run every N minutes** | For Every N minutes: 1–59 |
| **Minute of the hour** | For Hourly |
| **Time of day** | For Daily, Weekly and Monthly |
| **Days of week** | For Weekly |
| **Day of month** | For Monthly |
| **Cron expression** | For Custom: a standard five-field cron, for example `0 9 * * MON-FRI` for weekdays at 9am |
| **Timezone** | Defaults to your organization's timezone |

A scheduled run has no chat or contact of its own, so nodes that act on "the trigger's" chat or contact need a specific one chosen.

## Send

| Node | What it does | Settings |
|------|--------------|----------|
| **Send Message** | Sends a text message in a chat | **Channel** (From trigger, WhatsApp, Instagram, Messenger, Webchat), **Specific channel** (optional), **Recipient** (From trigger contact or Specific contact, with **Contact ID**), **Message body**, **Attachments** (file URLs), **Outside 24h-window template (WhatsApp/Instagram)** |
| **Send Template** | Sends an approved WhatsApp template | **Template ID**, **Recipient**, **Contact ID**, **Variable bindings** — the value for each template slot, for example slot `1` = `{{triggerPayload.name}}` |
| **Schedule Message** | Queues a message to send later | **Channel**, **Specific channel**, **Optional contact ID**, **Message body**, **Fire at** — a date and time, or a relative offset such as `+1h`, `+2h`, `+1d` or `+7d` |

Good to know:

- **Recipient: From trigger contact** sends in the chat that started the run. **Specific contact** sends in that contact's most recent chat.
- On WhatsApp Cloud API and Instagram, a message can only be sent within 24 hours of the customer's last message. Choose an **Outside 24h-window template** to send that template instead when the window has closed; leave it blank and the step fails.
- **Send Template** works only on WhatsApp Cloud API and Instagram chats.
- A **Fire at** time in the past makes the step fail.
- If the contact has opted out of automated messages, **Send Message** and **Send Template** send nothing; the step still succeeds and its outputs say it was skipped.

## Chat

These act on a chat. Each has **Chat source**: **From trigger** (the chat that started the run) or **Specific chat**, chosen with **Chat ID**.

| Node | What it does | Other settings |
|------|--------------|----------------|
| **Assign Chat** | Assigns the chat to a team member | **Assignment strategy**: **Specific user** (the first user in **User IDs**) or **Round robin** (takes turns through the users in **User IDs**) |
| **Take Over** | Switches the chat from the bot to your team, so the AI agent stops replying | None |
| **Return to Bot** | Switches the chat back to the bot | None |
| **Mark Read** | Marks the chat's unread messages as read | None |
| **Notify Agent** | Sends a push notification to a team member | **Target** (Assigned agent or Specific user, with **User ID**), **Title**, **Body** — both required |

The user you assign to must be a member of your organization. An assignment by automation is noted in the chat.

## Contact

These act on a contact. Each has **Contact source**: **From trigger** or **Specific contact**, chosen with **Contact ID**.

| Node | What it does | Other settings |
|------|--------------|----------------|
| **Tag Contact** | Adds one or more tags | **Tags** |
| **Untag Contact** | Removes one or more tags | **Tags** |
| **Update Contact** | Sets contact fields | **Name**, **Email**, **Phone**, **Notes** — fields left empty aren't changed |

## Broadcast

| Node | What it does | Settings |
|------|--------------|----------|
| **Send Broadcast** | Starts sending an existing broadcast | **Broadcast ID** — pick it from your broadcasts |

Create and schedule the broadcast first (see [Creating a Broadcast](/en/broadcasts/creating-broadcasts)); this node only starts it.

## Conditions

A condition checks something and continues down one of two branches: **True** / **False**, or for business hours **Within** / **Outside**.

| Node | Checks | Settings |
|------|--------|----------|
| **Message Contains** | Whether the trigger message contains your keywords | **Keywords**, **Match mode** (Match any or Match all), **Case sensitive**, **Treat as regex** |
| **Message Type Is** | The type of the trigger message | **Message types** (Text, Image, Video, Audio, Document, Sticker, Location, Contact) |
| **Channel Is** | The type of channel the chat is on | **Channels** (WhatsApp, Instagram, Messenger, Webchat). Works for every channel type; **Webchat** matches your web chat widget |
| **Contact Has Tag** | The contact's tags | **Tags**, **Match mode** (Match any or Match all) |
| **Contact Field Matches** | A field on the contact | **Field** (Name, Email, Phone), **Operator** (Equals, Contains, Matches regex, Is empty, Is not empty), **Value** |
| **Chat Handled By** | Who is handling the chat right now | **Handled by**: **Bot**, **Any agent**, or **Specific user** (with **User ID**) |
| **Within Business Hours** | Whether now is within your organization's business hours | No settings — uses your business hours setting |

**Equals** is an exact match; **Contains** ignores upper and lower case.

An older automation may still have **Internal Webchat** selected in **Channel Is**. That option no longer exists and matches nothing; choose **Webchat** instead.

## AI

AI nodes read a message, a chat or an attachment, and either branch or write a result for later nodes.

| Node | What it does | Settings | Branches / outputs |
|------|--------------|----------|--------------------|
| **Detect Sentiment** | Reads the trigger message's sentiment | No settings | Branches **Positive**, **Neutral**, **Negative**. Outputs `sentiment`, `sentimentConfidence` |
| **Detect Language** | Detects the trigger message's language | **Expected languages** — ISO codes such as `en` or `id` | One branch per expected language, plus **Other**. Outputs `language`, `languageCode`, `languageConfidence` |
| **Classify** | Sorts text into your categories | **Input** (default: the message text), **Categories** (a **Label** and optional **Description** each; click **Add category**), **Model** (Claude Haiku — faster, cheaper; or Claude Sonnet — more accurate) | One branch per category. Outputs `category`, `categoryConfidence` |
| **Summarize Chat** | Writes a summary of recent messages | **Chat source**, **Message limit** (1–500, default 50) | Outputs `chatSummary`, `summaryMessageCount` |
| **Extract Fields** | Pulls structured data out of text | **Input**, **Fields to extract** (a name, a type — string, number, boolean, array or object — and an optional description each) | Outputs `extracted`, for example `{{extracted.email}}` |
| **Translate** | Translates text | **Input** (default: the message text), **Target language** (default English) | Outputs `translated`, `targetLanguage` |
| **Describe Image** | Describes an image attachment | **Attachment source** (default: the trigger message's first attachment) | Outputs `imageDescription` |
| **Transcribe Audio** | Transcribes an audio attachment or voice note | **Attachment source** | Outputs `transcript` |

**Describe Image** and **Transcribe Audio** need image and audio understanding on your plan; without them the step fails with a message saying the feature isn't included.

## Delays

A delay pauses the run, then continues. A delay can't be longer than 30 days.

| Node | Pauses | Settings |
|------|--------|----------|
| **Wait (Fixed)** | For a set time | **Amount**, **Unit** (Seconds, Minutes, Hours, Days). Default 5 minutes |
| **Wait Until** | Until a date and time | **Target** — a date and time, at most 30 days ahead. If the time has already passed when the run reaches this step, it continues immediately |
| **Wait Until Business Hours** | Until your business hours next open; continues at once if already within hours | No settings |

## Waits

A wait pauses the run until something happens, or until its timeout passes, and continues down the matching branch.

| Node | Waits for | Settings | Branches |
|------|-----------|----------|----------|
| **Wait For Reply** | The customer to reply in the chat | **Chat source**, **Timeout amount**, **Timeout unit** (default 30 minutes) | **Reply** / **Timeout** |
| **Wait For Event** | A specific event | **Event type** (for example Message received, Contact tagged, Chat closed), **Match criteria (JSON)** — field and value pairs the event must match exactly (click **Add condition**), **Timeout amount**, **Timeout unit** | **Resumed** / **Timeout** |

A run that is waiting shows **Waiting** in its run history, with the time left until the timeout.

## Integrations

The **Integrations** category lists the actions of the integrations your organization has connected — for example adding a row to a Google Sheet. Each action has a **Connection** to choose and its own fields, which can use variables. If a connection is removed later, the step shows "Connection no longer available"; reconnect the integration to enable it again. See [Integrations](/en/integrations/overview).

## End

| Node | What it does |
|------|--------------|
| **End** | Stops this branch of the automation. No settings |

A branch with nothing after it also ends there; **End** just makes it explicit.

## Next steps

- [Building Workflows](/en/automations/building-workflows) — Put nodes together on the canvas
- [Runs and Versions](/en/automations/runs-and-versions) — Test, publish and follow your automation's runs
- [Automation Examples](/en/automations/examples) — Ready-made recipes
