wowprompt

Merge tag personalisation with safe fallbacks for marketing emails

Plans which personal details to use in an email, writes the merge tag lines with a fallback for every blank or messy field, and lists the test cases to send before launch, so nobody receives "Hi FIRSTNAME" or "Hi ," again. Use it before a personalised campaign or when a list was imported from forms with inconsistent data.

A table of personal fields with how complete each is, the line that uses it, the fallback text and the test case, plus personalised subject lines with fallbacks
The output this prompt produced, unedited.

The prompt

Fill in these first

  • Email tool and its merge tag syntax: [e.g. a tool that writes tags as double braces, or unknown]
  • Campaign and goal: [e.g. a winter sale email to past buyers]
  • Fields in the list, with an example value and roughly how many are blank: [e.g. first_name, 85 percent filled, often in capitals; city, 60 percent; last_product, 100 percent]
  • Lines you want to personalise: [paste]

Do this

  1. For each field, say if it is safe to use, needs cleaning, or should not be used.
  2. Write the cleaning rule where needed, such as proper case for names and dropping values like "test" or a single letter.
  3. Write each personalised line with the merge tag and a fallback that reads naturally when the field is blank.
  4. Write three subject lines that use one field each, with the fallback version.
  5. Add one block of dynamic content by segment, such as a different product row by last category bought.

Output format

  1. | Field | Filled | Use: yes, clean first, or no | Cleaning rule |
  2. | Line | With data | With fallback |
  3. Subject lines in both versions.
  4. Test cases: a contact with all fields, one with blanks, one with odd capitals, one with a very long name, and one with a non-English name.

Guardrails

  • Never personalise with sensitive data such as health, income, age or religion.
  • Write fallbacks so the sentence still reads well; "Hi there" is fine, "Hi friend" can feel off.
email personalisationmerge tagsfallback valuesdynamic content emailpersonalised subject lineemail data hygiene

How to run this

Copy the prompt and paste it into Gemini, then set the aspect ratio to 3:4. No reference photo is needed for this one.

The prompt is written in Markdown with each part under its own heading, which is what the copy action hands over. Change one section at a time, keeping the rest intact, so you can tell which change did the work.

Related prompts

All productivity