Triggers
Last updated
Last updated
A trigger is an event that starts a flow. A trigger can either be an event that occurs within MessageBird or an event that occurs within an external connector.
There are seven types of trigger:
Agent
Run a flow when an agent's availability changes.
Connector
Run a flow when an event happens in an installed connector.
Contact
Run a flow when a contact profile is created, updated, or deleted.
Conversation
Run a flow when an Inbox conversation is created or updated
Feed item
Run a flow when an Inbox conversation is created, assigned, archived, or closed.
Message lifecycle
Scan, filter, and configure message payloads for better deliverability rates and for content redaction.
Webhook
Run a flow using a webhook when data is pushed to MessageBird.
Voice
Run a flow when a Voice event happens.
On the side panel, click Flows.
In the top right-hand corner, click the New flow button.
Select one of the seven trigger types.
Depending on the trigger you choose, you may need to select a channel instance or a connector to use with the trigger.
Select one of the trigger events. This is the specific event that will cause your flow to run.
Click Save.
Perform the event that will cause your flow to run, then click Update test data. MessageBird will attempt to find a recent event from your trigger to use in the flow.
For example, if you set up your trigger to run when a new message is sent to your business' WhatsApp number, send a message to that number, then click Update test data.
The information from the message you sent to your business WhatsApp number will be pulled in and displayed in the test window.
The data from your test can be used in actions later on in the setup of your flow.
You can also choose to Skip test.
Once you've set up your trigger, continue to build your flow by adding actions.