Actions138
- API Key Actions
- Automation Rule Actions
- Call Actions
- Catalog Actions
- Channel Actions
- Chat Actions
- Contact Actions
- Group Actions
- Label Actions
- Media Actions
- Message Actions
- Observability Actions
- Presence Actions
- Profile Actions
- Session Actions
- Status Actions
- System Actions
- Template Actions
- Webhook Actions
Message → Click Button
AI-generatedSummary
Sends a structured reply to a WhatsApp prompt, quoting the message that offered the buttons. The prompt must still be in the engine’s store; this operation requires OpenWA ≥ 0.23.6 with the Baileys engine, while whatsapp-web.js returns 501.
Inputs
- Session Name or ID (required) — Session to send from; choose a listed session or supply its ID with an expression.
- Chat Name or ID (required) — Recipient chat ID, such as a personal chat ending in @c.us or a group ending in @g.us. Only the first 1,000 chats are listed; use an expression for others.
- Message ID (required) — Full serialized ID of the prompt that offered the buttons, as returned by a send operation or delivered by the Trigger.
- Button ID (required) — ID of the button choice from the prompt’s buttons list. URL and phone number buttons cannot be clicked.
- Button Text — Visible label of the choice. Leave empty to have OpenWA read it from the stored prompt.
Output shape
A single n8n item containing the API response.
The operation sends a structured reply quoted to the prompt rather than a native button tap, so WhatsApp may treat it differently. If the prompt is no longer in the engine store, the request returns 404.