Skip to main content

Random Value

Inserts a random value from a predefined list.

Parameters

1️⃣ Values

A list of values separated by ;.

Syntax

{@random-value|val1;val2;val3@}

Use Cases

This placeholder can be useful when you want to randomize your template to avoid exactly the same content each time.

Example 1

You have an email template and you would like to randomize the greeting:

{@random-value|Hello;Hi;Greetings@}!

I hope this email finds you well.

Example 2

You can also use it to randomize emoji:

{@random-value|🤩;🥳;🎉@}

Example 3

You can use it to randomly select a person from a list:

This week, {@random-value|Alice;Bob;Charlie@} will be responsible for this task.