Skip to main content Skip to search Skip to main navigation
Meet Shopware Payments Fast. Powerful. Yours to control. Discover payments
Diese Seite ist auch auf Deutsch verfügbar.
Onlineschmiede

Generate a promotion code in Flow Builder and send it by e-mail

Rating: no rating ( write a review )
Downloads: <10

Description

Highlights

  • Creates individual discount codes right in the Flow Builder, which Shopware does not offer itself
  • Sends personal codes fully automatically by e-mail through your existing flows
  • Ready-made, editable mail template with the code already included
  • Once per customer and further rules prevent duplicate or unwanted code issuance
  • For Shopware 6.6 and 6.7, fully operated through the standard Flow Builder

Features

  • New Flow Builder action "Generate promotion code" for a selected promotion
  • The generated code is available to the e-mail action as the mail variable promotionCode
  • Included, editable e-mail template "Promotion Code Email" with a ready discount code
  • "Once per customer" option for the same promotion
  • Option to skip code creation when the order already uses a promotion code
  • Option to always create a new code or reuse unused codes
  • A log of generated codes for a reliable once-per-customer check
  • Uses native Shopware promotions with individual codes, no parallel system
  • Compatible with Shopware 6.6 and 6.7

About the Extension

Create individual promotion codes in the Flow Builder and send them automatically

Many campaigns fail not because of the idea, but because of the effort. You want to send a customer a personal discount code after a purchase, but out of the box Shopware cannot create an individual code inside the Flow Builder. This plugin closes exactly that gap. It adds a new Flow Builder action that turns an existing promotion into a single-use code and makes it available for the e-mail right away. That means you send personal voucher codes automatically, without creating a single code by hand.


How it works

You build a flow in the Flow Builder as usual. At the right point you add the action Generate promotion code and select the promotion you want to use. The plugin then creates an individual code for that promotion. Afterwards you add a send e-mail action that delivers the code to the customer. The generated code is available in the mail as the variable {{ promotionCode }}, so you can place it anywhere in your template.


Ready-made e-mail template included

To get you started immediately, the plugin ships its own editable e-mail template “Promotion Code Email" that already contains the code. You can use this template directly or use your own and insert the code through the variable. The texts live as a standard Shopware mail template and can be edited freely.


Control over how codes are issued

  • Once per customer. If you like, each customer receives only a single code for the same promotion, so the same person cannot benefit multiple times.
  • Only when no code was used. Optionally, no new code is created when the order already used a promotion code.
  • Always create a new code. You decide whether a fresh code is created every time or an unused code is reused.
  • Traceable. Generated codes are logged, so the once-per-customer rule works reliably.

Typical use cases

  • A personal thank-you discount after a purchase or after a submitted review.
  • Re-activating inactive customers with a one-time, personalised code.
  • Rewarding newsletter sign-ups or other desired actions.

In every case the flow stays the same. You combine any trigger with the code action and the e-mail step, and Shopware handles the rest automatically.


Requirement

The code is created from an existing Shopware promotion with individual codes. So first create a promotion, enable individual codes and a code pattern there, and then select that promotion in the flow action.


Support & further development

Missing a feature or run into a bug? Just get in touch or open a ticket. We're happy to hear every feature request and will gladly implement it where it makes sense. Reported issues are fixed as quickly as possible, so your shop keeps running reliably.

Details

  • Available: English, German
  • Latest update: 23 July 2026
  • Publication date: 7 July 2026
  • Version: 1.0.6
  • Category: Email Marketing

Resources

Reviews (0)

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review

About the Extension Partner

Onlineschmiede

Onlineschmiede

Partner Status

  • Shopware Silver Partner Shopware
    Silver Partner
  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Partner since: 2023
  • Extensions: 13
  • Certifications: 4

Support

  • Based in: Austria
  • Speaks: German, English
  • Response time: Very quickly
Shopware 6 certified This Extension Partner has been certified by our Academy for Shopware 6.