You can use Shopware Flow Builder to trigger enrolling contacts in your Dotdigital programs.
Before you start
Things you need to know:
The Dotdigital for Shopware Flow Builder extension must be installed and enabled on your Shopware account.
We recommend you test your Shopware flows before activating them.
You need a Dotdigital program for your contacts to enroll in.
You need Dotdigital data fields and their corresponding Shopware values and variables.
1. Set the trigger
The first step is to choose what event you want to trigger enrolling contacts in your program:
In Shopware, go to Settings > Flow Builder and select Add flow.
Enter your flow’s general information, including: Name, Description, and Priority.
Turn on the Active toggle to set your flow to active.
Alternatively, you can come back and activate your flow at the end.
Select the Flow tab at the top.
Expand the Trigger drop-down menu and choose a trigger.
For this example we will expand the Newsletter drop-down menu and choose Register.
2. Add an action
Next, we need to add enrolling a contact in a program as a response to the trigger:
On the Add conditions or actions menu, select Add action (THEN).
Expand the Action drop-down menu and select Enroll a contact in a program.
3. Enrol contacts in a program
Expand the Email address drop-down menu and choose which contact you want to enroll in a program.
For this example, we want to enroll contacts that have registered for our newsletters, so we will leave it set as Newsletter recipient.
If you want to test your flow, select Custom and enter your admin email address.
Expand the Program drop-down menu and choose the program you want to enrol your contacts in.
The full list of your Dotdigital programs are synced and available to choose. Use the search bar to find a specific program from the list.
4. Add or update contact data fields (optional)
Choose Dotdigital data fields and Shopware values you want to add or update to your contacts:
Expand the Dotdigital data field drop-down menu and choose the data field.
Enter a corresponding Shopware value.
For this example we will add the Dotdigital data field: Location and Shopware value: UK
Alternatively, you can add a Shopware variable instead of a value. Learn more in Email templates.
Select the check mark icon to save the settings.
To save, select Add Action.