Skip to main content
Variables let one approved template send personalised messages to thousands of contacts without another Meta review. This page explains how variables work in Flowella, how sample and fallback values work, and how to fill variables from HubSpot. For the structure of a template, see Template reference. To build a template step by step, see Templates.

Syntax

WhatsApp templates use positional variables: double curly braces with a number.
  • To add a variable, click + Variable in the body editor, or Variable next to Header text. Flowella inserts the next number for you.
  • Numbers start at {{1}} and must be sequential. You can’t skip from {{1}} to {{3}}.
  • Variables are text. Numbers, dates and amounts are sent as text, so format them before they reach the template.
Meta also supports named variables, such as {{first_name}}. Flowella can send templates with named variables that were created in WhatsApp Manager, but its editor only creates positional variables.

Where variables can appear

Fallback values

When you publish a template, Meta needs a sample for every variable. Meta uses the samples to:
  1. Check that the content matches the category you chose (Marketing, Utility or Authentication).
  2. Judge quality and spam risk.
  3. Show reviewers a preview.
In Flowella, a variable’s sample is its Fallback value. Good samples help approval:
  • Use realistic values. John is fine; xxx often leads to rejection.
  • Keep samples short. A paragraph in a single variable is a classic rejection signal.
  • Match the type. If {{2}} is a date, use a date. If it is an order number, use something that looks like an order number.

Fallback values

Each variable in the editor has a Fallback value field:
  • Body variables: in the Body variables panel of the body editor.
  • Text header variable: under Header variables in the Variables card.
  • URL button variable: below the button’s address.
The fallback value does three things:
  1. It shows in the preview.
  2. It goes to Meta as the variable’s sample when you publish.
  3. Flowella sends it when a contact’s value is missing or empty, once the fallback values are confirmed.
Choose a value that reads naturally for anyone, such as there in Hi there. Fallback values can’t contain line breaks. When you publish a template you built in Flowella, its fallback values are confirmed automatically.

Templates with fallbacks not reviewed

Some templates show a Fallbacks not reviewed badge on the templates list. Nobody has confirmed their fallback values yet, for example because the template was created in WhatsApp Manager. Flowella pre-fills their fallback values from the template’s samples. Until you confirm them:
  • The editor shows a banner: Review fallback values. These are used when a contact’s data is empty. Until you confirm them, sends with missing data will fail.
  • Any send with an empty value fails instead of using the fallback.
To find these templates, click Fallbacks not reviewed above the templates list. To confirm the values:
1

Open the template

On the Templates page, open the template in the editor.
2

Check each fallback value

Read each Fallback value and change any that wouldn’t read well for every contact.
3

Confirm

Click Confirm fallback values in the banner. If you changed a value, click Save Template instead. Either way, nothing goes to Meta and the template isn’t reviewed again.
After you click Confirm fallback values, Flowella shows Fallback values confirmed and the badge disappears.

What happens at send time

This applies to HubSpot workflows, bulk sends, the API, test sends and inbox sends. Flowella never sends an empty variable to Meta. When a send fails because of an empty variable, the error names the variable and links to the template. For example: Variable {{2}} is empty and has no fallback value. In a HubSpot workflow, the action fails for that contact and the workflow history shows the message. If the variable has no fallback value, the action’s Error code output is VARIABLE_EMPTY_NO_FALLBACK.

Map variables from HubSpot

In a HubSpot workflow, the Send WhatsApp Template action has five slots for variables: Template Variable 1 to Template Variable 5. See Workflow actions.
1

Pick the template

Choose the template in Template Name. The list shows each template once, by name.
2

Map the variables in order

Flowella fills a text header variable first, then the body variables in order. For example, a template has {{1}} in the header and {{1}} and {{2}} in the body. Map Template Variable 1 to the header value, and Template Variables 2 and 3 to the body values. Image, video and document headers don’t use a slot.
3

Plan for empty values

If a mapped property is empty for a contact, Flowella sends the confirmed fallback value. If the template has no confirmed fallback for that variable, the action fails for that contact. If you map fewer slots than the template has variables, Flowella treats the missing ones as empty.
4

Test before going live

Enrol a test contact first and check the message on your phone. Then turn on the workflow for everyone.
A template can have more than five variables, but the action can only map five. For every variable after the fifth, Flowella sends the confirmed fallback value, or the send fails if there is none.

Dates from HubSpot

HubSpot sends date and date-time properties as a timestamp. Flowella turns it into dd.MM.yyyy HH:mm in UTC, for example 27.06.2026 14:30. A date-only property shows the time 00:00. To show a date in the contact’s local time, or in another format, store the formatted date in a HubSpot text property and map that property instead. Flowella sends text properties exactly as they are.

Language

The Template Name list shows each template name once. If a template is approved in more than one language, Flowella picks one version in this order:
  1. The language passed with the workflow action, if there is one.
  2. A version with the language code en. Versions in en_US or en_GB don’t count here.
  3. The most recently updated approved version.
Flowella doesn’t use the contact’s HubSpot language property. To send different languages to different contacts, give each language version its own template name and branch your workflow by language.

Location headers

A template with a location header needs a latitude and longitude for every send. The place name and address are optional. In a HubSpot workflow, map the location to the Template Variable slots that follow your body variables: latitude first, then longitude, then the place name. For example, with two body variables, map the latitude to Template Variable 3 and the longitude to Template Variable 4.

Variable formatting tips

Names
Capitalise the property in HubSpot first, or use a HubSpot workflow step to copy firstname into a “First name (formatted)” property. Dates WhatsApp doesn’t format dates. Map a text property that holds the date the way you want it to read, for example 24 May 2026. See Dates from HubSpot. Currency Format amounts before they reach the template. Put the currency symbol in the template text (Total: £{{1}}) so the variable holds only the number. URLs in body text You can put a full URL in a body variable, but the link preview won’t render and the URL counts towards the body’s character limit. Use a URL button with a variable at the end instead:
HubSpot workflow sends fill body, header and location variables only. They cannot give a URL button a different value for each contact, so for links that change per contact in a HubSpot workflow, put the full URL in a body variable instead.
  • Skipped numbers ({{1}} then {{3}}). Number variables in order.
  • A variable at the very start or end of the body with no text around it. Add a word before or after it.
  • Two variables next to each other ({{1}}{{2}}). Separate them with at least a space or punctuation.
  • Samples that look like placeholders, such as test, xxx or 123, especially in Marketing templates.
  • Variables in the footer. Footers can’t have variables.
  • More than one variable in a URL button. Only one is allowed, and it must be at the end of the URL.

Advanced patterns

Re-use a value across components

Header and body variables are numbered separately, so a header {{1}} and a body {{1}} are different variables. If a customer name appears in both, map the same HubSpot property to both slots: Template Variable 1 for the header and Template Variable 2 for the body.

Conditional content

WhatsApp templates don’t support if/else logic. To send different content to different groups of contacts, create separate templates and branch your HubSpot workflow, for example “VIP welcome” and “Standard welcome”.

Multi-language templates

Each language version of a template is submitted, approved and stored separately. Keep the variables in the same positions in every language. To see which version a HubSpot workflow sends, see Language.

Troubleshooting

The contact’s value was empty and the template has no fallback value for that variable. In HubSpot, the action’s Error code is VARIABLE_EMPTY_NO_FALLBACK. Make sure the property is filled for every contact, or add a fallback value to the template and confirm it.
The template has a fallback value, but nobody has confirmed it. Open the template and click Confirm fallback values. See Templates with fallbacks not reviewed.
The mapped property was empty for that contact, or the template has more than five variables. Check the contact record and the variable mapping in the workflow action.
No. Flowella never sends an empty or unfilled variable. A blank value is replaced by the confirmed fallback value, or the send fails.
A variable contains a URL or content that doesn’t match the template’s category. You can’t add marketing-style content to a Utility template through its variables. To look up the error code WhatsApp gave, see WhatsApp error codes in Flowella.
For submitting, editing and pausing templates, see Templates and Template reference. For rejection-specific help, see Template rejected.
Last modified on November 18, 2026