--- title: "Trigger node" slug: "automations-trigger-node" updated: 2026-11-13T11:40:36Z published: 2026-11-13T11:40:36Z canonical: "docs.voiso.com/automations-trigger-node" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.voiso.com/llms.txt > Use this file to discover all available pages before exploring further. # Trigger node **Who should read this article**: Administrators The Trigger node is the first node of every Automation. It sets the event that starts the Automation and the traffic it covers. ## Introduction Every Automation has exactly one Trigger node. It is added automatically when you create an Automation. The event you select in the Trigger node decides which variables you can use in the rest of the Automation, in the **Conditions** node and in the SMS message text. Use your own lead data With the **Dialer call ended** trigger, every field you map from your dialer leads on the [Interaction context mapping](/docs/interaction-context-mapping) page becomes a variable too. Send *"Hi {{context_first_name}}, here is your code: {{context_promo_code}}"*, or send a message only to `Gold` customers. Refer to [Your lead fields](/docs/automations-trigger-node#your-lead-fields-dialer-call-ended). ### Connections The Trigger node has no input connection and one output connection, **Next step**. ## Configuring the Trigger node Click the Trigger node to open its settings. ### Event Select the event that starts the Automation. Each event shows its category in grey on the right: Inbound call, Outbound call, Dialer call, Speech Analytics, or Digital. | Event | When it fires | | --- | --- | | **Inbound call answered** | An agent answers an inbound call, from a queue or routed straight to them. It fires once per call, for the first agent who answers. | | **Inbound call ended** | An inbound call ends. If an agent took the call, it fires after the agent's wrap-up. If nobody took it, for example a missed or abandoned call, it fires as soon as the call ends. | | **Outbound call ended** | An outbound call ends: a manual call, a click-to-call call, a queue callback, or an agent callback. If the call was answered, it fires after the agent's wrap-up. If not, it fires as soon as the call ends. | | **Dialer call ended** | A call from a dialer campaign ends. | | **Call Speech Analytics available** | Speech Analytics results for a call are ready. This covers inbound, outbound, and dialer calls, including calls handled by a Voiso AI agent. | | **Conversation ended** | A digital conversation ends. | Each "ended" event fires **once per call**, even when the call was transferred between agents. ### Campaigns (Dialer call ended) Select one or more campaigns. The Automation runs only for calls from these campaigns. - Only campaigns that can still make calls are listed, with their status next to the name. *Completed*, *Stopped*, and *Error* campaigns will not make more calls, so they are not shown. - **Select all** selects the campaigns that exist today. It does not add campaigns you create later. ### Auto-include all newly created campaigns (Dialer call ended) Select this option to make the Automation also cover every campaign you create after you save it. It works together with the campaigns you selected above, whether you selected specific campaigns or **Select all**. If this option is not selected and all your selected campaigns become *Completed*, *Stopped*, or *Error*, the Automation can no longer run. A red error icon appears next to it in the Workflows list, and the Trigger node shows a notice. Click **Remove them** in the notice to remove the campaigns that have ended, then select a campaign that can still make calls. ### Channels (Conversation ended) Select one or more channel types: Webchat, WhatsApp, Telegram, Facebook, Instagram, or Viber. The Automation runs for conversations on all your channels of the selected types. Note Only WhatsApp conversations include the customer's phone number. For the other channel types, a Send message node can only send to a number you type in **To**. Refer to [Creating an Automation](/docs/creating-an-automation). ### Scope (inbound, outbound, and Speech Analytics triggers) **Inbound call answered**, **Inbound call ended**, **Outbound call ended**, and **Call Speech Analytics available** run on every call of their type in your contact center. The **Scope** field shows what the Automation covers: | Event | Scope | | --- | --- | | **Inbound call answered** | Runs on all inbound calls an agent answers | | **Inbound call ended** | Runs on all inbound calls | | **Outbound call ended** | Runs on all outbound calls | | **Call Speech Analytics available** | Runs on all calls with Speech Analytics results | To run the Automation on only some of these calls, add a **Conditions** node after the Trigger node. For example: - Only calls to one of your numbers: `dnis` **equals** your number. - Only click-to-call calls: `type` **equals** `click_to_call`. - Only analysed dialer calls: `call_type` **equals** `dialer`. - Only calls from one queue: `queue` **equals** your queue. ## Variables Use these variables in **Conditions** rules and in SMS message text. In message text, a variable is written in double curly brackets, for example `{{campaign.name}}`. ### Dialer call ended | Variable | Description | Example | | --- | --- | --- | | `uuid` | The ID of the call. | `07771c38-c159-4965-a878-be0162118b2b` | | `started_at` | When the call started. | `2026-08-21T14:32:05Z` | | `ended_at` | When the call ended. | `2026-08-21T14:35:40Z` | | `call_date` | The date of the call, in your contact center's time zone. | `Monday, 21 August 2026` | | `call_time` | The time of the call, in your contact center's time zone. | `14:32` | | `timezone` | Your contact center's time zone. | `Europe/Bucharest` | | `ani` | The number the call came from. | `447520641491` | | `dnis` | The number that was dialled. | `97155674300` | | `disposition` | How the call ended: `answered`, `no_answer`, `busy`, `failed`, `machine_answered`, `dialer_abandoned`. | `no_answer` | | `end_reason` | Why the call ended. | | | `wrapup_code.id`, `wrapup_code.code`, `wrapup_code.name` | The wrap-up code set on the call. | `Sale` | | `campaign.id`, `campaign.name` | The campaign the call belongs to. | `Spring promo` | | `user.id`, `user.name`, `user.email` | The agent who handled the call. | `Andrew S.` | | `redial_scheduled` | Whether the dialer will call the number again: `true` or `false`. | `false` | | `redial_scheduled_at` | When the dialer will call again. | | | `attempt` | Which attempt this call was. | `2` | | `max_attempts` | The maximum number of dial attempts set for the campaign. | `3` | | `duration_overall`, `duration_talk`, `duration_hold`, `duration_dialing` | How long each part of the call lasted, in seconds. | `95` | | `campaign_lead_id` | The ID of the lead in the campaign. | `48213` | | `lead_source` | The system the lead came from, as sent in the lead's `source.system` field in the API. | `hubspot` | | `handled_by_ai_agent`, `transferred`, `last_transfer_destination_type` | Whether an AI agent handled the call and whether it was transferred. Refer to [Call handling variables](/docs/automations-trigger-node#call-handling-variables). | `true` | ### Your lead fields (Dialer call ended) On top of the variables above, the **Dialer call ended** trigger gives you the data from your own leads: a first name, a plan, a promo code, a customer tier, or any other column you send. Every field you map from your dialer leads on the [Interaction context mapping](/docs/interaction-context-mapping) page becomes a variable. On each call, it takes its value from the lead that was called. Use lead fields like any other variable: - **In the SMS text**, to personalise the message: `Hi {{context_first_name}}, sorry we missed you. Your {{context_plan}} offer is waiting: {{context_offer_link}}` - **In Conditions rules**, to send a message only to some leads: `context_tier` **equals** `Gold`. To use a lead field in an Automation: 1. Add the field to your leads, as a column in the campaign's CSV file or as a field in the Calling List API. Refer to [Part 2: Dialer campaigns](/docs/outbound-dialer-campaign-dialer-campaigns). 2. Navigate to **Administration > Interaction context mapping** and add a mapping field. Under **Metadata source**, select **Dialer campaign lead list** and enter the field name exactly as it is in your file or API. Refer to [Interaction context mapping](/docs/interaction-context-mapping). 3. Open your Automation. The field is now in the variable list, under its **Auto-generated context key**. For example, a field with the label *First name* becomes `context_first_name`. The variable is available whatever you select under **Show in** on the mapping page. ### Inbound call answered | Variable | Description | Example | | --- | --- | --- | | `uuid` | The ID of the call. | `07771c38-c159-4965-a878-be0162118b2b` | | `started_at` | When the call started. | `2026-08-21T14:32:05Z` | | `call_date`, `call_time`, `timezone` | The date and time of the call, in your contact center's time zone. | `Monday, 21 August 2026` | | `ani` | The customer's number, the number the call came from. | `447520641491` | | `dnis` | Your number that the customer called. | `442080000000` | | `queue.id`, `queue.name` | The queue the call came through. Empty when the call went straight to an agent. | `Support` | | `user.id`, `user.name`, `user.email` | The agent who answered the call. | `Andrew S.` | ### Inbound call ended All the variables of **Inbound call answered**, plus: | Variable | Description | Example | | --- | --- | --- | | `ended_at` | When the call ended. | `2026-08-21T14:35:40Z` | | `disposition` | How the call ended: `answered`, `answered_by_vm`, `missed`, `rejected`, `abandoned`, `system_abandoned`, `system_reject`, `failed`. | `missed` | | `end_reason` | Why the call ended. | | | `wrapup_code.id`, `wrapup_code.code`, `wrapup_code.name` | The wrap-up code set on the call. | `Complaint` | | `duration_overall`, `duration_talk`, `duration_hold` | How long each part of the call lasted, in seconds. | `95` | | `handled_by_ai_agent`, `transferred`, `last_transfer_destination_type` | Whether an AI agent handled the call and whether it was transferred. Refer to [Call handling variables](/docs/automations-trigger-node#call-handling-variables). | `false` | On **Inbound call ended**, `user` is the agent who handled the call. ### Outbound call ended | Variable | Description | Example | | --- | --- | --- | | `type` | The kind of outbound call: `outbound` (a call the agent dialled), `click_to_call`, `queue-callback` (an in-queue callback), `api-queue-callback` (an API queue callback), `scheduled-callback` (an agent callback). | `click_to_call` | | `uuid` | The ID of the call. | `07771c38-c159-4965-a878-be0162118b2b` | | `started_at`, `ended_at` | When the call started and ended. | `2026-08-21T14:32:05Z` | | `call_date`, `call_time`, `timezone` | The date and time of the call, in your contact center's time zone. | `Monday, 21 August 2026` | | `ani` | The number shown to the customer (your caller ID). | `442080000000` | | `dnis` | The customer's number, the number that was dialled. | `447520641491` | | `disposition` | How the call ended: `answered`, `busy`, `no_answer`, `rejected`, `failed`, `system_reject`, `machine_answered`. | `no_answer` | | `end_reason` | Why the call ended. | | | `wrapup_code.id`, `wrapup_code.code`, `wrapup_code.name` | The wrap-up code set on the call. | `Sale` | | `user.id`, `user.name`, `user.email` | The agent who made the call. | `Andrew S.` | | `duration_overall`, `duration_talk`, `duration_hold`, `duration_dialing` | How long each part of the call lasted, in seconds. | `95` | | `handled_by_ai_agent`, `transferred`, `last_transfer_destination_type` | Whether an AI agent handled the call and whether it was transferred. Refer to [Call handling variables](/docs/automations-trigger-node#call-handling-variables). | `false` | ### Call Speech Analytics available | Variable | Description | Example | | --- | --- | --- | | `uuid` | The ID of the analysed call. | `07771c38-c159-4965-a878-be0162118b2b` | | `score` | The call's Speech Analytics score. | `62` | | `summary` | The call's Speech Analytics summary. | `The customer asked to cancel…` | | `call_type` | The type of the analysed call: `inbound`, `outbound`, or `dialer`. Click-to-call calls and callbacks are `outbound`. | `inbound` | | `ani` | For an inbound call, the customer's number. For an outbound or dialer call, the number shown to the customer. | `447520641491` | | `dnis` | For an inbound call, your number that the customer called. For an outbound or dialer call, the customer's number. | `442080000000` | | `user.id`, `user.name`, `user.email` | The agent on the analysed call. | `Andrew S.` | ### Call handling variables **Dialer call ended**, **Inbound call ended**, and **Outbound call ended** tell you who handled the call and where it went: | Variable | Description | | --- | --- | | `handled_by_ai_agent` | `true` when a Voiso AI agent answered the call, before any transfer. Otherwise `false`. | | `transferred` | `true` when the call was transferred at least once. Otherwise `false`. | | `last_transfer_destination_type` | Where the last transfer went: `agent`, `queue`, or `external_number`. Empty when the call was not transferred. | A handoff from a Voiso AI agent to a human agent counts as a transfer. A handoff to a SIP URI counts as a transfer to `external_number`. When the inbound workflow routes a call to a queue or an agent, this is not a transfer. These are the same transfers that call webhooks list. Refer to [Webhooks](/docs/webhooks). For example, to follow up on every call your AI agent handed to a person: `handled_by_ai_agent` **equals** `true` and `transferred` **equals** `true`. ### Conversation ended | Variable | Description | Example | | --- | --- | --- | | `uuid` | The ID of the conversation. | | | `started_at`, `ended_at` | When the conversation started and ended. | | | `call_date`, `call_time`, `timezone` | The date and time, in your contact center's time zone. | `Monday, 21 August 2026` | | `disposition` | How the conversation ended. | | | `source` | Where the conversation came from. | | | `cost` | What the conversation cost. | | | `wrapup_code.id`, `wrapup_code.code`, `wrapup_code.name` | The wrap-up code set on the conversation. | | | `queue.id`, `queue.name` | The queue the conversation went through. | | | `channel` | The channel type: `whatsapp`, `chat` (Webchat), `telegram`, `viber`, `facebook`, `instagram`. | `whatsapp` | | `channel_profile.id`, `.identifier`, `.name` | Your Voiso channel that the conversation came in on. | | | `contact_channel_account.id`, `.identifier`, `.name` | The customer's account on that channel. | | | `user.id`, `user.name`, `user.email` | The agent who handled the conversation. | | | `sla_first_response`, `sla_avg_reply`, `sla_resolution` | Time to first response, average time to reply, and time to resolution. | | | `duration_overall`, `duration_talk`, `duration_queue` | How long each part lasted, in seconds. | | ## Related articles - [Automations overview](/docs/automations-overview) - [Creating an Automation](/docs/creating-an-automation) - [Interaction context mapping](/docs/interaction-context-mapping) - [Variable management](/docs/flow-builder-variable-management) - [Webhooks](/docs/webhooks)