> ## 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.md)
* [On WhatsApp message status event](/reference/integrations/whatsapp/triggers/on-message-status-event.md)
* [On WhatsApp message sent](/reference/integrations/whatsapp/triggers/on-message-sent.md)
* [On WhatsApp message delivered](/reference/integrations/whatsapp/triggers/on-message-delivered.md)
* [On WhatsApp message read](/reference/integrations/whatsapp/triggers/on-message-read.md)
* [On WhatsApp message failed](/reference/integrations/whatsapp/triggers/on-message-failed.md)
* [On WhatsApp message played](/reference/integrations/whatsapp/triggers/on-message-played.md)

## Actions

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.