1 minute to read

From an integration idea to a dependable workflow with Shopware Nexus

From an integration idea to a dependable workflow with Shopware Nexus

At our Shopware Hacktoberfest workshop on 9 October, a product-enrichment example brought the possibilities of Nexus to life. A workflow retrieved a description from Open Food Facts and added it to the corresponding product in Shopware. A concrete need, connected systems and a result the team could check.

The session was a starting point for a broader question: how can you turn an integration idea into a workflow that fits your business? With Shopware Nexus, you can connect events, actions and information across systems in a visual workspace. Here is what that looks like in practice.

Start with the result you want

Commerce teams work across systems every day. An order needs to reach another application, a product record needs more information, or a team needs to know when something changes. Before choosing the individual steps, define what a successful result looks like.

In the workshop example at Hacktoberfest, the goal was specific: enrich a Shopware product with information from an external source. That gave the workflow a clear destination and made it possible to check the result against the original need.

For your own first workflow, choose one manageable use case. Identify the event that should start it, the information it needs and the action it should complete. This gives you a useful foundation to build on.

Connect the steps in one workflow

The product-enrichment example combined five nodes: an event trigger, a condition, an Open Food Facts connector, field mapping and a Shopware API call. Each played a part in moving from an event to an updated product.

The mapping step matched the description returned by Open Food Facts to the corresponding field in Shopware. The product ID ensured that the update reached the intended record. Together, those steps turned a successful request into a useful outcome.

Nexus supports event-driven and scheduled workflows, conditions and data transformations. Execution monitoring helps you follow what happens when a workflow runs. These capabilities make it easier to work through an integration as a connected sequence rather than a collection of separate requests.

Use AI with a clear scope

During the workshop, participants explored generating connector definitions with AI assistance. Starting from API information and a specific operation gave the assistant something concrete to work with. The resulting definition could then be reviewed, tested and refined.

We are developing a new approach to make AI-assisted connector creation accessible more widely and allow the community to contribute and share connectors. This work builds on the possibilities explored during the workshop, while taking a different approach to how developers will use it.

Today, Copilot can already help you create and refine workflows within Nexus using natural language. A clear business task and a result you can verify give that work direction.

Make the workflow safe to run twice

Albert Scherman, Engineering Lead at Shopware, points to a common challenge as an integration moves beyond its first successful run: an event can arrive again, or a request may need to be retried. Designing the workflow to recognise information it has already processed helps keep those repeat runs from creating duplicate records or unintended effects.

A stable order or record ID gives the workflow a way to recognise the same item and update the existing record where appropriate. It becomes especially useful when a team reruns an event to check a fix, because the integration can handle familiar information consistently.

That behaviour can be checked before release by replaying an approved test event in a controlled environment and comparing the result after each run. Keeping real payments, notifications and other live effects outside the test lets the team examine repeat execution safely, with greater confidence as it continues to improve the integration.

A real-world use case

An accounting integration with FreshBooks provides a practical example of this approach. The proof of concept creates invoices and payment records in FreshBooks according to the workflow’s conditions. Testing covered orders with different payment methods, tax rules and customer registration statuses.

This testing has helped the team explore how the workflow handles different order scenarios. The integration is now being refined in pre-production, with the next step focused on how tax rules are consolidated in FreshBooks.

A useful lesson from this work is to keep flows simple and define the expected inputs and outputs before adding more logic. As branches accumulate, a workflow can become harder to follow. A clear purpose for each step makes it easier to see what should happen and where further work is needed.

Build your first workflow

Start small enough to see the whole path. Run a representative example, check the result and try a case where information is missing or a request fails. Agree who will review those cases and what they need to see.

The Hacktoberfest exercise showed how a specific integration idea can become a working sequence of steps. Apply that lesson to the capabilities available today: define the outcome, connect the necessary actions and verify how the workflow behaves before adding more.

Ready to get started? Explore Shopware Nexus and follow the setup guide to connect your shop and create your first workflow.

Copied to clipboard