Conecxt
Create account

Resources Insight

HubSpot WhatsApp template variables: which property fills which placeholder

Send WhatsApp template fills a template's variables from HubSpot contact properties, in the template's own order, and sends nothing half-filled. The order rule with a worked example, the five reasons a send stops, media headers, and what to do about blank first names and dates.

Conecxt team 10 min read

Share WhatsApp LinkedIn

The short version

  • Template variable 1 to 10 in HubSpot fill the template's variables in the order the template list names them: the body first, then a text header, link buttons and carousel cards. On the phone the header comes first; in the mapping it doesn't.
  • Numbered variables count within each part of a template, so the header's first variable and the body's first variable are different inputs in HubSpot.
  • Nothing is sent when a variable is empty, a value still contains double curly braces, the template has more than ten variables, the send journey's send step lacks the header file, or the template has a part Conecxt can't send.
  • A header image, video or document comes from the send journey's send step in Conecxt. The HubSpot action has no field for a file.
  • For blank first names, branch on First name is known and map a greeting property that is never empty. For dates, map a text property written the way a customer reads it.

Tanvi Thakkar runs four co-working centres in Ahmedabad, and her five-person sales team books every tour from HubSpot Sales Hub Professional. (Tanvi and her company, Thakkar Workspaces, are invented for this guide.) When a tour is booked, a HubSpot workflow sends a WhatsApp confirmation through Conecxt. She mapped the first template variable to the centre name, because the header with the centre’s name is the first thing you see on the phone.

Her test message to herself opened “Hi Prahlad Nagar”. The centre’s name had gone where her first name belonged, because HubSpot’s variable fields don’t follow what you see on screen. This guide covers which HubSpot property fills which template variable, the five reasons a send stops, media headers, and the two data problems that usually show up first: blank first names and dates. The workflow itself, from trigger to test, is in our guide to sending WhatsApp from a HubSpot workflow, part of this series; the HubSpot setup guide covers connecting.

Which HubSpot property fills which template variable?

Template variable 1 to 10 each take a HubSpot contact property, and they fill the template’s variables in the order the template list names them: the body first, then a text header, link buttons and carousel cards. The order on the phone is different, and that’s where mistakes start.

Tanvi’s tour confirmation has a text header, three body variables and a link button:

Header: Tour booked at {{1}}
Body: Hi {{1}}, we've kept {{2}} desks aside for your tour on {{3}}. Bring a photo ID for the front desk, and reply here if the time no longer works.
Button (link): Directions -> https://example.com/centres/{{1}}

Five variables, filled like this:

HubSpot fieldFillsHubSpot propertyHer test value
Template variable 1Body, first variableWhatsApp greeting name (see below)Tanvi
Template variable 2Body, second variableDesks needed6
Template variable 3Body, third variableTour slotSaturday 22 November, 11 am
Template variable 4Header variableTour centrePrahlad Nagar
Template variable 5Link button variableCentre codeprahlad-nagar

The {{1}} appears three times in that template and means three different things. Meta’s template page, updated 21 May 2026, says positional values “must appear in the order in which their corresponding placeholders appear in the component text string”, and its components page treats the header, body, footer and buttons as separate components. So read the order in the template list before you map anything, and ignore the preview. Our note on the 15 November update lists what to check in workflows you already run.

The link button has its own rules on Meta’s components page (updated 24 June 2026): it “Supports 1 variable, appended to the end of the URL string”, templates are “limited to two URL buttons”, and special characters must be percent-encoded or the link can “fail validation”. Tanvi’s Centre code property holds lowercase words joined by hyphens for that reason, never the centre’s display name with its space.

Named or numbered: does it change the mapping?

No. Named variables fill in the same order as numbered ones, the template’s own, as the template list names it.

Meta’s rules, from the same page: named parameters “must be unique, single strings, composed of lowercase characters and underscores”, and “If you do not specify a format, the template uses positional format by default.” Meta also says named values in an API request “can appear in any order”. That freedom doesn’t carry over to HubSpot, where the fields are numbered 1 to 10 and each one fills the next variable in the template’s order.

We’d still use named variables for any template with more than two. {{desks_needed}} tells the person mapping it what goes there; {{2}} tells them nothing. Our template personalisation guide covers the rest of the named-or-positional choice and the sample values Meta’s reviewers read.

What does the ten-variable limit cover?

Every variable in the template, across all its parts. The action has Template variable 1 to 10, and a template with more than ten variables isn’t sent.

The count is easy to pass with a carousel. Tanvi once sketched a four-card carousel, one card per centre, with a variable in each card’s text and button: eight, before the body’s own. A template the action can’t send stays in the template list with a note, so you find out while building the workflow, not from a customer. Our marketing template formats guide covers carousels and headers from Meta’s side.

Why was nothing sent?

Because the action won’t send a template it can’t fill completely. The workflow history says why in a sentence, and the action’s Error code and Error detail outputs let a later step act on it.

What happenedThe history says something likeThe fix
A variable was left empty, or its property is blank on this contact”Template variable 2 (ship_date) has no value.”Map every variable; branch on the property being known; map a fallback property
A value still contains {{ }}A sentence naming the variableClean the property, which may hold text pasted from a template draft
The template has more than ten variablesA sentence saying soSplit the template, or cut variables
The send journey’s send step doesn’t hold the header image, video or document”This template needs a header image on your send journey’s send step”Add the file to the send step in Conecxt
The template has a part Conecxt can’t sendA note beside the template in the listPick or build a template without that part

The quoted sentences are examples of the wording, which names the variable or part concerned. Stopping is the better outcome. Meta rejects a request whose values don’t match the template with error 132000, “The number of variable parameter values included in the request did not match”, and a message that reaches a customer as “Hi , we’ve kept desks aside” reads like a scam. Messages that look broken invite blocks, and blocks pull a template’s quality down; our guide to paused templates and quality ratings explains what follows. Our reference to HubSpot WhatsApp workflow errors lists every other sentence the history can show.

How do templates with an image, video or document header work?

The file comes from the send journey’s send step in Conecxt, not from HubSpot. The action has no field for a file, so it can’t send a different document to each contact.

Meta’s components page lists image, video and document headers, and gifs, which it says “are only available for Marketing Messages API for WhatsApp”; Conecxt doesn’t have that API. The file uploaded when the template is created is the example Meta’s reviewers see. The file each customer receives comes from the send step, and when the step doesn’t hold one, the history says so and nothing goes out. That makes media headers right for a file that’s the same for everyone (Tanvi uses a photo of the centre’s lounge) and wrong for a per-person document such as an individual quotation. For that, put the reference in a link button variable and let the customer open it on your site.

What do you do about empty first names?

Decide in HubSpot, before the action: branch on First name is known, and give the action a property that’s never blank.

HubSpot’s tools for this are ordinary workflow steps. An AND/OR branch can test whether a property “is known”, and HubSpot’s Edit record action can “Set, edit, copy, and clear property values”. Its page, last updated 13 November 2026, warns that “If the source property has no value, the target property may remain unpopulated or receive an empty value”, and recommends “a branch to check for populated property values before the Edit record action”. Tanvi’s version:

  1. Create a single-line text contact property, WhatsApp greeting name.
  2. Branch: First name is known.
  3. Yes path: Edit record copies First name into WhatsApp greeting name.
  4. None met path: Edit record sets WhatsApp greeting name to “there”.
  5. Map WhatsApp greeting name, not First name, to Template variable 1.

Don’t write “there” into First name itself, or it turns up in every email and task that uses the name. About one booking in six at Tanvi’s centres comes from a walk-in enquiry saved with only a phone number (her count), so this path runs daily. The other option is a second approved template with no name, sent on the None met path. It reads better than “Hi there” and costs you two templates to keep approved instead of one.

Names saved in capitals are a related problem. HubSpot’s Format data action can capitalise the first letter, and its page says “All other characters in the value will be changed to lowercase” and that it “Only works for characters in the Latin alphabet”, so a name saved in Gujarati script isn’t covered. Format data is listed for Data Hub Professional and Enterprise.

And dates that don’t read like a date?

Give the template a date already written for a person. With Data Hub, HubSpot’s Format data action can produce one; without it, keep a text property.

HubSpot’s Format data page, last updated 3 August 2026, lets you choose “the new date format for the value” and a locale “such as en-US or hi-IN”, and says “By default, returns UTC time”, so set the time zone or an 11 am visit reads 5:30 am. It’s “a two-step process”: an Edit record action saves the result into a property, which you then map. The HubSpot pages we read don’t say how a date property is written when it’s handed to an app’s workflow action, so don’t count on anything between HubSpot and WhatsApp to tidy it. Map the formatted text property and check one real message on your own phone.

Tanvi has no Data Hub. Her salespeople type Tour slot as text when they book, “Saturday 22 November, 11 am”, and the template takes it as it is. A typed field can carry typos, which is the trade-off, so the Monday review of the week’s bookings includes a glance at that column.

The confirmation itself is utility under Meta’s rules, because it’s about a tour the person booked and promotes nothing. At about 300 tours a month (her figure), that’s 300 × ₹0.1150 = ₹34.50, per delivered message before GST, on the India rate card effective 1 October 2026. Add “first month at 20% off” and it becomes marketing at ₹0.8631 each. Our template examples show where that line falls, and terms such as component and positional parameter are in the glossary.

Tanvi’s fix took ten minutes: variable 4 to the centre, variable 1 to the greeting property, one more test to her own phone. It opened “Hi Tanvi”.

Common questions

How do I use HubSpot properties in a WhatsApp template?

Add Conecxt's Send WhatsApp template action to a contact-based workflow, choose the WhatsApp number and the template, then pick one HubSpot contact property for each Template variable field, 1 to 10. They fill the template's variables in the order the template list names them: the body first, then a text header, link buttons and carousel cards.

What happens if a HubSpot property is empty in a WhatsApp template?

Nothing is sent. Conecxt's Send WhatsApp template action stops when any variable is empty, and the workflow history says which one in a sentence, with Error code and Error detail outputs to branch on. Branch on the property being known before the action, or map a fallback property, such as a greeting name that is never blank.

Can a WhatsApp template sent from HubSpot have more than ten variables?

Not through Conecxt's Send WhatsApp template action. It has ten Template variable fields, and a template with more than ten variables isn't sent. Every part counts towards the ten: body, text header, link buttons and carousel cards. Split a long template into two, or cut the variables a customer doesn't need.

Should WhatsApp templates use named or numbered variables?

Meta accepts both. Numbered variables run in order from 1; named ones are lowercase words with underscores, unique within the template, and Meta's page says a template is positional unless you choose otherwise. From HubSpot both fill in the template's own order, but named variables tell whoever maps them what each one holds.

How do I format a HubSpot date for a WhatsApp message?

HubSpot's Format data action, listed for Data Hub Professional and Enterprise, rewrites a date in the format and locale you choose; its page says it returns UTC time by default, so set the time zone. Then an Edit record action saves it. Without Data Hub, keep a text property with the date written as the customer should read it.

Sources

  1. Template fundamentals: parameter formats (Meta for Developers) · Updated 21 May 2026, read live 16 Nov 2026
  2. Template components (Meta for Developers) · Updated 24 Jun 2026, read live 16 Nov 2026
  3. WhatsApp error codes (Meta for Developers) · Updated 18 Jun 2026, read live 16 Nov 2026
  4. Template categorization (Meta for Developers) · Updated 15 Sep 2026, read live 16 Nov 2026
  5. Pricing on the WhatsApp Business Platform (Meta for Developers) · Updated 30 Sep 2026, India rate card effective 1 Oct 2026, read live 16 Nov 2026
  6. Use branches in workflows (HubSpot Knowledge Base) · Last updated 23 Sep 2026, read live 16 Nov 2026
  7. Choose your workflow actions (HubSpot Knowledge Base) · Last updated 26 Oct 2026, read live 16 Nov 2026
  8. Edit records using workflows (HubSpot Knowledge Base) · Last updated 13 Nov 2026, read live 16 Nov 2026
  9. Format your data with workflows (HubSpot Knowledge Base) · Last updated 3 Aug 2026, read live 16 Nov 2026
Share WhatsApp LinkedIn

Get the next one

One email when something new is published. Nothing else.

Unsubscribe from any email. See our privacy policy.

Run this on your own number

Create an account, connect your WhatsApp number, and invite your team.