Skip to main content
onWhatsAppMessageSent starts an automation when WhatsApp reports the sent status for a message.
automations/track-whatsapp-sends.automation.ts
Optional static account defaults to the project’s WhatsApp binding. The signal has status: "sent" and includes the message and recipient IDs, timestamp, callback data, conversation, pricing, structured errors, and providerEvent described by the broad status trigger. A sent event confirms provider acceptance, not delivery to the recipient’s device. Use onWhatsAppMessageDelivered for that outcome.