Events are all conversation and workflows executed through the agent.
These can be individual sessions between either agent and user or actions performed by the agent (like sending a text message or email, or API request). Events can be triggered fully separate from one another.
For WhatsApp agents, we currently offer three event types:
Use this event within your agent if you want your users to be able to start the conversation with the agent. This is helpful in cases where you want your agent to be able to answer FAQ’s, book appointments, etc.
There are no node restrictions on nodes used in the flow.
Note, that you can only create one inbound event per agent.
This event can be used when you want the agent to have the first word and reach out to your users. This is helpful for reminders, informational campaigns etc. You can either integrate into your database and set up a trigger for Studio or trigger an outbound WhatsApp agent.
The API event flow will be triggered by an incoming API call. This HTTP-event-based flow can be initialized at any time completely separate from the main flow from an API call platform such as Postman.
Use Case Example: A customer inquires about a certain product. The customer's database receives that information and uses this event to trigger an email with discount opportunities to the customer.
To initiate this event, click on the node, copy the endpoint and all other request parameters to your API platform of choice.
You can only use action-based nodes for this event, e.g. webhooks, custom code, etc.