About automatically generate discount codes and send them via email

Topic summary

Main topic: Using Shopify Flow (Shopify Plus automation tool) to automatically generate discount codes and email them to specific customers.

Key updates and limits:

  • Bulk generation of discount codes is not supported.
  • Flow can send discount codes via email when the codes follow a specific format and are triggered by events (e.g., new order, customer birthday).

Open questions / requests:

  • A user asked how to configure Flow to send a discount code for each new order; no step-by-step setup or examples were provided.

Status:

  • No confirmed method to auto-generate unique codes per order via Flow; current capability appears limited to emailing pre-existing or predictable-format codes based on triggers.
  • Discussion remains unresolved and open for implementation details.
Summarized with AI on January 11. AI used: gpt-5.

Hi there,

Can I use Shopify Flow to automatically generate discount codes and send them via email to specific customers?

Thank you!

Wondering exact same question.

Does anyone know more?

Hi there! Unfortunately, bulk generation of discount codes isn’t supported. You can use Flow for sending the codes via emails if they follow a specific format on specific trigger action (new order, customer birthday etc).

Can you explain how to ‘use Flow for sending the codes via emails’ per each ‘new order’?