> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.personizely.net/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to fix the Shopify Marketing Automation Flow?

This tutorial will guide you through the steps to establish a working marketing automation flow in Shopify, using an alternative trigger when subscription events are not properly captured.

#### Personizely form automation
To send the visitor input data to Shopify, an automation must be established.

1. Edit the Form or Subscribe element in your widget
2. Click on `Add` in the Automation section from the sidebar menu
3. Select `Shopify` where the action should take place in.
4. Select `Add customer` as the action type
5. Optionally add custom tags.

NOTE: The `Personizely` tag is automatically present.

![Personizely form automation](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot-at-feb-03-15-41-40_1jtr117.png)

#### Shopify Automation Flow
The flow provided initiates when a customer is created, checks for a `Personizely` tag, and sends a marketing email if the condition is met.

1. Navigate to `Marketing` => `Automations` in Shopify admin.
2. Select `Create automation` or modify the existing draft.
3. Use `Customer created` as a trigger.
4. Check for `Personizely` tag
5. Send the Marketing Email.

![Automation example in-draft](https://storage.crisp.chat/users/helpdesk/website/30a06a2316be0a00/screenshot407_xzubjf.png)

By following these steps to fix your Shopify marketing automation flow, you'll ensure that your marketing emails are sent effectively to new customers that are collected via list-building widgets