Use Case
When someone submits a Contact Form 7 form, you want to automatically generate a WooCommerce coupon for them. This rewards engagement and drives conversions.
Common scenarios:
- Newsletter signup discount
- Contact form thank-you coupon
- Quote request incentive
- Feedback form reward
- Lead magnet delivery
Step-by-Step Setup
1. Create a New Workflow
Navigate to Sequensy → Workflows in your WordPress admin and click Add New Workflow.
Name your workflow “Newsletter Signup Discount” or “Contact Form Thank You Coupon”.
2. Configure the Trigger
Select Form Submitted (CF7) as your trigger.
Available filters:
- Form: Specific CF7 forms
- Fields: Check specific field values
- Submission: Valid submissions only
3. Set Up the Create Coupon Action
Configure your coupon:
| Setting | Recommended Value | Description |
|---|---|---|
| Coupon Code | WELCOME-{submission_id} | Unique per submission |
| Discount Type | Percentage | 10% off |
| Discount Amount | 10 | Welcome discount |
| Usage Limit | 1 | Single use |
| Expiry | 14 days | Creates urgency |
| Email Restriction | {your-email} | CF7 email field |
4. Deliver via Email
Chain a Send Email action or use CF7’s built-in email:
Subject: Here's your 10% discount code!
Hi {your-name},
Thanks for getting in touch! As a thank you, here's 10%
off your first order:
Code: {coupon_code}
Expires: 14 days
Start shopping: {shop_url}
We'll respond to your inquiry shortly.
Best regards,
The {site_name} Team
5. Test Your Workflow
- Enable the workflow
- Submit the CF7 form
- Verify coupon was created
- Check email with coupon code
- Test coupon at checkout
Pro Tips
Form-specific coupons: Create different workflows for different forms with appropriate discounts.
Prevent gaming: Use email restrictions so each email only gets one coupon.
Track source: Use unique coupon prefixes to track which forms drive sales (CONTACT-, NEWSLETTER-, QUOTE-).
Integrate with CRM: Store the coupon code in your CRM alongside the lead data.
Form-to-Coupon Mapping
By Form Type
| Form | Coupon | Value | Message |
|---|---|---|---|
| Newsletter | SUBSCRIBE-{id} | 10% off | ”Welcome discount” |
| Contact | HELLO-{id} | 5% off | ”Thanks for reaching out” |
| Quote Request | QUOTE-{id} | 15% off | ”Special inquiry discount” |
| Feedback | THANKS-{id} | 10% off | ”Feedback appreciation” |
By Field Value
Form: Quote Request
Field: Service Type
If "Premium Service":
Coupon: 20% off premium
Code: PREMIUM-{id}
If "Basic Service":
Coupon: 10% off
Code: BASIC-{id}
Email Templates
Newsletter Signup
Subject: Welcome! Here's your subscriber discount 🎉
Hi {name},
You're on the list! Welcome to our community.
As promised, here's your exclusive subscriber discount:
Code: {coupon_code}
Value: 10% off your order
Expires: 14 days
Shop now: {shop_url}
You'll hear from us with exclusive offers, tips, and news.
Welcome aboard!
Contact Form
Subject: Thanks for contacting us + a small gift
Hi {name},
Thank you for reaching out! We've received your message
and will respond within 24 hours.
In the meantime, here's a thank you discount:
Code: {coupon_code}
Value: 10% off any order
We appreciate you taking the time to contact us!
Quote Request
Subject: Your quote request + a special offer
Hi {name},
Thanks for requesting a quote! We're reviewing your
requirements and will get back to you shortly.
While you wait, here's a special discount if you decide
to place an order:
Code: {coupon_code}
Value: 15% off
Valid: 7 days
Looking forward to working with you!
CF7 Field Mapping
| CF7 Field | Workflow Variable | Usage |
|---|---|---|
[your-name] | {your-name} | Personalization |
[your-email] | {your-email} | Email restriction |
[your-subject] | {your-subject} | Context |
| Submission ID | {submission_id} | Unique codes |
Preventing Coupon Abuse
Single Use Per Email
Email Restriction: {your-email}
Usage Limit Per User: 1
Effect: Same email can't resubmit for new coupon
Time Limits
Expiry: 7-14 days
Effect: Creates urgency, reduces long-term abuse
Minimum Order
Minimum Spend: $25
Effect: Prevents coupon use on tiny orders
Troubleshooting
Coupon not created?
- Verify CF7 form submitted successfully
- Check workflow is enabled
- Review form ID filter
Wrong email restriction?
- Check CF7 email field name
- Verify field mapping
- Test field value output
Duplicate coupons?
- Check for multiple submissions
- Use submission ID for uniqueness
- Add spam protection to form