AFI AFI

lemlist

Estimated reading: 2 minutes Updated August 1, 2026

lemlist is a cold email outreach and sales engagement platform. Advanced Form Integration adds contacts to your lemlist campaigns from WordPress form submissions, so every lead captured through your website can be enrolled in an automated outreach sequence.

What you’ll need

  • An active lemlist account.
  • Your lemlist API credentials (see below).
  • The Advanced Form Integration plugin installed and activated.

Get your lemlist API key

  1. Sign in to your lemlist account.
  2. Go to Settings → Integrations → API.
  3. Copy your API Key.
  4. In WordPress, go to AFI → Settings → lemlist.
  5. Click Add Account, paste the API Key, and give the account a name.
  6. Click Save.

Create the integration

  1. Go to AFI → Add New.
  2. Give the integration a name, for example Form to lemlist.
  3. Under Trigger, pick the form plugin and the specific form.
  4. Under Action → Platform, select lemlist.
  5. In Task, choose Add Contact To Campaign.
  6. Pick the saved account.
  7. Map your form fields onto the fields listed below.
  8. Optional: open Conditional Logic to limit which submissions are sent.
  9. Click Save Integration.

Screenshot: AFI field-mapping screen with lemlist fields visible

Tasks supported

Add Contact To Campaign

Adds a contact to a selected lemlist campaign via POST /api/leads at api.lemlist.com.

Field Field key Required Notes
Email email Yes
First Name firstName No
Last Name lastName No
Phone phone No
Company companyName No

Pro features

The Pro integration extends the free version with additional capabilities. Pro uses the same lemlist connection.

Feature comparison

Feature Free Pro
Add contact to campaign
Standard fields (name, phone, company)
Custom fields No

Conditional logic example

Only send data to lemlist when specific conditions are met. For example, add a condition on a form field to control which submissions are forwarded.

Troubleshooting

Nothing arrives in lemlist

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 lemlist account settings. If they were regenerated, update them in AFI → Settings → lemlist.

Related docs