Tags are the way that AutomatorWP uses to pass information between triggers and actions.

Tags let’s you setup dynamic content on actions options, for example, on the “Send email to the user” WordPress action you can send the email to a static email, to the user that completes the automation or included, if you have added the trigger “User views a post”, send the email to the post author.

Using tags

When you edit an action option, you will see a button at right of some action fields like this:

Clicking on this button, will show you the list of all available tags:

There are 3 different groups of tags:

Site tags: Those tags refers to information from your site like the site name, the site URL or the admin email.

User tags: Those tags refers to information from the user that completed the automation and include differents tags like the user email, display name, first name, etc.

Trigger tags: Those tags will appear dynamically every time you add a new trigger to the automation and they refer to information from trigger.

Every trigger has different tags, for example, the trigger “User views a post” includes tags to refer to the post visited like the post title, the post excerpt or included the post author email.

At the moment you click on any tag, it will be added to the field (at caret position):

User and post meta tags

User and post meta tags are able to place meta data on action’s fields.

User meta tag sample:

Post meta tag sample:

On both tags, you need to replace the META_KEY text by the meta key you want to display.

For example, the user’s biographical description is stored in the meta key “description”, so the tag needed to display it is {user_meta:description}.

An example of a post meta could be, for example, a plugin that stores the posts visits on the meta “_visits”, so the tag needed to display it is {TRIGGER_ID:post_meta:_visits} (the “TRIGGER_ID” is the trigger’s ID where you want the get the meta from).