---
title: >-
  Automating Your Shop with Flow Builder and Flow Sharing | Shopware Community
  Hub
description: >-
  Learn how to build and share Flow Builder workflows in Shopware Rise so you
  can reuse proven automations, test them in other environments, and support
  more…
canonical_url: 'https://hub.shopware.com/learn/unit/user-flow-builder-webhooks'
---

# Automating Your Shop with Flow Builder and Flow Sharing

<LearningObjectives>

- Understand the purpose and capabilities of Shopware’s Flow Builder.
- Create automated workflows using triggers, conditions, and actions.
- Build a welcome email flow triggered by new customer registration.
- Set up personalized flows for scenarios like abandoned carts and VIP rewards.
- Use conditional logic to tailor messages and automate operations.
- Configure low stock alerts for proactive inventory management.
- Export and import flows to share or test in different environments.
- Improve customer experience and operational efficiency through automation.

</LearningObjectives>

# Automating Your Shop with Flow Builder and Flow Sharing

Flow Builder is Shopware's no-coding automation tool that allows you to create workflows using triggers, conditions, and actions. It automates repetitive tasks, ensuring efficiency and a better customer experience.  

## Automate Your Store with Flow Builder

At Strum & Co., a new customer just signed up. Instead of sending manual emails, you use Shopware Flow Builder to automatically send a personalized welcome message to provide good experience.

This learning unit also shows how to share that kind of proven flow with another environment instead of rebuilding it manually.

<ShopdevInstance plugin="lp15" step="DoNotDisplay" plan="rise" />

<CollapsibleGroup>

<CollapsibleSection title="Reminder: Creating a Basic Flow">

If you want a quick refresher on creating a basic flow from scratch, use the following reminder. If you already know this part, you can skip ahead to the flow-sharing section below.

1. **Access the Flow Builder**  
   - Log into your Shopware admin panel.  
   - Navigate to **Settings -> Flow Builder**.

   ![Settings](./assets/settings_page.jpg)

   - Here, you'll see an overview of existing flows. Let's create a new one.

   ![Flow builder setting](./assets/flow_charts.jpg)

2. **Define the Flow**
   - Click **Add Flow** and name it: *Welcome New Customer*.
   - Add a description for clarity:  
     > "Automatically sends a welcome email after customer registration."
   - Set the priority to **5**.
   - Activate it.

       ![Add flow](./assets/add_flow.jpg)

3. **Set the Trigger**
   - Go to the Flow tab.
   - Select **Customer -> Group -> Registration -> Accepted** as the trigger.

       ![Add trigger](./assets/add_trigger.jpg)

4. **Add the Action**  
   - Select the action to **send email**.
       ![Add action](./assets/add_action.jpg)
   - Customize the email
      - Select the template "Customer Registration"
       ![Template](./assets/template.jpg)
      - Open the email template and customize it as necessary by filling in the Subject and mail text:
       ![Email template](./assets/email_template.jpg)
   - Save it.
   - You can also get back to the flow and add any attachments if required.
      ![Save flow](./assets/save_flow.jpg)
   - Save action and save flow.

5. **Test the Workflow**  
   - Simulate the flow to ensure emails are triggered correctly when a new user gets registered.

<Callout title="Mailer Setup" type="info">

Make sure your email sender is set up correctly under Settings -> Mailer. Without proper SMTP or mailer configuration, your automated emails won’t be delivered.

</Callout>

</CollapsibleSection>

</CollapsibleGroup>

## Practical Applications for Strum & Co

Now that you've mastered a basic workflow, let's explore more ways to use Flow Builder for your music shop:  

### Scenario 1: Abandoned Cart Recovery

Customers sometimes add items like **Acoustic Guitars** or **Guitar Picks** to their cart but don't complete the purchase. With Flow Builder, you can send timely reminders to encourage them to return.

**Steps**:  

1. **Trigger**: Cart Abandoned  
2. **Condition**: Cart value > $50 (or customize based on product type).  
3. **Action**:  
   - Send an email with a personalized message and a discount code:  
     > "Complete your purchase and enjoy 10% off! Use code STRUM10."  

### **Scenario 2: Rewarding VIP Customers**  

Your loyal customers deserve special treatment. Create a workflow to reward those who've spent more than $1,000 in your store.  

**Steps**:  

1. **Trigger**: Customer places an order.  
2. **Condition**: Total lifetime spend > $1,000.  
3. **Action**:  
   - Send a thank-you email with a gift card or exclusive discount.  
   - Notify the admin to include a handwritten thank-you note with the next order.  

### **Scenario 3: Personalized Order Confirmation Emails**  

Send order confirmation emails with tailored recommendations based on the products purchased. For example, if a customer buys an **Electric Guitar**, suggest a compatible **Guitar Stand** or **Amp**.  

**Steps**:  

1. **Trigger**: Order Placed  
2. **Condition**: Product purchased = Electric Guitars.  
3. **Action**: Send an email with product suggestions and links.  

### **Scenario 4: Low Stock Alerts for Admins**  

Stay on top of inventory with automated alerts.  

**Steps**:  

1. **Trigger**: Product Stock Updated  
2. **Condition**: Stock level < 5.  
3. **Action**: Notify the admin team to reorder stock.  

## Getting Started With Share Flows

At **Strum & Co.**, you have created a welcome email flow that greets every new customer after registration. Your developer needs to test this flow in a **staging environment** without recreating it manually.

Lets see how this can be done.

### To **Export a Flow** (Share)

1. **Go to**:
   `Shopware Admin -> Settings -> Flow Builder`

2. Find the flow you want to share under "My flows" tab.

3. Click the **three dots (...)** on the right side of that flow.
![Save flow](./assets/flow_sharing.jpg)

4. Choose **“Download”**. A `.json` file will be downloaded to your computer.

> The file includes the flow's configuration (triggers, conditions, and actions), but **not the email template content**, which is managed separately.

### To **Import a Flow** (Receive)

1. **Go to**:
   `Shopware Admin -> Settings -> Flow Builder`

2. Click the **"Upload Flow"** button at the top right.

3. Upload the `.json` file you received/shared.

4. The flow will appear in your list (you can edit or activate it right away).

## Final Thoughts

Flow Builder is your secret weapon for automating tasks, enhancing customer experiences, and boosting efficiency. Whether it's recovering sales, rewarding loyalty, or managing inventory, there's a flow for every need at Strum & Co.
