Skip to main content
All CollectionsIntegrationsShopware 6Shopware Flows
Enrol contacts in programs with Shopware flow builder
Enrol contacts in programs with Shopware flow builder

Automate responses to events that happen in your Shopware store.

Gareth Burroughes avatar
Written by Gareth Burroughes
Updated over a year ago

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 enrol 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:

  1. In Shopware, go to Settings > Flow Builder and select Add flow.

    mceclip0.png

  2. Enter your flow’s general information, including: Name, Description, and Priority.

  3. Turn on the Active toggle to set your flow to active.

    Alternatively, you can come back and activate your flow at the end.


    mceclip1.png

  4. Select the Flow tab at the top.


    mceclip2.png

  5. Expand the Trigger drop-down menu and choose a trigger.

    For this example we will expand the Newsletter drop-down menu and choose Register.


    mceclip3.png

2. Add an action

Next, we need to add enrolling a contact in a program as a response to the trigger:

  1. On the Add conditions or actions menu, select Add action (THEN).

  2. Expand the Action drop-down menu and select Enroll a contact in a program.

    mceclip4.png

3. Enrol contacts in a program

  1. Expand the Email address drop-down menu and choose which contact you want to enrol in a program.

    For this example, we want to enrol 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.

    mceclip5.png
  2. 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.

    mceclip6.png

4. Add or update contact data fields (optional)

Choose Dotdigital data fields and Shopware values you want to add or update to your contacts:

  1. Expand the Dotdigital data field drop-down menu and choose the data field.

  2. 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.

  3. Select the check mark icon to save the settings.

    • You can add additional data fields and variables by selecting the settings (⋯) icon on a blank row and selecting Edit.


      mceclip7.png
  4. To save, select Add Action.

Did this answer your question?