Skip to main content
WhatsApp gives you a fixed set of message types to build a conversation from. Some are plain — text, an image, a document. Others are interactive: reply buttons, scrollable lists, call-to-action links, and multi-screen flows that open inside the chat. Knowing what each one looks like, and what it’s good for, is most of what it takes to design a conversation that feels natural. These are platform building blocks — they exist on WhatsApp itself, whatever tool you use to send them. The code samples on this page show how each maps to a function in a Paige bot, so you can use them directly, but the shape of each message type is the same everywhere.
Interactive messages — buttons, list menus, URL buttons, and flows — are billed as “interactive” messages by WhatsApp. Plain text and media messages are billed as regular messages. Check the Meta pricing page for the current rates for your region.
Scan these to recognise each type the way a customer sees it in a chat. Below the gallery, each type is covered in detail with the code to send it.

Message types in detail

Send a plain text message. Supports newlines using \n.
Parameters:
  • conversationId — the conversation ID from your database
  • to — the recipient’s phone number (e.g. "27821234567")
  • text — the message body; use \n for line breaks
Text messages are the simplest message type and work in all WhatsApp clients. Use them for confirmations, plain responses, and any message that does not need user input.
You can also send a carousel of up to 10 cards, each with an image, body text, and quick-reply buttons. Carousels are useful for product listings, plan comparisons, or multi-item promotions.
Each card in the cards array takes imageUrl, bodyText, and a buttons array. Button clicks are returned via the webhook as interactive messages with button_reply.

Sending a WhatsApp Flow

To open a multi-screen WhatsApp Flow from within a conversation, use sendFlow. The user taps the call-to-action button and the flow opens inline in WhatsApp.
For the thinking behind when to use a flow, see Thinking in flows. For how to create and publish one in Paige, see Flows Builder.