mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-04 10:52:17 +02:00
chore: add campaign id in render context for webhook
This commit is contained in:
parent
7f0dac1ad5
commit
7249a9f8ed
3 changed files with 9 additions and 0 deletions
|
|
@ -26,12 +26,16 @@ The payload can contain a valid JSON, and you can reference variables while cons
|
|||
- `{{workflow_run_id}}` Unique ID of the Agent run
|
||||
- `{{workflow_id}}` ID of the Agent
|
||||
- `{{workflow_name}}` Name of the workflow
|
||||
- `{{campaign_id}}` ID of the campaign this run belongs to (empty for ad-hoc runs)
|
||||
- `{{call_time}}` ISO-8601 UTC timestamp of when the call was initiated
|
||||
- `{{initial_context.*}}` [Initial context variables](/core-concepts/context-and-variables#initial_context)
|
||||
- `{{gathered_context.*}}` [Extracted variables](/core-concepts/context-and-variables#gathered_context)
|
||||
- `{{cost_info.call_duration_seconds}}` Call duration
|
||||
- `{{recording_url}}` Call recording URL
|
||||
- `{{transcript_url}}` Transcript URL
|
||||
|
||||
For the full list of available variables, authentication options, and receiver examples, see the [Webhook Payloads developer reference](/developer/webhooks).
|
||||
|
||||
An example of the payload is given below
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue