Skip to content

Message

Message is the WhatsApp Business component that sends messages from your WhatsApp Business number: text messages, Meta-approved templates with their details filled in, or files such as images and documents.

It can reply to the person who has just written to your number, when the flow starts with WhatsApp Business Webhook, or write to a number you set, for example to send a reminder or a confirmation.

When to use it

  • An AI assistant answers on WhatsApp and you want to send its reply to the customer.
  • You want to send each customer the confirmation of their appointment or order with an approved template.
  • You want to send a customer their invoice or quote as a PDF.
  • You want to alert a team member on WhatsApp when something important happens.

Configuration

You need a WhatsApp Business credential with the WhatsApp Business API key and your number’s identifier. See Credentials.

FieldWhat it does
Credential (required)The WhatsApp Business credential of the number you send from.
OperationWhat the component does. See Operations. Default: Send Message.
Type OperationWho the message goes to. Basic replies to the number that wrote to your flow on WhatsApp; Advanced shows Number Destination so you can type the number. Default: Basic.
Number DestinationOnly with Advanced. The destination number with the country code and without the + sign, for example 34600111222. Required.
Message BodyOnly in Send Message. The text of the message. Required.
WhatsApp TemplateOnly in Send Template. The template to send. The list loads when you choose the credential, with the templates approved in your Meta account. Once you pick one, a field appears for each variable in the template so you can fill it in.
Template PreviewOnly in Send Template. The text of the chosen template, so you can see how it looks. It cannot be edited.
Media ContentOnly in Send Media. The file to send: connect it from another component that delivers the file, or use its public address. Required.

Operations

OperationWhat it does
Send MessageSends a text message.
Send TemplateSends a Meta-approved template with its variables filled in.
Send MediaSends one or more files, such as images or documents.

Text messages and templates you send are saved in the flow’s conversation history, in that number’s conversation.

Output

The Result output returns a delivery confirmation with the destination number and, in Send Template, the template and values used. In Send Media it returns WhatsApp’s answer with the ID of the message sent.

Example

A hair salon sends a reminder the day before each appointment.

  1. The flow reads the next day’s appointments from the calendar, with each customer’s name, phone number and time.
  2. Add Message with the Send Template operation and the salon’s WhatsApp Business credential.
  3. In Type Operation choose Advanced and connect the phone number to Number Destination.
  4. In WhatsApp Template choose the reminder template and fill in its variables with the name and time.
  5. Schedule the flow to run every afternoon.

Good practices

  • WhatsApp only lets you send free-form messages to a number that has written to you in the last 24 hours. To write first, or after that time, use Send Template.
  • New templates take time to be approved by Meta. If yours does not appear in WhatsApp Template, wait until it is approved and choose the credential again.