Skip to main content

Configuration

All configuration is done through the plugin settings in the Shopware Administration.

Opening the plugin configuration

Settings → System → Plugins → Pixelfarben n8n (the “… → Configuration” button).

There are three configuration cards:

Card (EN)Card (DE)Input fieldConfiguration key
Send ProductsProdukte sendenn8n Product Webhook URLvlp8n.config.WebhookUrl
Send CustomersKunden sendenn8n Customer Webhook URLvlp8n.config.CustomerWebhookUrl
Send OrdersBestellungen sendenn8n Order Webhook URLvlp8n.config.OrderWebhookUrl

Enter the appropriate webhook URL of your n8n instance into each field.

Webhook URLs from n8n

In n8n you create one (or several) webhook node(s) and copy the production URL. A typical URL looks like this:

https://n8n.example.com/webhook/abcdef12-3456-7890-abcd-ef1234567890

:::tip Recommendation Create three separate webhooks in n8n – one each for products, customers and orders. That way you can process the payloads in separate workflows. :::

Sales-channel-specific configuration

The webhook URLs are stored as Shopware system configuration under the vlp8n.config. domain. When sending, the plugin reads the value for the given sales channel:

$webhookUrl = $this->configService->get('vlp8n.config.WebhookUrl', $salesChannelId);

This lets you configure different webhook URLs per sales channel in the Administration by switching the sales channel at the top of the plugin configuration.

Note on missing URLs

If no webhook URL is set for the requested action, the plugin sends no data and returns a corresponding message ({"success": false, "msg": "no_webhook_url"}). In the Administration the hint “No webhook URL set” is shown.

➡️ Continue with the Administration / UI.