Overview
The AFI plugin lets you seamlessly connect your WordPress forms to Loops, a modern email marketing platform. This allows you to automatically add or update subscribers to your Loops lists when someone submits a form on your website.
This is ideal for automating newsletter signups, email campaigns, and user onboarding workflows.
✅ Supported Action
-
Subscribe to List – Adds or updates a contact in your selected Loops list.
🔧 How to Setup
Step 1: Get Your API Key
-
Log in to your Loops dashboard.
-
Navigate to Settings → API.
-
Click on Generate API Key or copy an existing one.
Step 2: Connect Loops with AFI
-
In your WordPress dashboard, go to AFI → Settings → Loops.
-
Paste your API Key and click Save.
-
Your Loops account is now connected.
Step 3: Create a New Integration
-
Go to AFI → Add New.
-
Under the Trigger section:
-
Select your form plugin (e.g., WPForms, Elementor, Contact Form 7).
-
Choose the form you want to integrate.
-
-
Under the Action section:
-
Platform: Choose Loops
-
Task: Choose Subscribe to List
-
Step 4: Map Fields
Once the task is selected, you can configure the following:
-
Loops Account – Select your connected Loops account.
-
List – Choose the mailing list you want to subscribe users to.
-
Subscriber Fields – Map your form fields to Loops fields such as:
-
email (required)
-
firstName
-
lastName
-
source
-
Custom Fields from your Loops account
-
Fields will auto-populate from your Loops workspace, including custom fields defined under Contacts → Custom Fields.
Each field on the left is from Loops, and you can map it to your form fields using the dropdowns.
Step 5: Save the Integration
After mapping the fields correctly:
✅ Click Save Integration.
From now on, new form submissions will automatically subscribe or update users in your selected Loops list.
🧪 Troubleshooting
If the integration isn’t working as expected:
-
Go to AFI → Logs and review the most recent API response.
-
Make sure:
-
The API Key is valid.
-
The selected List exists in your Loops account.
-
Email field is correctly mapped and not empty.
-
There are no typos in custom field names.
-
-
Contact Loops support if your API key is not working properly.