In custom integrations, you can add a button to your content that allows your contacts to directly recover their abandoned carts.
In this article, you will learn how to send a cart recovery link via email. This process can be applied to any type of content created in Connectif.
Before you start: prerequisites
- On the website side, an internal function must be created to detect a URL with a special parameter to regenerate the user's cart
- In Connectif, the native cart URL of the website must be used along with the parameter created in the previous step, assigned the value "Tokenized Cart" included in the "On Cart Abandonment" and "Get Last Cart" nodes
- Your technical team must implement a solution to process a URL with an included parameter, e.g., "www.example.com/cart?token=". The goal is for the eCommerce to read that token from the URL and turn it into a cart for the current session of the visiting contact.
STEP 1: Creating the Email
1. Go to “Content > Email” and click Create new email.
2. Design your content to fit your strategy.
3. Include at least one Button element.
4. Go to the Button element's settings.
5. In the Text area, type the text that will appear on the button.
6. In the Button link area, enter the special parameter URL developed by your team, and right after it, place a variable such as: {{Tokenisedcart}}
7. Once your email design is complete, save it.
STEP 2: Creating the workflow with the content that includes the button
8. Go to “Workflows” and click Create new workflow.
9. Add a "On Cart Abandonment" node to your workflow.
10. In the Limitations tab, disable the Disable after firing limitation and add a time limitation of 1 day so this workflow sends at most once per day per contact.
11. Connect the “On Cart Abandonment” node to the “Send Email” node.
12. Go to the "Send email" node's settings.
13. Select the email you just created and configure the sending.
14. In the final step of the node settings, Variables, link the Tokenized Cart field to the variable you added in the cart recovery link. This way, the cart information from the "On Cart Abandonment" node will be included in the link variable so the contact receives their specific abandoned cart.
15. Click Apply.
16. Save and activate your workflow.
Keep learning!
To make the most of your Connectif account, we recommend continuing with the following articles:
- Abandoned cart recovery, to recover purchases that were not completed.
- Cart recovery before abandonment for anonymous users, to show a cart popup before the visitor leaves the site.
- Abandoned cart recovery funnel, to send a sequence of emails after a cart is abandoned.
- Identifying abandoned carts in Connectif, to learn how to use abandoned carts.