Flow actions
Besides manual sending, the plugin registers two flow actions for the Shopware Flow Builder. This lets you send single customers or orders automatically – triggered by a Shopware event – to a webhook.
| Flow action (key) | Label (EN) | Sends |
|---|---|---|
action.vlp8n.customer.webhook | Send customer to webhook | The customer of the triggering flow |
action.vlp8n.order.webhook | Send order to webhook | The order of the triggering flow |
The actions are registered in services.xml with the flow.action tag and
priority 600.
Setting up a flow action
- Open Settings → Flow Builder in the Administration.
- Create a new flow or edit an existing one.
- Choose a suitable trigger, e.g. “Customer registered” or “Order placed”.
- Add an action and select “Send customer to webhook” or “Send order to webhook”.
- Enter the webhook URL in the configuration dialog and confirm with “Save”.
:::note Webhook URL per sequence Unlike manual sending, the webhook URL for flow actions is stored per flow sequence, not in the global plugin configuration. Each action can therefore send to its own URL. :::
Available triggers (examples)
Because the actions use the standard Flow Builder mechanics, they are available for all events that provide a matching customer or order context, e.g.:
- Customer: customer registered, account recovery, double opt-in.
- Order: order placed, payment status changed, order status changed, delivery status changed.
Behavior
When triggered, the action reads the respective record (customer or order) and
sends it via HTTP POST as JSON to the configured webhook URL – analogous to
manual sending, but for a single record.
➡️ Continue with the API reference.