Vapi Integration (Processing Events)
The Vapi integration supports two events:
- call_ended: This event is triggered whenever a user or an Agent hangs up the phone.
- call_aborted: This event is triggered whenever a phone call cannot be started or is finished unexpectedly.
You can subscribe to these events to allow your Agent to process these situations according to its flow.
- Navigate to your agent's Flow.
- Click the plus icon next to the Event Subscription section on the left-side panel.
- Under the "Event Idn," select "call_ended" or "call_aborted" from the dropdown.
- Under "Integration," select "vapi" from the dropdown.
- Under "Connector," select “vapi_[phone number]” from the dropdown or whatever you named your Vapi connector.
- Under "Skill selector," select "skill_idn" from the dropdown. You are telling your flow to select a specific skill to activate when the event is triggered.
- In this case, you want to activate the skill your agent will use when the call is ended or aborted. Select it from the "Skill name" dropdown.
- Add an "Event description." This field is optional but will help in the future when identifying the purpose of an event from a complex flow containing multiple event subscriptions.
- Click Create to save the event.
Updated 6 months ago