Skip to content
QwryAI
Documentation
Pages

Integrations

Create and send WhatsApp message templates

Create approved WhatsApp message templates in WhatsApp Manager and send them from the QwryAI Inbox

A WhatsApp message template is a message you write in Meta's WhatsApp Manager and Meta approves, which your business can then send to customers outside the 24-hour conversation window. In QwryAI, you use approved templates to message one customer from the Inbox, many contacts at once with WhatsApp campaigns, and customers with new Shopify orders through WhatsApp Automations.

WhatsApp allows free-form messages only within 24 hours of the customer's last message. After that, an approved template is the only way to start the conversation again.

QwryAI supports Utility, Authentication and Marketing templates. Every category can be sent from the Inbox and from campaigns.

Before you start

  • A WhatsApp number connected to your agent. If you haven't connected one, follow Add an AI agent to WhatsApp first.
  • Access to WhatsApp Manager in Meta Business Suite for the WhatsApp Business account that owns the number.
  • A payment method in Meta, since Meta charges for template messages.

Templates come from Meta: QwryAI doesn't create or edit them. Until a number is connected, Outbound › WhatsApp › Templates asks you to connect one.

Templates appear here once WhatsApp is connected.

Creating a template in WhatsApp Manager

These steps happen in Meta's WhatsApp Manager. Once a number is connected, Manage in WhatsApp Manager on the Templates tab takes you there.

  1. Open Message Templates

    In WhatsApp Manager, open Message Templates.

  2. Create the template

    Select Create Template.

  3. Choose a category

    The categories are Meta's, and QwryAI shows each template with the category Meta gives it:

    • Marketing: promotions, offers and product announcements
    • Utility: order updates, account notifications and transaction confirmations
    • Authentication: verification codes and login confirmations
  4. Name the template and pick a language

    Enter a name and select the language.

  5. Write the body text

    Write the body. You can include variables such as {{1}} and {{2}}, which you fill in when you send the template from QwryAI.

  6. Submit for review

    Select Submit for Review.

    Approved templates are listed on the Templates tab of Outbound › WhatsApp, with search, a type filter and Use template, which starts a campaign with that template.

Template examples by use case

The templates below are examples to adapt, not text Meta has approved. Write your own wording, choose the category that matches the message, and submit it for review. Meta decides the final category when it reviews it.

Example body text (a Utility template, the category for order updates):

Example conversation
Hi {{1}}, your order {{2}} has shipped. Reply to this message if you have any questions about your delivery.
  • {{1}}: the customer's name. Map it to the Name customer field in the Inbox.
  • {{2}}: the order number. Enter it as Free text when you send from the Inbox, or map it to Order number in a WhatsApp Automation.

Tips for writing templates

  • Keep the message clear and concise, and state what it's for. This helps approval.
  • Plan your variables. Every variable needs a value when you send; Send stays disabled until each one is filled.
  • Header and body variables are separate. The header and the body each number their own variables, and QwryAI lists each one as in the header or in the body.
  • Add a reply path. Ending with "Reply to this message…" invites the customer to answer, which opens the 24-hour window again so your agent can take over.

Sending a template from the Inbox

Once a template is approved, you can send it to one customer from the QwryAI Inbox.

  1. Open the Inbox

    Open your agent and select Inbox in the sidebar.

  2. Open the customer's WhatsApp conversation

    Select the WhatsApp conversation with the customer you want to message.

  3. Choose a template

    When the 24-hour window has closed, the reply box shows The 24-hour reply window has closed. WhatsApp doesn't allow outbound messages after 24 hours of inactivity. Use a note to document internally, or choose a message template to send. Select Choose template.

    The Choose template dialog lists the approved templates of the number this customer wrote to. Search by name with Search... and filter with the type select (All types, Marketing, Utility or Authentication).

  4. Fill in the variables

    Select a template. Each variable is listed with where it is, for example {{1}} in the body. For each one, pick a source:

    • Customer field: the customer's Name, Email or Phone, shown with this customer's value, or (not set) when it's empty.
    • Free text: type a value and select Use.
  5. Preview and send

    The preview shows the message with your values. Select Send. To pick another template, select Templates.

    The template message appears in the conversation. If the customer replies, the 24-hour window opens again and you, or your agent, can send free-form messages.

Limitations

  • Templates must be approved by Meta before they appear in QwryAI, and they're created and edited in WhatsApp Manager only.
  • Meta charges per template message, with fees that vary by country and category.
  • Free-form messages only work inside the 24-hour window. Outside it, a template is the only way to reach the customer.
  • The Inbox lists the templates of the number the customer wrote to. A template made for another WhatsApp Business account isn't offered.

Troubleshooting

A template doesn't appear in QwryAI

Possible cause: Meta hasn't approved it yet, or it belongs to a different WhatsApp Business account than the number.

Solution: check its status in WhatsApp Manager. Once approved, it appears on the Templates tab and in Choose template.

The message failed to send

Possible causes: the contact doesn't have a valid WhatsApp number, or no payment method is set in Meta. The dialog then shows Could not send the template.

Solutions: check the contact's WhatsApp number, and add a payment method in Meta Business Suite.

Choose template shows Could not load WhatsApp templates.

QwryAI couldn't read the templates from Meta, usually because the number lost its connection. Check the number's card in Channels › WhatsApp and select Reconnect if it says Disconnected from WhatsApp.

Frequently asked questions

When do I need a WhatsApp template?

When a customer hasn't messaged you in the last 24 hours. After that, an approved template is the only way to start the conversation again. Once the customer replies, the window resets.

Which template categories does QwryAI support?

Utility, Authentication and Marketing. All three can be sent from the Inbox and from WhatsApp campaigns.

How long does Meta take to approve a template?

Usually a few minutes, sometimes longer. A template appears in QwryAI only after Meta approves it.

Where do I create templates?

In WhatsApp Manager, as described in Creating a template in WhatsApp Manager. Once approved, it appears in the Inbox, campaigns and WhatsApp Automations.

Do template messages cost money?

Yes. Meta charges for each template message, with fees that vary by country and category. Add a payment method in Meta, or template messages can fail.

Next steps

Explore the documentation