Overview
The AFI plugin enables you to automatically add new subscribers to your Laposta mailing lists when a user submits a form on your WordPress site.
✅ Supported Action
Add Subscriber — Adds a contact to a selected Laposta mailing list.
🔧 Setup Instructions
Step 1: Get Your API Key
Log in to your Laposta dashboard.
Go to Settings → API.
Generate a new API key or use an existing one.
Step 2: Connect Laposta in AFI
Navigate to AFI → Settings → Laposta.
Enter your API Key and save.
Step 3: Create an Integration
Go to AFI → Add New.
Under Trigger, select your form plugin.
Under Action:
Choose Platform: Laposta
Choose Task: Add Subscriber
Step 4: Field Mapping
Choose your Laposta account and list.
Map form fields (like email, IP address, and any custom fields).
Click Save Integration.
🌟 AFI Pro Features
When using AFI Pro, you gain advanced control through the Laposta [PRO] action. This allows you to:
Auto-load and map Laposta custom fields defined in each list.
To use these features, select Laposta [PRO] as the platform in your integration, and custom fields will be auto-populated based on the selected list.
🧪 Troubleshooting
Ensure the API key is correct and active.
Make sure the selected list exists in your Laposta account.
Check AFI → Logs for request and error details if syncing fails.
For Pro features, verify that your Laposta list contains custom fields and that they are properly configured.