> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hoppyapps.com/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 Trigger Shopify Flow When Someone Subscribes

Want to send a welcome email, tag a customer or notify your team every time someone subscribes through your bar? Hoppy Announcement Bar adds a trigger to **Shopify Flow** that fires whenever a visitor submits an email through an Email Collection Bar ⚡

---

# **✅ Before You Begin**

* **Shopify Flow** is installed on your store (it is a separate Shopify app).
* You have a published **Email Collection Bar**. See **How to Setup an Announcement Email Collection Bar**.
* Optional: turn on the Shopify customer list integration if you want the trigger to include a customer. See **How to Send Announcement Bar Subscribers to Shopify**.

---

# **⚡ The Trigger**

The trigger is named **📩 Email Announcement Bar Submitted**. Its description reads: "Triggers when a customer submits an email announcement banner. Provides banner and customer details for automation workflows."

It provides these values to your workflow:

| Field | What it contains |
| ----- | ----- |
| **Banner ID** | The Announcement ID of the bar that collected the email |
| **Customer Email** | The email the visitor entered |
| **Page URL** | The page where the visitor subscribed |
| **Customer** and **Customer Id** | The Shopify customer, when one was created or matched by the integration |

In Flow's variable picker these values may be listed by their field keys: `bannerId`, `customerEmail`, `pageUrl` and `customerId`.

---

# **🛠️ Step 1 — Create a Workflow**

➡️ Open the **Shopify Flow** app from your Shopify Admin.

➡️ Click **Create workflow**.

➡️ Click **Select a trigger** and search for **Email Announcement Bar Submitted**.

➡️ Select it.

---

# **⚙️ Step 2 — Add Conditions and Actions**

Add the steps you want, using the values from the trigger. Ideas:

* Send an internal notification when a new email arrives
* Add a customer tag, using the **Customer** value
* Send the email to another tool connected to Flow

💡 To run a workflow for one bar only, add a condition that checks **Banner ID** against that bar's Announcement ID. See **How to Find Announcement Bar ID**.

---

# **🚀 Step 3 — Turn the Workflow On**

➡️ Save the workflow and switch it on.

➡️ Test it: open your storefront in an Incognito window, submit a test email through the bar and check the workflow's run history in Flow.

---

# **⚠️ Important Notes**

* The trigger fires only for **new** subscriptions. If the same email is submitted again on the same bar, the bar shows "You're already subscribed" and the trigger does not fire again.
* **Customer** and **Customer Id** are only filled when the Shopify customer list integration is enabled and a customer was created or matched. Otherwise only the email, banner and page data are available.
* The trigger only applies to Email Collection Bars, not Simple, Running or Multiple bars.

---

# **🛠️ Troubleshooting**

**The trigger does not appear in Flow.**
Make sure the app is installed and up to date, then reload Flow. If it is still missing, contact support via chat.

**The workflow does not run.**
Check the workflow is turned on, the bar is published, and you are testing with an email that has not already been submitted on that bar.

---

# **🎉 Final Result**

✅ Every new subscription starts your Flow workflow
✅ You can use the banner, email and page details in your automation