FeaturesPricingBlogDownload

Template Variables

Random Selection

Create dynamic templates that pick random variations.

These variables turn a static block of text into a dynamic template that chooses among options.

#{random:A|B|C} — Random Selection

Randomly selects one option from a pipe-separated (|) list. This is fantastic for adding natural variation to your templated responses so you don't sound like a robot.

Snippet: `#{random:Hi|Hey|Hello} there!`

Possible Outputs:

  • Hi there!
  • Hey there!
  • Hello there!
Spacing matters: Spaces around the `|` character are preserved. `#{random:A | B}` will produce either `A ` (with a trailing space) or ` B` (with a leading space). Usually, you want to write it without spaces: `#{random:A|B}`.