customer-engagement
conversations
conversation-forms
Create trigger
The create trigger method creates a new trigger at the first order position in the existing setup. Triggers are used to assign proper form to a conversation, based on an expression. Every expression can be constructed with at least one or more available operators. The result of the expression will be a success (TRUE) only if all results of operations are TRUE. Order of triggers is essential in the form assignment process, as triggers are match the provided order. First trigger matching the conversation will be used. <a href="https://www.infobip.com/docs/conversations/supervisor-guide" target="_blank">More info</a>
post/ccaas/2/conversation-forms/triggers
Request
- Base URLhttps://api.infobip.com (the document declares no server; this is the origin it was published from)
- Auth
- OAuth 2Client credentialsToken URL: https://api.infobip.com/auth/1/oauth2/token
- or API key in header Authorization
- or API key in header Authorization
- or HTTP basic
Request body
Example request
{
"title": "AJ Queue",
"expression": {
"$neq": {
"queue": "AJ Queue"
}
},
"isEnabled": true,
"formId": "75f57446-1d65-478a-87ed-22d17dc3d077"
}Response
OK
Example response
{
"id": "b3695d3c-6415-4bdd-82fc-07f9309933ec",
"title": "AJ Queue",
"expression": {
"$neq": {
"queue": "AJ Queue"
}
},
"orderIndex": 0,
"isEnabled": true,
"formId": "75f57446-1d65-478a-87ed-22d17dc3d077",
"timesTriggered": 0
}Changes
No recorded changes to this operation across all 1 revision of this API.