When new form submission is received in Beaver Builder, create a new coupon in WooCommerce
Every new Beaver Builder contact form submission makes FlowMattic create a coupon in WooCommerce, ready for you to send to the person who filled in the form.
Beaver Builder Forms
WooCommerce2 steps Setup ~5 min Used on 367 sites Free to import

What this workflow does
Offering a discount in return for a form entry is a common way to thank people who get in touch or join a waitlist. Making each code by hand in WooCommerce gets old quickly. This workflow creates a coupon for every Beaver Builder contact form submission, so each entry has its own code waiting in your store.
The Beaver Builder Forms trigger fires when a new contact form submission is received, and passes along what the visitor entered. The WooCommerce step then creates a new coupon on your site.
The coupon step ships unmapped, so after import you decide what the coupon looks like: the code, the discount and any other details you want. Every run makes a separate coupon, so build the code from something that changes on every run, such as part of the visitor's email combined with a fixed prefix, rather than one fixed word.
Note what the template does not do: it creates the coupon but sends it to nobody. To get the code to the visitor, add an email step after the WooCommerce step, as the tips explain. Test with one submission and check Task History and the Coupons screen in WooCommerce.
Thank-you discount for enquiries
A furniture store's Beaver Builder contact page creates a coupon for each person who asks a question, so staff can include it in their reply.
Waitlist sign-ups with a launch code
A clothing brand collects interest in a new line through a Beaver Builder form and creates a personal code for each entry before launch day.
Feedback form reward
A coffee roaster asks customers for feedback on a Beaver Builder form and creates a coupon for each response as a thank-you.
How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
Beaver Builder Forms New Contact Form SubmissionStarts each run when a visitor submits a Beaver Builder contact form on your site. The submitted values, such as the name and email address, become available to the coupon step.
WooCommerce Create CouponCreates a coupon in WooCommerce. The template leaves it unmapped, so after import set the coupon's details, such as its code and discount, building the code from submission data so it differs every time.
What you need
- FlowMatticCore
- Beaver Builder Forms PluginPlugin
- WooCommerce PluginPlugin
After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.
Make it yours
Changes worth making after you import it.
- Add FlowMattic's Email step after the WooCommerce step, map the visitor's email from the form and include the coupon code, so the person who submitted the form receives it.
- Build each code from a prefix plus something unique to the entry, so no two coupons share a code. Check Task History after a test to see what WooCommerce returned.
- If the coupon is meant only for one form, put a Filter between the Beaver Builder trigger and the WooCommerce step using a value from a test run that identifies that form.
Questions about this workflow
Does the visitor receive the WooCommerce coupon automatically?
No. The template only creates the coupon. Add an email step after the WooCommerce step and map the code and the visitor's email address if you want it delivered.
Can every Beaver Builder submission get the same coupon code?
Each run creates a new coupon, so a fixed code would leave several coupons sharing one code. If you want one shared code, create it once in WooCommerce and email it instead of using this step.
Will someone who submits the form twice get two coupons?
Yes. Each submission starts its own run and creates its own coupon. Nothing in the template checks earlier entries from the same person.
Which coupon settings can I control from the form data?
That depends on what the Create Coupon step lets you map. The template ships it empty, so open the step after import and run a test to see how the coupon is saved.
More E-Commerce workflows
Other ready-to-import templates from the same category.
Import this workflow into your WordPress site
Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.
30-day money-back guarantee Unlimited workflows and runs Self-hosted


