Shopware 6 App: Automate workflows involving Mollie

Shopware 6 has a flow builder to automate your processes, which you can use in combination with the Mollie app. This guide contains a number of use cases that you can use as examples.

What you need to do in advance

  • To use the Shopware 6 flow builder in combination with the Mollie app, ensure you're using Shopware 6 version 6.4.6.0 or later.

  • The flow builder enables you to set up advanced automated workflows to meet your needs. Ensure that you understand how Mollie works together with the flow builder↗ before creating automations.

  • To avoid duplicate actions that result in unexpected flows, switch off settings in the Mollie app that can conflict with an automation. For example, if you use a flow that automatically marks orders as shipped, switch off automatic shipping notification.

Ship orders automatically

You can create a flow that automatically notifies Mollie when orders are shipped, so that the payment is settled on your Mollie account.

Tip

You can also enable automatic shipping in the Mollie configuration settings under Extensions > My extensions > [select Configure in the options menu] > Order Management, for example if your sales volume does not make it worthwhile to set up Flow Builder.

  1. Log in to Shopware 6.

  2. Go to icon-shopware-settings.png Settings > Flow builder.

  3. Select Add flow.

    1. Enter a descriptive name for the flow, for example, Automatic shipping.

    2. Optional: Enter a description.

    3. Optional: Assign a priority↗.

    4. Switch on the Active toggle.

    1. Select State enter > Order delivery > State > Shipped from the Trigger drop-down menu.

    2. Open Add action (then) and select Ship order (Mollie).

    3. In the notification, select Save.

  4. To create the flow, select Save.

Send emails for chargebacks

All Mollie statuses can have a corresponding trigger. This means that you can set up a flow that sends you an email when your shop receives a chargeback.

  1. Log in to Shopware 6.

  2. Go to icon-shopware-settings.png Settings > Flow builder.

  3. Select Add flow.

    • Enter a descriptive name for the flow, for example, Chargeback notification.

  4. Optional: Enter a description.

  5. Optional: Assign a priority↗.

  6. Switch on the Active toggle.

    1. Select Mollie > Webhook received > Status > Chargeback from the Trigger drop-down menu.

    2. Open Add action (then) and select Send email.

    3. Select a recipient, email template, and attached documents, and select Add action.

  7. To create the flow, select Save.

Give full refunds automatically

Using the flow builder, you can automate full refunds based on certain conditions.

  1. Log in to Shopware 6.

  2. Go to icon-shopware-settings.png Settings > Flow builder.

  3. Select Add flow.

    • Enter a descriptive name for the flow, for example, Automatic full refund.

  4. Optional: Enter a description.

  5. Optional: Assign a priority↗.

  6. Switch on the Active toggle.

    1. Select State enter > Order transaction > State > Refunded from the Trigger drop-down menu.

    2. Optional: Select Add condition (if) to further refine the trigger. For example, to only automate full refunds for orders under a certain amount.

    3. Select Add action (then) and then Refund order (Mollie).

    4. In the notification, select Save.

  7. To create the flow, select Save.