- DarkLight
Configure Event Subscriptions
- DarkLight
An Event Subscription is used to subscribe to call-related events generated by the Five9 dialer system. Campaign Manager receives real time event data such as call dispositions through secure HTTP requests. The structured payload from each event supports automation of workflows, including rescheduling contacts based on specific call outcomes.
To create an event subscription, follow these steps.
Enter the subscription name in the Name field to identify your subscription.
Select HTTPS under Delivery Method.
Select POST from the HTTP Method dropdown to specify the request method used for sending events.
Enter the endpoint URL in the URL Endpoint field where the event will be delivered.
In the Event Group section, select InteractionEvent from the dropdown. This lists all the events included in InteractionEvent.
Click Configure for InteractionEvent to open configuration settings. Perform the following:
In the Fields section, select all available fields.
In the Filters section, under Campaign, select Allow All.
In the Media Vendor filter, select Allow All.
In the Media Type filter, select Allow All.
Click Save to apply the InteractionEvent configuration.
Select Dispositioned in the InteractionEvent options to ensure agent-entered dispositions are sent.
Click Configure next to Dispositioned to open its settings. Perform the following:
In the Fields section, select all available fields.
In the Filters section, under Agent who set disposition, select Allow All.
In the Disposition filter, select Allow All.
Click Save to apply the Dispositioned configuration.
Go to the Auth Profiles tab to apply an existing authorization profile. To create a new Auth Profile, see Create Authorization Profiles.
In the Auth Profiles section, select the appropriate profile and click Add.
Click Done to finalize the event subscription setup.
Select and start the created subscription to activate it
Create Authorization Profiles
Go to Authorization Profiles to create credentials used for secure event delivery.
Select Create from the Authorization Profiles page to start configuring a new profile.
Select OAuth2 from the Type of Profile list to specify the type of authentication to be used.
Enter a unique Name for this profile to easily identify it later.
From the OAuth2-Flow list, select Client Credentials Grant to use the client credentials flow for machine-to-machine authentication.
Enter the Auth URL address, which is the endpoint used to obtain the access token.
Enter the Client ID, which identifies the client application to the authorization server.
Enter the Client Secret, which is used along with the Client ID to authenticate the client.
Select HTTP Authorization Header in the Credentials Location to specify how the credentials is passed in the request.
Select Save to store the authorization profile configuration.
Select Test Profile to validate that the profile format and input values meet required standards.
Note:
This test does not validate actual connectivity or credentials with the external system. It only confirms format correctness.