Channel inbound
A Channel inbound trigger starts the workflow when a call or message arrives on a channel: a phone call, web chat, WhatsApp, RCS, web voice or your app. It records which channel and language the contact came in on, and whether it arrived inside your business hours, so the steps after it can act on that.
When to use it
Section titled “When to use it”- A patient calls the hospital line and an agent should book or move an appointment.
- A customer messages your WhatsApp number about an order and you want the same workflow every time.
- You want out-of-hours contacts to go down a different path, such as a callback request.
When not to use it
Section titled “When not to use it”- A business system (a CRM, a loan system, a website form) should start the run. Use API / webhook.
- Something happened in a system, such as a payment failing. Use Business event.
- The run should start at set times, such as daily reminders. Use Schedule.
- An agent should start the workflow in the middle of a conversation. Use Started by an agent.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Channel | Required. The channel that starts the workflow: voice, web chat, WhatsApp, RCS, web voice or app. Default: voice. |
| Number or entry point | The phone number, WhatsApp sender or chat widget id. Leave it empty to bind it when you deploy the workflow. |
| Language | A language tag such as en-IN or hi-IN. Empty uses the agent’s own language. |
| Business hours | Opening hours such as Mon-Fri 09:00-18:00; Sat 10:00-14:00, in the workflow’s time zone. When set, the run gets trigger.withinHours. |
The first agent after this trigger must suit the channel. A voice or web voice trigger needs an agent that takes calls; the other channels need an agent that takes messages. Validation tells you when they don’t match.
What it produces
Section titled “What it produces”| Value | What it holds |
|---|---|
trigger.type |
trigger.channel |
trigger.channel |
The channel you chose. |
trigger.language |
The language you set, or empty. |
trigger.withinHours |
true when the contact arrived inside the business hours, false when not. Always true when no hours are set. |
The language also becomes the conversation’s starting language, as long as it is one of the workflow’s languages (or the workflow has no language list). See Data between steps for how to use these values.
Example
Section titled “Example”A hospital takes appointment calls from 08:00 to 20:00. Out of hours, callers get a WhatsApp link to book online.
Channel inbound (voice, Mon-Sat 08:00-20:00) → Condition (trigger.withinHours) true → Conversational agent (appointments) → End false → Send message (booking link) → End