Learn how to send SMS messages to remind your customers of their abandoned carts in your Magento store.
Overview
Use abandoned cart SMS messages, as part of a triggered abandoned cart program, to automatically send text message reminders to your contacts after they add products to their cart but don't complete the purchase.
You can only send abandoned cart SMS messages to your contacts if you have their mobile phone number.
Our abandoned cart SMS program template helps you quickly get set up and sending SMS abandoned cart messages to your contacts. This article shows you how to configure the program template to fit your needs.
Before you start
Things you need to know:
- Your store must be on Magento 2
- Your Magento store must have the
@ABANDONED_PROD_NAME@
data field created and mapped. - You must have:
- a Triggered SMS channel profile.
To learn more, check out the article Program messaging channel: SMS.
- a triggered email campaign that contains an Abandoned Cart block to show the cart contents and a Back to cart button.
- a contact data field that contains your contacts' phone numbers.
In this example, we've called this data field TELEPHONE.
- a Triggered SMS channel profile.
Set up abandoned cart SMS messages with Magento
Abandoned cart SMS is set up using our program builder template. To set up abandoned cart SMS messages in your Magento store:
Step 1: Create a Triggered SMS profile
- In Dotdigital, go to Settings > Channel management > Triggered SMS.
- Select +New profile.
- To name your profile, under the title New profile, select the current name. Enter a new name in the box, then select the green checkmark to save.
- Expand the SMS 'from' name drop-down menu, then choose the from name you want to use for this profile.
- To match your mobile number data fields, expand the Mobile number data field drop-down menu, and choose the data field you use to store contact's mobile phone numbers.
- For Status, select Enabled.
- Select Save.
Step 2: Create an abandoned cart program
To create an abandoned cart program:
- In Dotdigital, go to Email > Automation > All programs.
- On Choose a template, under the heading SMS, select SMS - Abandoned cart.
- Enter a name for your program, and choose a location.
- Select Continue.
Step 3: The Start node
To set up the start node:
- Select the start node.
- For Scheduled enrolment, select No scheduled enrolment.
This is because the abandoned cart trigger is managed outside the program.
- Select Apply.
Step 4: Edit the first decision node
To set up the first decision node:
- Select the first decision node.
- For Maximum wait time, select Immediately.
- For Condition, select Select condition, then select Present in the selected segment.
- Select +Create New.
- On the segment editor, drag the Insight data block into the Include box.
- Expand the drop-down menu and select CartInsight.
- For Contact filter, select Number of, and then add the filter The number of records is greater than or equal to 1.
- For Record filters, add two filters:
modifieddate occurs today
- and
cartPhase is equal to ORDER_COMPLETE
.
- Select Okay.
Step 5: Edit the second decision node
To set up the second decision node:
- Select the second decision node.
- For Maximum wait time, select Immediately.
- For Condition, select Select condition, then select Contact data field rule.
- Expand the data field drop-down menu and select TELEPHONE.
- Expand the rule drop-down menu and select is empty.
- Select Apply.
Step 6: Choose an email campaign
Choose an email campaign to send if your contact doesn’t have a mobile number. To choose an email campaign:
- Select the Campaign block.
- Select Select Campaign and choose the abandoned campaign you want to use.
You campaign must use an abandoned cart block to display the cart contents. To learn more, check out our article Add abandoned cart details to your campaign.
- Select Apply.
Step 7: Set up the SMS node
Next you set up you SMS message content and settings. To set up the SMS node:
- Select the SMS node.
- In the Message box, enter your abandoned cart message.
- For Expire after, choose a time you would like your SMS to expire after if undelivered.
- Select Apply.
That's it! Your contacts exit the program once they reach the End node.