Providers and Webhooks designer
Within the Workflow Designer, you can find the activities that allow creating providers and webhooks for uContact.
The providers and webhooks flows share some activities with the bots designer, plus other exclusive extra activities for its development.
Once you select the desired start activity, the activities linked to that start activity will deploy.
ChannelProviderStartActivity
Available variables
AGENT
Agentās name, if there is an interaction.MESSAGE
TO
Number addressee.ATTACHMENTS
Objects array, each one containing an attachment.[ { "extension":"png", "path":"20210226/8b5eb91a-2799-4c30-a712-9cfbbd333f49.1584030188436.png", "url":"https://example.ucontactcloud.com/attachments/20210226/8b5eb91a-2799-4c30-a712-9cfbbd333f49.1584030188436.png", "type":"image/png" } ]
CAMPAIGN
Interactionās campaign.GUID
Interactionās GUID.SMS_GUID
Unique GUID of the message.REFERENCE_ID
ID of the message being replied to. This feature is only supported on WhatsApp.
WebhookStartActivity
Available variables
BODY
type: Obj
example:
{ "name": "John" }
HEADERS
type: Obj
example:
{
"Accept"š
"/"
],
"Cache-Control"š
"no-cache"
],
"Connection"š
"close"
],
"User-Agent"š
"PostmanRuntime/7.26.8"
]
}
They can be:
sent
,delivered
,read
,error
,invalid_session
andinvalid_number
.
QUERY_PARAMS
Parameters passed in the URL, these are key - value.
Type: Object
Example
Ā