Configure the Action
- Open Assistant and edit a rule.
- Add the Call webhook action.
- Enter a publicly reachable HTTP or HTTPS endpoint.
- Save the rule.
Request Contract
- Method:
POST - Content-Type:
application/json - Authentication header:
X-Webhook-Secret - Success response: Any
2xxstatus - Timeout: 1 second
2xx response is logged but does not stop the remaining rule actions. Webhook calls are not retried, so the endpoint should acknowledge quickly and queue longer work asynchronously.
Payload
threadId and messageId are provider-specific Gmail or Outlook identifiers. createdAt is an ISO 8601 timestamp. ruleId can be null if the original rule no longer exists.
Webhook Secret
Open Settings, find the Developer section, and generate a Webhook Secret. The secret is shown only when generated, so copy it before closing the dialog. Regenerating it immediately changes the value sent with future requests. Every request includes theX-Webhook-Secret header. Your endpoint should compare the header to the stored secret before processing the payload.