Skip to main content
A coupon code template is a marketing template with a copy code button. When the customer taps it, WhatsApp copies your discount code to their clipboard, ready to paste at checkout. The code you enter when you create the template is only a sample for Meta’s review. You set the real code each time you send, so every customer can get a different one.
In Flowella. Partly supported. The editor adds a Copy coupon code button to Marketing templates, and you can send the real code from the inbox, a test send or the Flowella API. Bulk send and HubSpot workflow actions don’t let you set a code, so they can’t send coupon templates.

Limits

In Flowella. The editor’s sample code accepts letters and numbers only, up to 20 characters. At send, Flowella accepts any code up to 20 characters.

What is set when

If your body shows the code too, for example Use code {{2}} at checkout, fill that variable with the same value as the button, or the customer sees two different codes.

Build one in Flowella

1

Create a Marketing template

On the Templates page, click New template, then Build your own and Standard message. Set the category to Marketing.
2

Write the body

Explain the offer, when it ends and how to use the code. Keep variables for details that change per customer.
3

Add the button

Add a Copy coupon code button and enter a sample under Coupon code, such as WINTER25. For an easy opt-out, add a Quick Reply button with an opt-out keyword, such as Stop. See How keyword opt-outs work.
4

Publish

Click Publish Template. Meta reviews it like any marketing template.

Worked example

A winter sale template, with one body variable for the first name and one for the code:

Send the real code

  • Inbox: when you choose the template in a conversation, fill in the code under Coupon code buttons.
  • Test send: fill in Coupon code buttons on the template’s test panel.
  • API: call POST /v1/templates/send and pass the code in buttonParameters, with the copy code button’s index and subType set to copy_code. Use this to send unique codes from your own system, with a value for each recipient.
If no code is given, Flowella refuses the send before it reaches Meta and asks for a coupon code.

Good practice

  • Use single-use codes where you can, so a shared screenshot doesn’t drain the offer.
  • Say when it expires in the body. A coupon template has no countdown. For one, Meta offers limited-time offer templates, which Flowella doesn’t support.
  • Remember WhatsApp Web users. They can’t use the button, so show the code in the body as well.

Marketing templates

Opt-in, limits and other marketing types.

Template reference

Every button type and limit in the editor.

Test a template

Send yourself a coupon template first.

Template variables

Fill in names and codes.
Checked against Meta’s documentation on 18 November 2026: Coupon code templates and Template components.
Last modified on November 18, 2026