Campaigns
Outbound campaign calls.
Outbound campaign calls. How to add a tool and use its result is described in Tools & smart functions.
Get campaign call metadata
get_campaign_call_metadata
Returns the metadata of the campaign call to this phone number, together with its status_callback_url.
cs, sk, pl, de, hr, en, ro, ru, pt
Update campaign call result
update_campaign_call_result
Update a campaign call’s status and metadata via its callback URL
cs, sk, pl, de, hr, en, ro, ru, pt
How to use them in a campaign flow is described in Campaign smart functions.
Get campaign call metadata
Technical name: get_campaign_call_metadata
Returns the metadata of the campaign call to this phone number, together with its status_callback_url.
Languages: cs, sk, pl, de, hr, en, ro, ru, pt.
Phone number
phone_number
yes
A valid phone number, for example as found by the phone number extractor.
Number of days for user callback
days
no
2
Number of days user can call back after campaign is finished
Example input: +420774072329
Example output:
{"metadata": {…}, "status_callback_url": "https://…"}Update campaign call result
Technical name: update_campaign_call_result
Update a campaign call’s status and metadata via its callback URL
Languages: cs, sk, pl, de, hr, en, ro, ru, pt.
Status
status
yes
Final status of the call
Call metadata
metaData
no
Additional metadata to attach to the call record
Custom retry delay (min)
custom_retry_delay
no
Override minutes until next campaign retry for this call
Example input: This function does not use the user input utterance.
Example output:
Last updated
Was this helpful?