When lead received from Facebook Lead Ads, create a FluentCart coupon and email it to the lead
Each new Facebook Lead Ads lead gets a FluentCart coupon with its own code, built from the lead ID, and FlowMattic emails that code to the lead’s address.
Facebook Lead Ads
FluentCart
3 steps Setup ~5 min Used on 2.4k sites Free to import

What this workflow does
A discount is a common reason people fill in a lead ad, and they expect it soon after. Sending the same public code to everyone means it can spread far beyond your ads. This workflow gives each lead a code of their own in your FluentCart store and emails it to them.
The Facebook Lead Ads trigger starts a run for every new lead that your connected lead form collects. FluentCart's Create Coupon step then makes a coupon titled "Facebook lead coupon" with the code FB- followed by the lead's ID, so no two leads share a code. The template sets only the title and code. Set the discount settings and conditions the step offers after import.
The coupon then goes out by FlowMattic's Email step, sent from your site's mail setup or an SMTP login. It goes to the email field from the lead form with the subject "Your discount coupon" and a short note quoting the code. Edit the wording to match your offer.
Send a test lead with Facebook's lead ads testing tool, then check Task History for the coupon FluentCart created and the address the email went to.
First-order discount from a lead ad
A skincare brand runs a lead ad offering a welcome discount; each person who submits gets a private FluentCart code in their inbox.
Tracking which leads buy
Because every code starts with FB- and carries the lead ID, a shop can see in FluentCart which redeemed coupons came from Facebook leads.
Course pre-sale incentive
An online teacher collects interest through a lead form and sends each lead a code for the course launch, without sharing a public discount.
How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
Facebook Lead Ads New LeadStarts the workflow when a new lead is created on your Facebook Lead Ads form. The lead's ID and form answers, including the email field, are passed on.
FluentCart Create CouponCreates a FluentCart coupon titled "Facebook lead coupon" with the code FB- plus the lead ID. The discount and conditions aren't set in the template, so fill in the discount settings and any conditions after import.
- Email Send Email
Emails the coupon code to the lead's email address through WordPress mail or your SMTP account. The subject and message are written in; edit them to describe your offer.
What you need
- FlowMatticCore
- Facebook Lead Ads AccountAccount
- FluentCart 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.
- Look through the Create Coupon step's conditions for a usage limit and set it to one, since every code is meant for a single lead.
- Map the lead's first name from the form into the email body so the message greets them by name.
- If your lead form names its email question differently, remap the Email step's recipient from a test lead's data.
- Add a Delay between the Create Coupon step and the Email step if you'd like the code to arrive a little after the form, not in the same minute.
Questions about this workflow
Does every Facebook lead get a different FluentCart code?
Yes. The code is FB- followed by the lead's ID from Facebook, so each lead gets a unique coupon.
How much discount does the coupon give?
Whatever you set. The template fills in only the coupon title and code, so choose the discount and any conditions in the Create Coupon step before you go live.
Can the coupon email go out through Gmail?
The Email step is FlowMattic's own module, using WordPress mail or SMTP. To use Gmail, put Gmail's SMTP server details into the Email step, or replace it with the Gmail app's Send Email action.
What if the lead form has no email question?
Then there's no address to send to. Add an email question to the Facebook lead form, or replace the Email step with Twilio's Send SMS if you collect phone numbers.
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





