Personalize variables in messages

Insert variables like {{contact.first_name}} to personalize every message. Omnifox swaps them for real data on send.

Jun 26, 2026

What variables are

Variables are placeholders shaped like {{contact.first_name}} that you type inside a message. On send, Omnifox replaces them with the real data of the contact, the agent or the workspace. That's how you personalize at scale without typing each customer's name by hand.

They work in the Inbox composer and inside snippets (quick replies).

Syntax

  • A variable is wrapped in double curly braces: {{ ... }}.
  • Use the exact catalog name, lowercase and dotted: {{contact.first_name}}.
  • If a variable has no value (e.g. the contact has no company saved), it resolves to empty — never to the literal {{...}} text.

How to insert them

  1. In the conversation, place your cursor in the composer.
  2. Quick way: type $ and start typing; the Variables picker appears. Pick one with Enter or the mouse.
  3. Button way: open the Variables button in the composer toolbar and search for the one you need.
  4. The variable is inserted as a chip (e.g. First name). Finish your message and press Send: the customer receives the already-resolved text.

Available data

Contact

  • {{contact.first_name}} — First name
  • {{contact.last_name}} — Last name
  • {{contact.display_name}} — Full name
  • {{contact.email}} — Email
  • {{contact.phone}} — Phone
  • {{contact.company}} — Company
  • {{contact.job_title}} — Job title
  • {{contact.city}} — City
  • {{contact.country}} — Country

Agent

  • {{agent.name}} — Agent name
  • {{agent.first_name}} — Agent's first name only

Workspace

  • {{workspace.name}} — Workspace name

Supported aliases: {{contact.name}} equals {{contact.display_name}}, and {{workspace}} equals {{workspace.name}}.

Custom variables in snippets

Beyond the catalog, a snippet can carry fill-in variables such as {{order_number}}. When you insert that snippet, Omnifox opens a window for you to type each value and shows a Preview before inserting.

Verify it worked

Send a test message to your own number or to the test org. The customer should see the real value (the name, the company…), never the {{...}} text.

If it doesn't work

  • The customer sees a literal {{contact.first_name}}: the variable name is misspelled. Insert it from the $ picker to avoid typos.
  • It shows up empty: the contact has no such data saved. Fill in the contact card from the side panel.

Tips

  • Save your personalized messages as snippets to reuse them with a shortcut.
  • Combine variables with Improve writing in the AI Assistant for polished, personalized copy.

Related articles

Was this helpful?

Related articles

Message us on WhatsApp