WhatsApp

Available WhatsApp triggers for automating workflows

WhatsApp provides 1 trigger for automating workflows based on events.

Triggers

WhatsApp Webhook

Trigger workflow from WhatsApp incoming messages and message status webhooks

Configuration

ParameterTypeRequiredDescription
verificationTokenstringYesEnter any secure token here. You
appSecretstringYesRequired for WhatsApp POST signature verification. Sim uses it to validate the X-Hub-Signature-256 header on every webhook delivery.

Output

ParameterTypeDescription
eventTypestringWebhook classification such as incoming_message, message_status, or mixed
messageIdstringFirst WhatsApp message identifier (wamid) found in the webhook batch
fromstringSender phone number from the first incoming message in the batch
recipientIdstringRecipient phone number from the first status update in the batch
phoneNumberIdstringBusiness phone number ID from the first message or status item in the batch
displayPhoneNumberstringBusiness display phone number from the first message or status item in the batch
textstringText body from the first incoming text message in the batch
timestampstringTimestamp from the first message or status item in the batch
messageTypestringType of the first incoming message in the batch (text, image, system, etc.)
statusstringFirst outgoing message status in the batch, such as sent, delivered, read, or failed
contactjsonFirst sender contact in the batch (wa_id, profile.name)
webhookContactsjsonAll sender contact profiles from the webhook batch
messagesjsonAll incoming message objects from the webhook batch, flattened across entries/changes
statusesjsonAll message status objects from the webhook batch, flattened across entries/changes
conversationjsonConversation metadata from the first status update in the batch (id, expiration_timestamp, origin.type)
pricingjsonPricing metadata from the first status update in the batch (billable, pricing_model, category)
rawjsonComplete structured webhook payload from WhatsApp

On this page