Skip to main content

class SendWebhook

Defines an automation action that sends a webhook request.

method SendWebhook.__init__

Args:
  • integration_id (str): The ID of the webhook integration that will be used to send the request.
  • request_payload (Optional[Annotated]): The payload, possibly with template variables, to send in the webhook request.
  • action_type (Literal[GENERIC_WEBHOOK]):
Returns: An SendWebhook object.

classmethod SendWebhook.from_integration

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