description: "Context variables available in webhook nodes and the data Dograh sends after a call"
---
Dograh executes **webhook nodes** asynchronously after a workflow run completes. You configure the target URL, HTTP method, headers, and payload template directly in the workflow definition.
---
## How webhooks work
1. A call completes (or a run finishes)
2. Dograh executes any `webhook` nodes in the workflow asynchronously
3. The payload template is rendered with the run's context and sent as a JSON `POST` (or your configured method) to your endpoint
4. Non-200 responses are logged but do not block or retry by default (configure `retry_config` to change this)
---
## Payload context variables
The following variables are available in your `payload_template` using double-brace syntax (e.g. `{{workflow_run_id}}`):
| Variable | Type | Description |
|---|---|---|
| `workflow_run_id` | integer | ID of the completed run |
| `workflow_run_name` | string | Name of the run |
| `workflow_id` | integer | ID of the workflow |
| `workflow_name` | string | Name of the workflow |