Tip |
---|
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.Code Block language json [ { "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.
Tip |
---|
To create a personalized provider, we usually use the activity ExecWebService. |
WebhookStartActivity
Available variables
BODY
type: Obj
example:
Code Block |
---|
{ "name": "John" } |
HEADERS
type: Obj
example:
Code Block |
---|
{ "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.
Info |
---|
https://(Instancia).ucontactcloud.com/IntegraChannels/resources/webhook/Example?Phone=123123&Name=John |
Type: Object
Example
Code Block |
---|
{ "Phone":"123123", "Name":"John" } |