Skip to content
Gravity Forms WooCommerce

Payment Completed (Gravity Forms) → Create Coupon

Generate WooCommerce coupons when Gravity Forms payments are completed. Perfect for cross-selling form submissions with store discounts and multi-product funnels.

intermediate 10 minutes |
#gravity-forms #coupons #payment #woocommerce #cross-sell

Use Case

When a payment is completed through Gravity Forms (using PayPal, Stripe, or another payment add-on), you want to generate a WooCommerce coupon. This bridges form-based purchases with your WooCommerce store.

Common scenarios:

  • Service purchase includes store discount
  • Course enrollment with product voucher
  • Event registration with merchandise credit
  • Consultation fee includes store credit
  • Donation thank-you with shop discount

Step-by-Step Setup

1. Prerequisites

Ensure you have:

  • Gravity Forms with a payment add-on (PayPal, Stripe, etc.)
  • WooCommerce active on your site
  • A form with payment fields configured

2. Create a New Workflow

Navigate to Sequensy → Workflows in your WordPress admin and click Add New Workflow.

Name your workflow “GF Payment Thank You Coupon” or “Service Purchase Store Credit”.

3. Configure the Trigger

Select Payment Completed (GF) as your trigger.

Available filters:

  • Form: Specific forms with payment fields
  • Payment Amount: Tiered coupons based on spend
  • Payment Status: Only successful payments
  • Product: Specific Gravity Forms products

4. Set Up the Create Coupon Action

Configure your WooCommerce coupon:

SettingRecommended ValueDescription
Coupon CodeGF-{entry_id}Unique per form entry
Discount TypeFixed CartStore credit value
Discount Amount25$25 store credit
Usage Limit1Single use
Expiry90 daysGenerous for service buyers
Email Restriction{email}Buyer only

5. Deliver the Coupon

Chain a Send Email action:

Subject: Your $25 store credit is ready!

Hi {name},

Thank you for your purchase! Your payment of {payment_amount}
has been confirmed.

As a thank you, here's $25 to spend in our shop:

Code: {coupon_code}
Value: $25 off your order
Expires: 90 days

Browse our products: {shop_url}

Thanks again for your purchase!

6. Test Your Workflow

  1. Enable the workflow
  2. Submit a test form with payment
  3. Complete the payment process
  4. Verify coupon was created in WooCommerce
  5. Check email delivery with coupon code
  6. Test coupon at checkout

Pro Tips

Match coupon value to purchase: If someone buys a $200 service, a $50 store credit feels proportionate and valuable.

Cross-sell strategically: If your form sells services, the coupon can introduce buyers to physical products they might not have known about.

Track conversions: Use unique coupon prefixes (GF-) to track how many form buyers become shop customers.

Consider product restrictions: Limit coupons to specific product categories that complement what they purchased via the form.

Integration Scenarios

Service + Product Bundle

Form PurchaseCoupon ValueProducts
$99 Consultation$20 creditRelated tools
$299 Course$50 creditBooks, supplies
$499 Coaching$100 creditAny products

Event Registration

Form: Conference Registration
Payment: $150

Coupon generated:
- $25 merchandise credit
- Valid only during event dates
- Restricted to event merchandise category

Donation Thank You

Form: Donation Form
Payment: $50+

Coupon generated:
- 20% off one order
- Supports the cause with purchase
- 30-day expiry

Gravity Forms Field Mapping

GF FieldCoupon SettingUsage
EmailEmail RestrictionLimits who can use
Entry IDCoupon CodeMakes code unique
Payment TotalDiscount AmountTiered rewards
NameEmail personalizationPersonal touch

Troubleshooting

Coupon not created?

  • Verify Gravity Forms payment completed
  • Check WooCommerce is active
  • Review workflow logs

Wrong entry data?

  • Verify field mappings
  • Check form has required fields
  • Review Gravity Forms entry

Coupon not working in WooCommerce?

  • Check expiry date
  • Verify email matches
  • Confirm coupon exists in WooCommerce