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:- Check that the content matches the category you chose (Marketing, Utility or Authentication).
- Judge quality and spam risk.
- Show reviewers a preview.
- Use realistic values.
Johnis fine;xxxoften 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.
- It shows in the preview.
- It goes to Meta as the variable’s sample when you publish.
- Flowella sends it when a contact’s value is missing or empty, once the fallback values are confirmed.
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.
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.
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 intodd.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:- The language passed with the workflow action, if there is one.
- A version with the language code
en. Versions inen_USoren_GBdon’t count here. - The most recently updated approved version.
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
Namesfirstname 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.
Common rejection reasons related to variables
- 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,xxxor123, 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
Sends fail with Variable {{n}} is empty and has no fallback value
Sends fail with Variable {{n}} is empty and has no fallback value
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.Sends fail with Variable {{n}} is empty and its fallback has not been reviewed
Sends fail with Variable {{n}} is empty and its fallback has not been reviewed
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.
A contact got the fallback value instead of their own data
A contact got the fallback value instead of their own data
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.
Can a message arrive with a literal {{1}} in it?
Can a message arrive with a literal {{1}} in it?
No. Flowella never sends an empty or unfilled variable. A blank value is replaced by the confirmed fallback value, or the send fails.
Message rejected at send with a policy violation
Message rejected at send with a policy violation
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.

