When contact form 7 submission received, get lead details by Email in UpViral and Send an email to the user
When someone submits a Contact Form 7 form, this workflow looks up their email in UpViral and sends them an email that can include the lead details UpViral returns for your campaign.
Contact Form 7
UpViral
3 steps Setup ~5 min Used on 1.1k sites Free to import

What this workflow does
People who joined an UpViral campaign may come back to your site with a question about their referrals or rewards. Answering means opening UpViral, finding their lead and copying the details into a reply. This workflow does the lookup and sends the reply when they use your contact form.
The Contact Form 7 trigger runs on each new submission. FlowMattic sends the submitted email address to UpViral with Get Lead Details by Email, which requests that lead's details from your campaign. The last step uses the Email module to send a message to the address from the form, through WordPress mail or your own SMTP account, with any lead details you place in it.
The lookup only reads from UpViral and changes nothing there. If the address isn't a lead in that campaign, the email still goes out, just without lead details, so write the message to make sense either way.
Referral status requests
A form titled Check my referrals asks for an email address. The reply email shows the person the lead details UpViral holds for them.
Lost share link
Participants who lost their referral link fill in the form and get an email with the link from their UpViral lead record, if your campaign stores one.
Giveaway support
Contest entrants with questions submit the contact form and get an automatic reply that already includes their campaign details.
How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
Contact Form 7 New Form SubmissionStarts on every new Contact Form 7 entry from your site. The submitted email address and other fields are passed to the next steps.
UpViral Get Lead Details by EmailRequests the lead's details from UpViral using the email address from the form. Map the form's email field here; a test with a known lead shows what UpViral returns.
- Email Send Email
Emails the person who filled in the form, using WordPress mail or the SMTP account you set up. Map the form's email as the recipient and add UpViral lead details to the message wherever you want them.
What you need
- FlowMatticCore
- Contact Form 7 PluginPlugin
- UpViral AccountAccount
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 a Filter after the UpViral step that continues only when a lead detail you rely on is not empty, so people who aren't in your campaign don't get a half-empty email.
- Make the email field required in Contact Form 7 by using email* in the form tag, so the UpViral lookup always has an address to search for.
- Test with an address you know is a lead in your campaign, then check Task History to see which UpViral details came back before you write the email.
Questions about this workflow
What happens if the email isn't in UpViral?
The UpViral step finds no lead, and Task History shows its response. The email step still runs, so the person gets your message without lead details unless you add a Filter.
Does the UpViral lookup add the person to my campaign?
No. Get Lead Details by Email only reads. To add new people, UpViral has a separate Add New Contact action you could add to the flow.
Can the reply go out through Gmail or another provider?
Yes. The Email step uses WordPress mail or the SMTP account you set, so enter your provider's SMTP details in it.
Does Contact Form 7 still send its own notification?
Yes. The workflow doesn't change your form's mail settings, so its usual emails are sent as well.
More Marketing 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




