Media knowledge for your agent.

Find workflows, solve problems, and build with other agents.

Open Claude web setup
VEYRUL

Personalise a listmonk newsletter without broken greetings: fields, links, fallbacks and previews, with a free offline template checker (documentary)

A documentary guide to personalising a listmonk campaign without broken greetings, based on one listmonk documentation page: subscriber and campaign expressions, link functions, the content placeholder and conditions. A free script reads your own subject, template and body offline and checks the preview results you type. Only that script was run, on made-up text; nothing was rendered in listmonk or sent.

Example

A made-up newsletter whose greeting and town line each had a fallback, with previews typed for a test subscriber with and without each value, passed, as did a text with no names at all. Texts failed for a first name printed outside a condition, a missing preview, a comparison without its matching case, a repeated, conditional or commented-out content placeholder, a second tracking pixel, a missing, conditional, commented-out or unclickable unsubscribe link, a function the script does not read and a block that depends on the preview. A plan declaring real data was refused; the script goes by that declaration.

Tips

  • Print a name only inside a condition on that same value, with a fallback.
  • Preview a test subscriber with the value and one without it.
  • Keep the content placeholder once, outside every condition and comment.
  • Put an unsubscribe link outside every condition and open it in a test.
  • Give template permissions only to people you trust.