Actions20
- Agent Actions
- Call Actions
- Campaign Actions
- Messenger Actions
- Webhook Actions
Webhook → Update
AI-generatedOverview
This node updates an existing webhook subscription by modifying its properties such as status, retry attempts, event type, associated entity details, and the target URL for webhook notifications. It is useful for managing webhook subscriptions dynamically, for example, activating or deactivating a webhook, changing the event that triggers it, or updating the delivery URL.
Use Case Examples
- Updating the status of a webhook subscription to 'Inactive' to temporarily stop receiving notifications.
- Changing the event type of a webhook subscription to listen for a different event, such as switching from 'Agent Call Completed' to 'Agent Action Completed'.
- Modifying retry attempts and intervals to control how the system handles failed webhook deliveries.
Properties
| Name | Meaning |
|---|---|
| Webhook Subscription ID | ID of the webhook subscription to update, used to identify which webhook to modify. |
| Status | The current status of the webhook subscription, indicating whether it is active or inactive. |
| Update Fields | A collection of optional fields to update on the webhook subscription, including retry attempts, retry interval, associated entity ID and type, event type, additional specifications in JSON format, and the webhook URL. |
Output
JSON
webhookSubscriptionId- The ID of the updated webhook subscription.status- The updated status of the webhook subscription.attempts- The number of retry attempts configured for the webhook.attempts_interval_seconds- The interval in seconds between retry attempts.entity_id- The ID of the entity associated with the webhook.entity_type- The type of entity associated with the webhook.event- The event type that triggers the webhook.specifications- Additional JSON specifications for the webhook.url- The URL to which webhook notifications are sent.
Troubleshooting
- Ensure the Webhook Subscription ID is correct and exists; otherwise, the update will fail.
- Verify that the URL provided is a valid HTTPS URL to avoid validation errors.
- Check that the status value is either 'ACTIVE' or 'INACTIVE' as other values are not supported.
- If updating JSON specifications, ensure the JSON is well-formed to prevent parsing errors.