WhatsApp Web Sender: Message Templates: Variables & Spintax
AndySendy academy

Message Templates: Variables & Spintax

WhatsApp Web Sender

Two tools that work together: variables pull data from Excel into each message, variations (Spintax) make every message unique. More variety — lower ban risk.

Excel Variables — {{column header}}

Any column from your sheet can be inserted into the message. Place the cursor and double-click the column header — or type manually: {{Name}}, {{Company}}, etc.

The name in double curly braces must exactly match the Excel header — including case and spaces.

TemplateResult
Hey {{Name}}!Hey John!
Hi {{Name}}, your company {{Company}} has a new offer.Hi John, your company Acme Corp has a new offer.

If a cell is empty — the variable is blank. Default value: {{Name|Customer}}.

You can write {Option A|Option B} inside Excel cells — the program processes them on send.

Variations — {option1|option2|option3}

Curly braces with alternatives separated by | — one is picked randomly on each send.

TemplatePossible results
`{HeyHello
`Get {1020

Variables and variations work together:

{Hey|Hello}, {{Name}}! {We have something for you|Got a minute?}.

Hit Preview and Regenerate — the output changes every time.

Varying Line Count — Anti-Spam Protection

Spam filters flag identical line counts. Put a line break inside a variation:

{Hey|Hello}, {{Name}}!{ |\n}Your offer is ready.

Some messages have one line, others two.

Permutations — [+separator+A|B|C]

To include all options at once, use square brackets:

[+, +delivery|installation|setup]  →  delivery, installation, setup
[+ and +plan A|plan B]             →  plan A and plan B

Nested variations inside permutations are supported:

[+, +{table|desk}|{chair|armchair}|{lamp|light fixture}]

Media Files

Attach images (JPG, PNG, WEBP), documents (PDF, DOCX), or video (MP4). Media is sent the same for all recipients.

Common Mistakes

MistakeCorrect
{apple, pear, banana} — picks one whole string`[+, +apple
{{name}} and {{Name}} — different variablesCase matters
`{HeyHello` — unclosed brace
`[+, AB