Learn how to use Shopware Flow Builder to trigger transactional email sends.
Overview
You can use Shopware Flow Builder to trigger sends of your Dotdigital transactional emails. This is a useful way to automate responses to events that happen in your Shopware store using your Dotdigital created content.
Before you start
Things you need to know:
- The Dotdigital for Shopware - Flow Builder extension must be installed and enabled on your Shopware account.
To learn more, check out the article Install and enable the Dotdigital for Shopware Flow Builder extension.
- We recommend you test your Shopware flows before activating them.
To learn more, check out the Shopware article Flow Builder.
- You need a triggered transactional email campaign ready in your Dotdigital account.
To learn more, check out the category Transactional email.
- You must adhere to our transactional email content rules.
To learn more, check out the article Create, design, and send a transactional email template.
1. Create a transactional email trigger
The first step is to choose what you want to trigger your transactional email sends.
- 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’ll expand the Newsletter drop-down menu and choose Register.
2. Add a transactional email action
Next we need to add a transactional email send 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 Send email with Dotdigital.
3. Enter your recipients
Choose who you want to send your transactional email to.
- Expand the Recipient drop-down menu and choose who you want to send your transactional email to.
For this example, we want to send to multiple emails addresses, so we’ll choose Custom.
- For Email address or Shopware variable, enter the email address or Shopware variable you want the transactional email to send to.
For this example:
- We will add the Shopware variable {{ newsletterRecipient }} so it also sends to our customer.
- We will also add our account’s admin email to let us know a new customer has registered.
4. Enter your transactional email ID
The final step is to find your transactional email campaign ID in Dotdigital and add it to the flow.
- Find and open your triggered campaign in Dotdigital.
- Copy the digits from the last part of the URL.
This is your campaign's ID.
- In Shopware, for Triggered campaign ID, paste your triggered campaign’s ID number.
- Select Add Action.
- Select Save.