Macros Documentation

A library of ready-to-use tags for generating data, characters, and values. Use in the template, subject, or email body to create complex randomization structures.

Shortcode
* macros.shortcode.caption Format - unpaired..
Description Macros Result
macros.shortcode.description.1
{shortcode code='woman_firstname'}
Alexsandra
macros.shortcode.description.2
{shortcode code='woman_firstname' id='01'}
{shortcode code='woman_firstname' id='01'}
{shortcode code='woman_firstname' id='01'}
Alexsandra
Alexsandra
Alexsandra
macros.shortcode.description.3
{shortcode code='first_name' id='01'}
+
{shortcode code='last_name' id='01'}
John + Smith
Thomas + Anderson
Tyler + Durden
External
* macros.external.caption Format - unpaired..
Description Macros Result
macros.external.description.1
{external code='http://x.x.x.x/files/woman_firstname.txt'}
Alexsandra
Random
* macros.random.caption Format - paired..
Description Macros Result
macros.random.description.1
{random}Hello|Good day|Hey|Good morning!{/random}
Good morning!
macros.random.description.2
{random id='greet'}Hello|Hey|Hi{/random}, 
{random id='greet'}John|Michael|Thomas{/random}!
Hi, Thomas
macros.random.description.3
{random type='tag'}{i}Price: 100$.{/i}{i}Discount 50%.{/i}{i}Sale ends today.{/i}{/random}
Discount 50%.
macros.random.description.4
{random type='word'}fast reliable simple{/random}
reliable
macros.random.description.5
{random type='letter'}Hello{/random}
l
macros.random.description.6
{random type='sentence'}We are online. Contact us anytime. We reply fast.{/random}
Contact us anytime.
macros.random.description.7
{random type='row'}
First option text
Second option text
Third option text
{/random}
Second option text
Сontent
* macros.content.caption Format - unpaired..
Description Macros Result
macros.content.description.1
{generate type='word'}
							
hello
macros.content.description.2
{generate type='word' count='3'}
							
hello world apple
macros.content.description.3
{generate type='word' min='1' max='5'}
							
hello world apple
macros.content.description.4
{generate type='sentence'}
							
In vel odio feugiat, malesuada quam condimentum, mollis mauris.
macros.content.description.5
{generate type='sentence' count='3'}
							
In vel odio feugiat. Nam accumsan id ante. Nunc vestibulum erat.
macros.content.description.6
{generate type='sentence' min='1' max='3'}
							
In vel odio feugiat. Nam accumsan id ante.
macros.content.description.7
{generate type='paragraph'}
							
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
macros.content.description.8
{generate type='paragraph' count='2'}
							
Lorem Ipsum is simply dummy text...
Nam accumsan id ante eu imperdiet...
macros.content.description.9
{generate type='paragraph' min='1' max='3'}
							
Lorem Ipsum is simply dummy text...
Nam accumsan id ante eu imperdiet...
macros.content.description.10
{generate type='text'}
							
In vel odio feugiat...
Nam accumsan id ante...
Nunc vestibulum erat...
macros.content.description.11
{generate type='text' count='3'}
							
In vel odio feugiat...
Nam accumsan id ante...
Nunc vestibulum erat...
macros.content.description.12
{generate type='text' min='1' max='3'}
							
In vel odio feugiat...
Nam accumsan id ante...
Name
* macros.name.caption Format - unpaired..
Description Macros Result
macros.name.description.1
{generate type='name'}
			
Thomas Anderson
macros.name.description.2
{generate type='name' id='01'}
{generate type='name' id='01'}
			
Thomas Anderson
Thomas Anderson
macros.name.description.3
{generate type='name' locale='ru_RU'}
			
Иван Петров
macros.name.description.4
{generate type='name' format='first'}
			
Tyler
macros.name.description.5
{generate type='name' format='last'}
			
Durden
macros.name.description.6
{generate type='name' format='first' gender='female'}
			
Marla
macros.name.description.7
{generate type='name' format='first' gender='male'}
			
Tyler
macros.name.description.8
{generate type='name' format='both'}
			
Thomas Anderson
macros.name.description.9
{generate type='name' format='both_reverse'}
			
Anderson Thomas
Number
* macros.number.caption Format - unpaired..
Description Macros Result
macros.number.description.1
{generate type='number'}
43
macros.number.description.2
{generate type='number' min='10' max='100'}
54
macros.number.description.3
{generate type='number' count='5'}
82363
macros.number.description.4
{generate type='number' id='01'}
{generate type='number' id='01'}
43
43
macros.number.description.5
{generate type='float'}
12,64
macros.number.description.6
{generate type='float' min='100' max='300'}
128,64
macros.number.description.7
{generate type='float' count='8'}
123456,78
macros.number.description.8
{generate type='float' decimals='4'}
12,1234
Date
* macros.date.caption Format - unpaired..
Description Macros Result
macros.date.description.1
{generate type='date'}
2019-01-23 12:34:51
macros.date.description.2
{generate type='date' id='01'}
{generate type='date' id='01'}
2019-01-23 12:34:51
2019-01-23 12:34:51
macros.date.description.3
{generate type='date' format='timestamp'}
1437889193
macros.date.description.4
{generate type='date' format='Y-m-d H:i:s'}
2019-01-23 12:34:51
macros.date.description.5
{generate type='date' min='2016-01-15' max='2018-12-31'}
2017-01-23 12:34:51
macros.date.description.6
{generate type='date' now}
2019-05-12 12:34:51
String
* macros.string.caption Format - unpaired..
Description Macros Result
macros.string.description.1
{generate type='string'}
qB7vGnnyYADyYx2Gb2...
macros.string.description.2
{generate type='string' id='01'}
{generate type='string' id='01'}
qB7vGnnyYADyYx2Gb2...
qB7vGnnyYADyYx2Gb2...
macros.string.description.3
{generate type='string' min='2' max='3'}
J1jhuS
macros.string.description.4
{generate type='string' count='12'}
BPkPsi5smJir
macros.string.description.5
{generate type='string' upper}
SDGIOCXLERP...
macros.string.description.6
{generate type='string' lower}
sdjixcownewfme...
macros.string.description.7
{generate type='string' min='2' max='3' lower}
abc
macros.string.description.8
{generate type='string' numbers}
12472389729034873...
macros.string.description.9
{generate type='string' special}
!@$@#%#$&^@%^%&^...
macros.string.description.10
{generate type='regex' 
pattern='[A-Z]{2}[0-9]{4}-[a-z]{3}'}
KX3829-abc
Addsimbol
* macros.addsimbol.caption Format - paired..
Description Macros Result
macros.addsimbol.description.1
{addsimbol min='1' max='20' symbol='#'}Hello world hello world hello{/addsimbol}
He#llo wor#ld hel#lo wor#ld hello
macros.addsimbol.description.2
{addspace min='1' max='20'}Random characters generation macro{/addspace}
Rand om char acters gener ation macro
Repeat
* macros.repeat.caption Format - paired..
Description Macros Result
macros.repeat.description.1
{repeat}word.{/repeat}
word.word.word.word.word.word.
macros.repeat.description.2
{repeat min='1' max='4'}word.{/repeat}
word.word.word.
macros.repeat.description.3
{repeat count='3'}word.{/repeat}
word.word.word.
Chance
* macros.chance.caption Format - paired..
Description Macros Result
macros.chance.description.1
{chance percent='50'}content{/chance}
content
Shuffle
* macros.shuffle.caption Format - paired..
Description Macros Result
macros.shuffle.description.1
{shuffle}Coffee|Tea|Juice|Water{/shuffle}
Juice
macros.shuffle.description.2
{shuffle type='tag'}{i}Pizza{/i}{i}Burger{/i}{i}Sushi{/i}{i}Pasta{/i}{/shuffle}
SushiPastaPizzaBurger
macros.shuffle.description.3
{shuffle type='word'}Never gonna give you up{/shuffle}
you give up Never gonna
macros.shuffle.description.4
{shuffle type='letter'}Matrix{/shuffle}
rxiatM
macros.shuffle.description.5
{shuffle type='sentence'}Wake up, Neo. The Matrix has you. Follow the white rabbit.{/shuffle}
Follow the white rabbit. Wake up, Neo. The Matrix has you.
macros.shuffle.description.6
{shuffle type='row'}
Tyler Durden
Marla Singer
Robert Paulson
{/shuffle}
Robert Paulson
Tyler Durden
Marla Singer
Encode
* macros.encode.caption Format - paired..
Description Macros Result
macros.encode.description.1
{encode encoding='base64'}Hello, World!{/encode}
SGVsbG8sIFdvcmxkIQ==
macros.encode.description.2
{encode encoding='quoted'}Привет{/encode}
=D0=9F=D1=80=D0=B8=D0=B2=D0=B5=D1=82
macros.encode.description.3
{encode encoding='ascii'}Привет Мир{/encode}
privet_mir
macros.encode.description.4
{encode charset='utf8'}Hello, World!{/encode}
SGVsbG8sIFdvcmxkIQ==
macros.encode.description.5
{encode charset='cp1251'}Привет{/encode}
0PDoslXC
Locale
* The tag changes the default location. By default, all generations are done in English. However, if you are sending Russian text and need Russian generations, place this tag at the beginning of the email. The tag works in a top-down priority. Format - unpaired.
Description Macros Result
Generates random cohesive content, words, paragraphs, sentences. Default location.
{locale locale='en_US'}
English
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='ru_RU'}
Russian
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='al_AL'}
Albanian
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='am_AM'}
Arabic
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='az_AZ'}
Azerbaijani
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='da_DA'}
Danish
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='de_DE'}
German
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='el_EL'}
Greek
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='es_ES'}
Spanish
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='fl_FL'}
Finnish
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='fr_FR'}
French
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='hu_HU'}
Hungarian
Generates random cohesive content, words, paragraphs, sentences.
{locale locale='it_IT'}
Italian
Info
* Format - unpaired.. The tag provides various information that can be used in the email or subject.
Description Macros Result
The address to which the email is sent.

Works in modules such as Outlook Mail.com, Gmx.com.
{info type='email_email'}
The address to which the email is sent, encoded in Base64.

Works in the Outlook module.
{to_email_b64}
Y2xpZW50L ... 21haW4uY29t
The subscriber's name from the database to which the email is sent.

Works in modules such as Outlook, Mail.com, Gmx.com.
{info type='email_name'}
Client Name
The subscriber’s name is automatically generated from the part of their email address that comes before the @ symbol, using artificial intelligence.

Works in the Outlook module.
{name_to_subscribe}
Client Name
The name of the Outlook account from which the email is sent.

Works in the Outlook module.
{first_name_of_acc_outlook}
Name acc Outlook
The surname of the Outlook account from which the email is sent.

Works in the Outlook module.
{second_name_of_acc_outlook}
Surname acc Outlook
Headers
* Информация
Description Macros Result
Displays the domain from which the mailing is sent.
{shortcode code='name_for_email'}
example.com
An unsubscribe link will be generated.
{unsubscribe_link}
example.com
The address to which the email is sent. Works in SMTP.
{recipient_email}