Merge tags and spintax

Use Doreach's eight merge tags, add fallbacks for missing prospect data, mention a person's latest post, and vary message wording with spintax.

Doreach supports merge tags for saved prospect data and spintax for alternate wording. Open View merge tags or View spintax examples below a message field in the campaign builder.

Use one of the eight merge tags

Merge tags use lowercase words with underscores. Doreach supports these eight tags:

TagValue Doreach insertsExample
{{first_name}}First name derived from the saved full nameOliver
{{full_name}}Full saved nameOliver Clarke
{{last_name}}Last name when Doreach can derive itClarke
{{headline}}Saved LinkedIn headlineFounder at Northbridge AI
{{location}}Saved LinkedIn locationLondon, England, United Kingdom
{{public_profile_url}}Saved public LinkedIn profile URLlinkedin.com/in/oliver-clarke-london
{{day_today}}Weekday at send timewednesday
{{summary_latest_post}}A short phrase about their latest LinkedIn postyour post on opening a second office in Dubai
{{referred_by}}The name of the person who pointed you to them. Empty when nobody did.Priya Shah

Doreach does not support a company tag or a job title tag. Use only the tags in the table.

Mention their latest post

In the tag picker this tag is called Latest post summary. Doreach reads the person’s latest LinkedIn post from the last 30 days when the message is sent. It writes a short phrase that starts with “your post”, so the tag fits straight into a sentence:

Hi {{first_name|there}}, I enjoyed {{summary_latest_post|your work}}.

With a recent post, that reads “I enjoyed your post on opening a second office in Dubai.” Without one, it reads “I enjoyed your work.”

Doreach uses your fallback when any of these is true:

  • The person has no post from the last 30 days.
  • The post is about a sensitive subject, such as a layoff, an illness or politics.
  • The AI cannot write the phrase.

Always add a fallback. The campaign checklist warns you if you leave it out.

The tag uses your team’s monthly AI allowance. See AI usage and limits.

Add a fallback for missing data

Put a pipe and fallback text after the tag name:

{{first_name|there}}
{{headline|your role}}
{{location|your area}}

Doreach uses the saved value when it exists. If the value is missing, it uses the fallback. A tag without either value renders as an empty string, which can leave a broken greeting or sentence.

Add alternate wording with spintax

Put two or more options inside one pair of braces and separate them with pipes:

{Hi|Hello} {{first_name|there}},
{Open to a quick exchange|Worth a short chat} {this week|next week}?

Doreach chooses one option from each spintax group when it renders the message. You can combine spintax with merge tags and place more than one group in a message.

Meet the launch requirement

Every message body and any connection note must contain at least one supported prospect merge tag or a spintax group with different options. {{day_today}} does not meet this requirement by itself because every prospect sent on the same day receives the same value.

Doreach blocks launch when it finds any of these problems:

  • An unsupported or malformed merge tag
  • A merge tag without closing }}
  • Spintax without a closing brace
  • An empty spintax option, such as {Hi||Hello}
  • A message with no prospect merge tag and no valid variation

Fix every listed message before trying to launch again.

Keep connection notes within the limit

LinkedIn allows up to 200 characters in a personalized connection invitation. Doreach requires the note in the editor to stay at or below 180 characters. The smaller draft limit leaves space for merge-tag values that grow when Doreach renders the note.

Doreach also checks the rendered note before sending. If the final text exceeds 200 characters, Doreach marks that prospect’s connection request as failed and explains that the note is too long.

Common questions

What merge tags does Doreach support?
Doreach supports first_name, full_name, last_name, headline, location, public_profile_url, day_today, summary_latest_post, and referred_by. Add a fallback after a pipe, such as {{first_name|there}}. Doreach does not support company or job title tags.
What does the Latest post summary tag do?
It fills in a short phrase about the person's latest LinkedIn post from the last 30 days, such as your post on opening a second office in Dubai. Doreach writes it with AI when the message is sent. Add a fallback, such as {{summary_latest_post|your work}}, for people with no recent post.
What happens when a merge tag has no value?
Doreach uses the fallback after the pipe. If the tag has no saved value and no fallback, Doreach inserts an empty string. Check the surrounding sentence so it still reads well when a value is missing.
What does Doreach require before a campaign can launch?
Each message must contain a supported prospect merge tag or valid spintax with different options. The day_today tag does not meet this requirement by itself because it does not vary between prospects sent on the same day.
How long can a connection request note be?
LinkedIn allows up to 200 characters in a connection request note. Doreach requires the draft to stay at or below 180 characters so rendered merge-tag values have room to fit.