> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# WhatsApp Business

> Send WhatsApp Business messages and templates, or react to message delivery and reply status changes.

## Exports

```ts theme={null}
import { whatsapp, whatsappAccount, getWhatsAppApi } from "automate.ax/whatsapp"
```

* `whatsapp` contains the packaged WhatsApp Business actions and triggers.
* `whatsappAccount("name")` selects a named WhatsApp connection.
* `getWhatsAppApi` creates the authenticated WhatsApp Business API helper for a custom account-backed action.

## Triggers

* [On message received](/reference/integrations/whatsapp/triggers/on-message-received)
* [On WhatsApp message status event](/reference/integrations/whatsapp/triggers/on-message-status-event)
* [On WhatsApp message sent](/reference/integrations/whatsapp/triggers/on-message-sent)
* [On WhatsApp message delivered](/reference/integrations/whatsapp/triggers/on-message-delivered)
* [On WhatsApp message read](/reference/integrations/whatsapp/triggers/on-message-read)
* [On WhatsApp message failed](/reference/integrations/whatsapp/triggers/on-message-failed)
* [On WhatsApp message played](/reference/integrations/whatsapp/triggers/on-message-played)

## Actions

* [Create message template](/reference/integrations/whatsapp/actions/create-message-template)
* [Send message](/reference/integrations/whatsapp/actions/send-message)
* [Send template message](/reference/integrations/whatsapp/actions/send-template-message)
