Skip to content

Workflow Builder

Workflow Builder

This page covers the fundamentals of building workflows in Shopware Nexus:

  • workflow structure and states
  • available node types
  • expression syntax for mapping and templates

Workflow Concepts

A workflow is built from nodes connected on a canvas.

Typical structure:

  1. Trigger (starts the workflow)
  2. Actions (do something, e.g. API calls, ERP writes, notifications)
  3. Transforms (shape/filter data)
  4. Conditions (branch logic)
  5. Outputs (store results)

Workflow builder interface

ElementDescription
CanvasVisual workspace
Node PaletteAvailable nodes
Node ConfigurationParams, Credentials, Notes, Debug
ToolbarSave, Publish, Execute, Undeploy
Execution TabRun history and metrics

Workflow states

StateDescriptionAvailable Actions
DraftEditingSave, Publish
PublishedBuilt and readyExecute
DeployingCreating deployment-
ActiveRunningUndeploy
InactiveDeployed but stoppedExecute, Delete
UndeployingRemoving deployment-
FailedDeployment or execution failedRetry, Delete

Workflows move through these states from creation to active execution.

Execution Metrics

  • Status (Success / Failed / Running)
  • Execution duration
  • Messages processed per node
  • Error counts and latency

Current Monitoring Limitations

  • No per-node execution logs
  • Limited payload inspection
  • Manual refresh required

Node types

Trigger nodes

NodeDescriptionConfiguration
Shopware Event TriggerReact to entity eventsShop, event
Schedule TriggerTime-based executionCron, timezone

Action nodes

NodeDescriptionConfiguration
Business CentralCRUD on BC entitiesEntity, operation
Shopware API CallCall any Shopware APIMethod, endpoint
Send Slack MessageSlack notificationChannel, template
API RequestGeneric HTTPURL, headers
Send Shopware EmailEmail via ShopwareRecipient, content

Transform nodes

NodeDescription
FilterFilter array items

Condition nodes

NodeDescription
IfTrue/False Conditional branching
SwitchComplex Conditional branching

Control nodes

NodeDescription
DelayDelay before continuing

Output nodes

NodeDescription
S3 StorageStore payload

Expression syntax

Expressions use syntax in templates and mappings.

Examples

text
{{payload.order.orderNumber}}
{{bc_customers_response.value[0].id}}
{{customer.firstName}} {{customer.lastName}}

Common usage

  • Slack templates: build readable notification messages
  • Mapping data: pass values from trigger payload into action parameters
  • Branching: drive If conditions based on payload values

Refer to user docs for common use cases

Was this page helpful?
UnsatisfiedSatisfied
Be the first to vote!
0.0 / 5  (0 votes)