Reactivate contacts who have subscribed to discounted product alerts, notifying them on the day that the product they’ve subscribed to is on sale.
In this article you’ll learn how to set up a sale alert (part two).
How it works
After segmenting the products in the Discounted product alert 1/2 workflow, we’ll set up an email to be sent as soon as we identify that the product is back in stock.
Once the email has been sent, we’ll check if the contact is still subscribed to a product and, if not, remove them from the segment.
Workflow configuration
STEP 1. "Start" node
(This node will set the target audience for the action).
1. Click (Edit node settings) for the “Start” node.
2. Under Select limitation, check "Is in segment" and in the dropdown select the segment created to group contacts who want to receive the discounted product notification.
3. Under Select data source, check “All existing and new”.
4. Click Update.
STEP 2. “Schedule” node
(This node will re-enter contacts into the workflow.)
5. Click (Edit node settings) for the “Schedule” node.
6. Select how frequently you want it to repeat, in this case "Daily", and then select "Every day".
7. Under At this time of day select the time and time zone, in this case, "9:00" and "Europe/Madrid".
8. Click Update.
STEP 3. “Fetch products” node
(This node will fetch the discounted product to which the contact is subscribed).
9. Click (Edit node settings) in the “Fetch products” node.
10. To select the use cases, drag "Filtered products" to the block on the right and click Next .
11. In Main use case settings,select "1" for Number of products to fetch.
12. In Select the origin of products, choose "In a product segment" in the first selector and, in the second, the created segment. In this case, "Discounted products".
13. Under Configure conditions to define a specific set of products click + Add another condition and select "External product ID" from the dropdown menu. In the operator, choose "Is equal to." On the right, select "Imported data" and, after clicking "Select imported data", choose the custom field created, for this example "Contact id-product1-alert". Click Next .
14. In Summary, locate the section Number of products to fetch and indicate “1”. Next, uncheck the “Fill with products until selected limit” box.
15. Click Complete .
STEP 4. First “Check value” node
(This node checks if the size of the returned list of recommended products is greater than 0).
16. At the junction of this node with the previous one, click on the circle until "Yes" appears.
17. Click (Edit node settings) of the “Check value” node.
18. Drag the "List size" field from "Fetch products" to the block on the left.
19. In the Operator column, select "Is greater than or equal to”.
20. Drag the Literal field to the block on the right and set a value of "0".
21. Click Update.
STEP 5. “Send email” node
(This node will send the email with the discounted product).
22. At the junction of this node with the previous one, click on the circle until "Yes" appears.
23. Click (Edit node settings) in the “Send email” node.
24. Select the email you want to send and click Next .
25. In the Send to section, select "Contact".
26. Indicate the "Newsletter" type of email.
27. Configure the parameters section of "Send to contact".
28. Under Google Analytics, click "Enable Google Analytics" then Next .
29. In the Variables step, link any variables there may be.
30. Click Complete .
STEP 6. “Set field” node
(This node will clear the product ID from the custom field.)
31. Click (Edit node settings) for the “Set field” node.
32. Drag the "Literal" field to the block on the left of the created field to store a product ID.
33. Next, in the central Operator, select "Assign."
34. Click Update.
STEP 7. Second “Check value” node
(This node will identify whether the other custom field created is empty.)
35. Click (Edit node settings) of the “Check value” node.
36. Drag the field created for the other product from "Contact" to the block on the left.
37. Then under Operator, select "Is empty".
38. Click Update.
STEP 8. “Remove from segment” node
(This node will delete the contact from the previously created segment).
39. At the junction of this node with the previous one, click on the circle until "Yes" appears.
40. Click (Edit node settings) of the “Check value” node.
41. Under Select a segment, choose the previously created segment from the dropdown menu.
42. Click Update.
Keep learning!
To make the most of your Connectif account, we recommend reading these articles next:
- Discounted product alert 1/2, for the contact to subscribe to a discounted product alert.
- Back in stock alert 1/2, for contacts to subscribe to a back-in-stock product alert.
- Back in stock alert 2/2, to notify the contact that they have subscribed to the product back in stock alert.
- Weekly campaign with personalized product, to send a weekly push notification with a recommended product to all your contacts.