How to use Template Actions

Hide or customize events by product title, customer name, and more through Fomo Template Actions.

Fomo avatar
Written by Fomo
Updated over a week ago

If you have specific products that you want to exclude from your Fomo notifications, you can now handle this all from within your templates.

Previously we had Page Rules that allow you to show/hide Fomo templates on different pages, based on the URL path.

Now in addition to page rules, we have Template Actions that allow for more granular configurations without having to deal with your webhooks or import data.

You can select the template you want to edit by going to Notifications, locating the template you want to add an action to, and clicking 'edit'.

Once inside the template, click the Actions button on the left:

Now you'll be able to create something like this:

This action would prevent any transactions containing the words "product insurance" from creating notifications.

For a different example...

This action would automatically change the product title for any transactions containing the term "blood orange" in the title to "gala apples."

Conversely if you only wanted one product to come through and be converted into Fomo notifications while blocking all of your other products, you could change the third condition from 'equals' to 'does not contain', so it would read
if 'title' does not contain 'x' -> then do not create event.

There are so many different things that can be done using Template Actions! If you have any questions or would like some help configuring them, feel free to reach out to us on live chat or via our support email at hello@fomo.com. 

Did this answer your question?