SendWebhook

Defines an automation action that sends a webhook request.

Attributes:

  • action_type (Literal): The kind of action to be triggered.
  • request_payload (Optional): The payload, possibly with template variables, to send in the webhook request.

method from_integration

from_integration(cls, integration: 'WebhookIntegration', *, payload: 'Optional[SerializedToJson[dict[str, Any]]]' = None) -> 'Self'

Define a webhook action that sends to the given (webhook) integration.