Smartlead
Smartlead.ai is a cold email outreach and lead generation platform. Advanced Form Integration adds leads to your Smartlead campaigns from WordPress form submissions.
What you’ll need
- An active Smartlead.ai account.
- Your Smartlead.ai API credentials (see below).
- The Advanced Form Integration plugin installed and activated.
Get your Smartlead API key
- Sign in to your Smartlead dashboard.
- Go to Settings → API Keys and generate a new API Key.
- In WordPress, go to AFI → Settings → Smartlead.ai.
- Click Add Account, paste the API Key, and give the account a name.
- Click Save.
The API key is passed as a query parameter on each request.
Create the integration
- Go to AFI → Add New.
- Give the integration a name, for example
Form to Smartlead.ai. - Under Trigger, pick the form plugin and the specific form.
- Under Action → Platform, select Smartlead.ai.
- In Task, choose Add Lead to Campaign.
- Pick the saved account.
- Map your form fields onto the fields listed below.
- Optional: open Conditional Logic to limit which submissions are sent.
- Click Save Integration.

Tasks supported
Add Lead to Campaign
Adds a lead to a selected Smartlead campaign. Campaigns are loaded from the API for the dropdown.
| Field | Field key | Required | Notes |
|---|---|---|---|
email |
Yes | ||
| First Name | first_name |
No | |
| Last Name | last_name |
No | |
| Campaign ID | campaignId |
Yes | Selected from dropdown |
Pro features
The Pro integration extends the free version with additional capabilities. Pro uses the same Smartlead.ai connection.
Feature comparison
| Feature | Free | Pro |
|---|---|---|
| Add lead to campaign | ✅ | ✅ |
| Standard fields | ✅ | ✅ |
| Custom fields | No | ✅ |
Conditional logic example
Only send data to Smartlead.ai when specific conditions are met. For example, add a condition on a form field to control which submissions are forwarded.
Troubleshooting
Nothing arrives in Smartlead.ai
Open AFI → Log and find the most recent entry. AFI stores the request URL, body, and raw response.
API credentials rejected
Verify your credentials in your Smartlead.ai account settings. If they were regenerated, update them in AFI → Settings → Smartlead.ai.