tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

When new form submission is received in AidaForm, create a new coupon in WooCommerce

Each time someone submits your AidaForm form, this workflow creates a new coupon in your WooCommerce store, so you can reward survey takers, sign-ups or contest entrants with a discount code.

AidaForm WooCommerce

2 steps Setup ~5 min Used on 2.9k sites Free to import

The When new form submission is received in AidaForm, create a new coupon in WooCommerce workflow on the FlowMattic canvas, with 2 steps across AidaForm, WooCommerce
The workflow as it appears in the builder after import. Each step opens for editing.

What this workflow does

Offering a discount for filling in a form is a common way to get survey answers or sign-ups. Creating each coupon by hand in WooCommerce doesn't keep up once the responses start coming in. This workflow creates the coupon for you when the form is sent.

The AidaForm trigger, New Response, fires when someone submits your form. Every answer in that response becomes available to FlowMattic. The WooCommerce step, Create Coupon, then creates a new coupon in your store. You set up the coupon in that step and can map form answers into it, so each code can be tied to the person who earned it.

As imported, the workflow creates the coupon and stops there. Nobody is told the code until you add a step that sends it, such as an email to the respondent. WooCommerce coupon codes must be unique, so build each code from something that changes per response. Task History shows each run and what WooCommerce returned.

Thank-you discount for a customer survey

Customers fill in your AidaForm feedback survey, and each response creates a coupon you can send them as thanks.

Newsletter sign-up reward

An AidaForm sign-up form on a landing page creates a first-order coupon for every new subscriber.

Contest or quiz entries

Everyone who enters a contest through AidaForm gets a consolation coupon created in the store, ready for you to hand out.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    AidaForm New Response

    Starts a run for each response your AidaForm form receives. All answers are passed on so you can use them when building the coupon.

  2. Step 2Action
    WooCommerce Create Coupon

    Adds a fresh discount coupon to your WooCommerce store. Set up the discount in this step and map a code that is different for each response. Send a test response and look at the coupon it produced.

What you need

  • FlowMatticCore
  • AidaForm AccountAccount
  • 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 coupon step and map in the respondent's email and the new code, so each person receives the discount they earned.
  • Build the coupon code from a value that changes per response, such as a response ID if AidaForm sends one, so WooCommerce doesn't reject a repeated code.
  • Add a Filter after the trigger if only some respondents should get a coupon, for example those who ticked a consent box or chose a particular answer.

Questions about this workflow

Does the AidaForm respondent receive the coupon code automatically?

Not as imported. The workflow only creates the coupon in WooCommerce. Add an email step after it to send the code to the respondent.

What happens if the same person submits the AidaForm form twice?

Each submission starts a run, so a second coupon is created for them. Add a check before the coupon step if you want one coupon per person.

Do I need WooCommerce on my WordPress site for this?

Yes. The coupon is created in your WooCommerce store, so WooCommerce must be running on the WordPress site the step connects to.

Can I limit the WooCommerce coupon to certain products or one use?

Check which coupon options the Create Coupon step offers after import, and confirm with a test submission that the coupon in WooCommerce looks the way you want.

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

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

It's an exceptional product. Works great and extremely valuable. I saved thousands of dollard on Zapier, as Flowmattic makes me able to host the automation myself. And very deeply integrates with the products I need.

Tijn

Ease of use and terrific support from the founder. Tons of integrations and regular updates. The Flowmattic custom app is great especially if you want to integrate apps that aren't available yet inside Flowmattic.