Keap Integration
The AFI plugin allows you to connect your WordPress forms to Keap, enabling automatic contact creation when a form is submitted.
Supported Action
Action | Description |
---|---|
Create New Contact | Add a new contact to your Keap account using the submitted form data. |
API Key Configuration
To connect your Keap account with AFI:
Go to Keap Dashboard.
Navigate to Settings > API.
Create or use an existing Service Account Key.
Copy the API Key and go to AFI > Settings > Keap tab in your WordPress admin.
Paste the key and save.
Field Mapping
Once Keap is connected, create a new integration:
Choose your form.
Set Action Platform to
Keap
.Set Action Event to
Create New Contact
.
You will now see the option to map form fields to Keap contact fields, such as:
Email (Email 1, 2, 3)
First Name, Last Name, Middle Name
Company Name
Job Title
Phone Numbers (Mobile, Work, Home)
Addresses (Billing, Shipping)
Website, Birthday, Anniversary
Social Links (Facebook, Twitter, LinkedIn)
📌 Note: If a company with the same name exists, the contact will be linked to that. Otherwise, AFI will create a new company in Keap.
Conditional Logic
You can optionally enable Conditional Logic to send data only when specific conditions are met. This ensures contacts are created only under certain rules.
Troubleshooting
Make sure the API Key is valid and saved correctly in AFI settings.
Required fields such as Email must be properly mapped for the contact to be created.
Keap limits duplicate contact creation. Make sure
duplicate_option
is properly set (default is “Email”).Use the AFI > Logs menu to view API requests and responses if contact creation fails.
If your mapped company name is invalid or doesn’t return a valid company ID, contact creation may not link correctly.