SendWebhook

Defines an automation action that sends a webhook request.

Attributes
request_payload The payload, possibly with template variables, to send in the webhook request.
action_type The kind of action to be triggered.

Methods

from_integration

View source

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

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