Triggers
Overview¶
Triggered emails are yet another powerful feature of Mailjet’s PrestaShop module. This allows you, the merchant, to better guide your clients down the conversion funnel.
You will be able to send automated marketing messages to your customer base that fulfill the various trigger criteria scenarios. These messages are triggered based on an action, non-action, or specific event on a selected time/date. Here are a few examples:
- Your client has abandoned their shopping cart and you would like to encourage them to come back and complete their transaction
- A special discount or free gift on a customer’s Birthday Month or Purchase Anniversary shows that you care about them as individual
- “We miss you” emails sent to inactive prospects who have not made purchases in several months can help convert them to regular paying clients once again
Triggered emails are always relevant, personalized and timely.
Reach out to your customers when they want to hear from you the most!
Warning
There is a limitation on PrestaShop’s end for the size of the text in your automated message templates. It should not exceed 64 KB in total. This means that if you have one active trigger, the text size for its template should not exceed 64 KB, but if you have three, for example, text size limit for all templates together is 64 KB.
Activating Triggers¶
From the Home screen, click on ‘Triggers’ from the menu.
The very first step is to integrate the CRON job shown on the screen:
Before continuing, please highlight the URL and copy it to your clipboard.
Cron Job¶
Cron is a utility that schedules tasks to be run automatically at a specified time and date. These scheduled tasks are called ‘Cron Jobs’ and they are very easy to integrate into PrestaShop!
In this case, we are using a Cron Job that will automatically send the marketing email once the trigger (action, non-action, or event) has been met. For example, if the Birthday marketing email is enabled, an email will automatically be sent by the Cron job on a customer’s birthday.
-
The first step is add the ‘Cron tasks manager’ module into PrestaShop. From the main menu, go to ‘Modules → ‘Modules & Services’.
-
If the Cron tasks manager has not yet been installed, you should submit a search for the word cron in the ‘Selection’ tab’s search field. You will see ‘Cron tasks manager’ - click on ‘Install’.
If the module is installed already, search for cron in the ‘Installed Modules’ tab.
-
Once the installation has been successfully completed, click on the ‘Configure’ button.
-
In the Cron module’s ‘Settings’ section select the ‘Basic’ mode and click on ‘Save’.
-
To add a new Cron task, click on the ‘+‘ button under ‘Cron Tasks’.
Fill in the following fields:
- Description: enter a name for the task (for internal use only)
- Target Link: paste the URL from your clipboard
- Frequency: select time and occurrence (daily at 5pm; every week at 3am; etc.)
Note
If the Cron Job will be used to send birthday and anniversary emails, it is recommended that it run daily.
Once completed, click on ‘Save’.
-
Congrats on creating your first Cron task!
How to Configure Triggers¶
-
Now that the CRON job has been added, go back to the ‘Triggers’ page and click on ‘YES’ to activate the Triggered emails.
You will be asked to select a Sender Address for the triggered emails - this email address needs to be verified in your Mailjet account.
The screen will expand to show all available triggers:
-
Now you are able to select the triggers you want to use, and customize each one.
Note
Segmentation is not available for the triggered email feature. Each person in your customer base can receive a triggered email.
To enable a specific trigger, select the ‘YES’ radio button. A ‘Settings’ button will appear - click on it to continue.
-
A ‘Settings’ screen will appear showing:
- Specific options for the selected trigger - timeframe or discount, depending on the trigger.
- Possible language displays – currently English or French
- Subject Line & Body (with default text)
- A full HTML Editor – insert images, videos, tables, custom variables and everything you need to engage and connect with your prospect/customer
Below you can see a closer look at each trigger’s possible settings.
- Abandoned Cart Email
Set the minutes, hours, days or months since the end user has abandoned their shopping cart, after which the email should be sent.
- Email followup after payment failure (canceled or blocked)
Set the minutes, hours, days or months since a purchase payment has failed, after which the email should be sent.
- Order pending payment
Set the minutes, hours, days or months since the payment has been pending, after which the email should be sent.
- Birthday Promo
Enter the reduction by Percentage (%) or Amount ($, €, £) to be sent to a client on their birthday (providing that you collected and stored this information from your clients).
- Purchase Anniversary Promo
‘Anniversary’ by definition means the event happened in the past on the same date (it is a yearly event).
Enter the reduction by Percentage (%) or Amount* ($, €, £) of the Anniversary Promo.
- Reconnect with a client that hasn’t order since XYZ time
‘Reconnect … since XYZ time’ will let you send the trigger xx months (or days, hours, minutes) after the client’s last purchase.
Set the desired minutes, hours, days or months, after which the email should be sent.
Note
All clients of your PrestaShop merchant site that fulfil the trigger criteria above will receive a ‘Reconnect’ email. This means your entire customer database may receive the above triggered emails.
- Satisfaction Survey
Set the minutes, hours, days or months, after which a follow-up survey email should be sent to your customer. This is a great way to get proactive feedback from your clients to see what’s working or what may need improvement.
- Loyalty Points Reminder
Set the minutes, hours, days or months, after which the email should be sent.
Saving Triggers¶
To save changes made to any triggers at any time, simply click on the ‘Save Changes’ button located near the top of the screen.
Import / Export Triggers¶
From time to time it is useful to make a backup of your triggers, especially in cases where a new version of the Mailjet module has been released and you need to update it. To do that, you can use the ‘Triggers Import/Export’ option.
Simply click on ‘Export’ and the triggers will be downloaded onto your computer in the form or a Mailjet_Trigger_Templates.txt file. Once the module has been updated, simply go back to the ‘Triggers Import/Export’ section, select the file from your computer and ‘Import’ it.
You will see an ‘Successful update’ message. and the respective triggers will have been imported and automatically activated.