Skip to navigation

Merge fields

A merge field puts a contact’s details, or your business’s, into a text you write once for everyone. “Hi {{first_name}}” reaches Dana as “Hi Dana”. SparkOps fills each field in as the text goes.

Where: Campaigns › a campaign: each first text’s box on the Agenda, and each nurture text’s box in Follow-up & nurture Who can do it: owners and managers add them on a draft. Agents see them, read only.

Add a merge field

  1. On a draft, click in a first text’s box or a nurture text’s box.
  2. Type ”/” at the start of the box, or after a space. A list opens under the line, in three groups: Contact, Business and Your own fields.
  3. Keep typing to narrow it: “/fir” leaves First name.
  4. Press Enter, or click the field. The up and down arrows move through the list. The box shows the field as written, such as {{first_name}}.

To keep a ”/” as you typed it, press Esc. A ”/” inside a word or an address, such as 24/7 or coastalcomfortsd.com/book, never opens the list.

The fields

Contact, from the contact’s details:

  • First name: their first name, or “there” when you don’t have one.
  • Last name, Email.
  • Phone: their mobile number.
  • City and State: from their address. State is the state’s name, such as “California”.
  • Source: where they came from, as your tools named it when they sent the contact to SparkOps, such as “Google”.

Business, from Setup. The list shows what each fills in now, or Not set in Setup:

  • Name, Phone, Address and Website: from your business profile. See Business profile.
  • Hours: your business hours, in words, such as “Mon to Fri 8am to 5pm, Sat 9am to 1pm”. Closed days are left out. See Business hours.

Your own fields: the extra fields your contacts have brought, sent with a contact through the API or added on a contact’s page. Until there are any, the group says how to get one: send one test contact with them, and they’re there from then on. See Zapier and the API.

When a contact has nothing for a field

  • The field is left blank, and the space around it is tidied: “Hi {{first_name}} {{last_name}},” reaches someone with no last name as “Hi Dana,”.
  • A missing first name reads “there”: “Hi there,”.
  • Source is always blank for someone you enroll yourself.
  • A text made only of fields that are all blank for a contact has nothing to send. A nurture text like that is skipped for them. A first text like that can’t start their conversation, and Enroll says so.

What you see

  • In a box you can change, a field shows as written, such as {{first_name}}. Where the text can’t be changed, each field shows as a small label, such as “first name”.
  • The length note under the box counts each field at a typical length. It only warns.
  • Enroll shows the first text filled in with that contact’s details, and names what’s left out. See Add contacts to a campaign.
  • Practice fills the first text with a sample contact’s first name and your business’s details. See Practice a campaign.

Good to know

  • Merge fields work in first texts and nurture texts, including ones the AI writes for you. Nudges, the call greeting, a rule and a text you write in a conversation take none. See Nudges and nurture texts.
  • A first text is filled in when the conversation starts. Each nurture text is filled in when it goes, with the contact’s details as they are then.
  • Publishing checks every field. A field SparkOps doesn’t have keeps Publish off, and so does a lone { or }. One of your own fields that no contact has brought yet is checked again when you press Publish, which is how a typo is caught. See Edit, publish and archive.
  • A value always goes in whole. What keeps Publish off is a first text or nurture text over 1,000 characters as you wrote it.
  • There’s no merge field for the number you text from. The Business group’s Phone is the phone on your profile.

Still need help? Email support@sparkops.com.