
Summary:
Shopware 6’s Flow Builder is a powerful no-code tool that enables ecommerce businesses to automate complex workflows without programming. It allows users to create custom processes triggered by specific events, enhancing efficiency and adaptability across B2C, B2B, and D2C models. The tool streamlines operations and improves customer experiences through flexible, event-driven automation.
June 4, 2025
In today’s rapidly evolving e-commerce landscape, automation plays a crucial role in optimising workflows, enhancing efficiency, and improving the overall customer experience. Shopware 6 Flow Builder stands out as a robust no-code solution that enables users to automate intricate business processes without needing coding skills. With Flow Builder, store owners can design tailored workflows that trigger based on specific events, offering adaptability and scalability across B2C, B2B, and D2C models. This blog delves into the technical details of Flow Builder, its core components, and provides a practical example to illustrate its capabilities.
What is Flow Builder?
Flow Builder is an automation feature built into Shopware 6 that allows merchants to create and run customised business processes without any coding required. It works in conjunction with the Rule Builder to offer a dynamic system where users can combine triggers, conditions, and actions. This setup enables the automation of various tasks, such as sending emails or modifying order statuses, offering a highly adaptable approach to process management.
Example use cases:
- Send a thank-you email when an order is placed
- Cancel orders automatically if payment fails
- Tag VIP customers based on their total purchase value
Key Components
1. Triggers (Events)
These are the starting points of any flow. They represent specific occurrences within Shopware that initiate a workflow.
Examples of Core Triggers:
- contact_form.send
- newsletter.register
- checkout.customer.register
- checkout.order.placed
- state_enter.order_transaction.state.paid
- state_enter.order.state.in_progress
2. Conditions
After a trigger fires, conditions act as logical gates that determine whether the subsequent actions should be executed. They allow you to define precise criteria for a flow to proceed.
Types of Conditions:
- Order-related: Order total, payment method, shipping method, customer group, specific product in order, order tags.
- Customer-related: Customer group, registration date, last login date.
- Product-related: Product stock, price, specific category, custom fields.
- General-related: Time of day, day of the week.
- Logic: Conditions can be combined using AND/OR operators, allowing for highly complex decision trees. You can group conditions to build sophisticated rules.
3. Actions
These are the operations performed when a flow’s conditions are met. Flow Builder offers a rich set of predefined actions, with extensive possibilities for custom extensions.
Examples of Core Actions:
- Email Sending: Send specific email templates to customers, administrators, or custom recipients.
- State Changes: Change the state of an order (e.g., checkout.order.state_machine.open -> in_progress), a product, or a customer.
- Tag Management: Add or remove tags from customers or orders. This is incredibly powerful for segmentation and subsequent automation.
- Assign Custom Field: This action allows you to dynamically set or update the value of a custom field (also known as a “custom property” in some contexts) on entities like orders, customers, or products.
- Generate Document: This action allows you to automatically create and generate various types of documents, such as invoices, delivery notes, or credit notes, based on predefined templates within Shopware.
- Stop Flow: This action terminates the execution of the current flow at that specific point.
- Assign Affiliate and Campaign Code: This action allows you to assign specific affiliate and/or campaign codes to an order.
Practical Example: Automating VIP Customer
Goal: Automatically upgrade customers to a VIP tier if they have placed 5 or more orders, notify them via email, and tag their orders as high-priority for faster processing.
Trigger: `Checkout.Order.Placed`
Conditions: Order total is > 1000
Actions: Assign VIP customer group, add “Priority” tag to the order.
Step-by-Step Guide
- Create a VIP Customer Group
- Navigate to Settings > Customer Groups in the Shopware admin panel.
- Click Add New Customer Group name it “VIP”, and save.
- Create a Priority Tag
- Go to Settings > Tags and click Add Tag.
- Name the tag “Priority” and save. This will be used to mark orders for faster processing.
- Create a Rule in Rule Builder
- Navigate to Settings > Rule Builder and click Add Rule.
- Name the rule “Customer Eligible for VIP Tier”.
- Set the condition: `Shopping cart > Total > Greater than or equal to > 1000`.
- Set priority to 100 and save. (The priority indicates whether a rule is applied before another rule, if relevant. The higher the priority, the sooner it is executed.)
- Create the Flow in Flow Builder
- Go to Settings > Flow Builder and click Add Flow.
- General Tab
- Name: “VIP Customer Upgrade”
- Description: “Automates VIP tier assignment for frequent customers”
- Priority: 1
- Active: Enable the switch
- Flow Tab
- Trigger: Select `Checkout.Order.Placed`.
- Condition: Add the rule “Customer Eligible for VIP Tier”.
- Actions:
– Assign Customer Group: Select “VIP” from the dropdown.
– Add Tag: Select the “Priority” tag and apply it to the order. - Save the flow.
Creating Custom Flow Actions and Trigger (Developer)
Want to do something Flow Builder doesn’t support out of the box? You can register custom flow actions with a Shopware plugin.
class MyCustomFlowAction extends FlowAction { public static function getName(): string { return 'my.custom.action'; } public function requirements(): array { return [TagAware::class]; } public function handleFlow(StorableFlow $flow): void { // Custom logic here } }
If you want to add a custom trigger then you can create a custom flow trigger.
class CustomFlowEvent extends Event implements FlowEventAware { public const EVENT_NAME = 'your_plugin.custom.trigger'; private string $customValue; public function __construct(string $customValue) { $this->customValue = $customValue; } public function getCustomValue(): string { return $this->customValue; } public function getName(): string { return self::EVENT_NAME; } public static function getAvailableData(): array { return [ 'customValue' => [ 'type' => 'string', 'description' => 'A custom string value passed to the flow.' ] ]; } }
Developers can explore the Shopware developer guide on custom Flow Actions and custom Flow Triggers for implementation details.
Benefits of Embracing Flow Builder:
- Time & Resource Optimisation: Drastically reduce manual overhead, allowing your team to relocate focus to strategic initiatives.
- Error Minimisation: Automated processes inherently reduce the scope for human error, leading to higher data accuracy and operational reliability.
- Enhanced Customer Journey: Deliver timely, personalised communication and seamless service, fostering deeper customer loyalty and satisfaction.
- Increased Operational Efficiency: Accelerate your entire operational workflow, from initial order processing to post-purchase engagement.
- Revenue Growth: Automated marketing and targeted follow-up flows translate directly into improved conversion rates and increased repeat business.
- Unrivaled Scalability: Seamlessly accommodate spikes in order volume and business expansion without linear increases in manual labour.
- Empowerment for All: Its intuitive interface empowers both technical and non-technical users to design and deploy sophisticated automations, decentralising process control.
- Developer Extensibility: For developers, Flow Builder is not a black box. Its open architecture allows for the creation of custom triggers, conditions, and actions, providing virtually limitless integration and automation possibilities.
Final Thoughts
Shopware’s Flow Builder is more than just an automation tool; it’s a strategic asset that transforms how you manage your e-commerce business. Embrace its power, and unlock a new era of efficiency, customer satisfaction, and growth. The future of intelligent, automated e-commerce is here, and it’s within your reach!
Related Blog
Shopware
Top 5 Reasons Why Shopware Leads the European E-Commerce Market
As the e-commerce industry continues to grow, European businesses are increasingly turning to Shopware. The platform's alignment with European business culture and values, such as precision, efficiency, and reliability, further strengthens its appeal. As European businesses prioritize quality and trust,...
eCommerce Development
Enhancing User Experience with the “Navigation for Category Images” Plugin for Shopware
In today’s digital world, where e-commerce is booming, customers have become increasingly picky. They want a seamless, visually appealing experience that not only makes shopping easier but also keeps them engaged. The expectation is clear: if a website doesn’t look...
eCommerce Development
Shopware 6 and Odoo Integration: The Ultimate Guide for Streamlining E-Commerce Operations
In today’s fast-paced digital world, managing an e-commerce store requires more than just a platform to showcase products. You need seamless integration between different systems to handle orders, accounting, and customer relationships. Shopware 6, one of the leading open-source e-commerce...

Keep up-to-date with our newsletter.
Sign up for our newsletter to receive weekly updates and news directly to your inbox.