Overview
Keila is an open-source email newsletter platform that allows you to manage subscribers and send email campaigns. The integration with AFI allows you to add new contacts to your Keila workspace automatically when a form is submitted.
Supported Trigger
-
Add Contact: Creates a new contact in your Keila instance.
Requirements
To connect your Keila account, you’ll need:
-
A self-hosted or cloud-hosted Keila instance
-
A valid API Key
You can create or copy your API key from:
Keila > Settings > API Access > Personal Access Tokens
Set Up Keila in AFI
-
Go to AFI > Settings tab.
-
Select the Keila tab.
-
Click Add New Account.
-
Enter a title (used for internal reference) and paste your API Key.
-
Click Save Changes.
Set Up an Action
-
Go to AFI > Integrations, create a new integration or edit an existing one.
-
Select your form plugin and form.
-
Set the Action Platform to Keila.
-
Choose the action Add Contact.
-
Map the following fields:
-
Email (required)
-
First Name (optional)
-
Last Name (optional)
-
City (optional)
-
External ID (optional)
-
Example Use Case
When a user submits your form:
-
Their name, email, and city are automatically sent to your Keila instance.
-
They are subscribed to your newsletter list immediately.
Troubleshooting
-
Make sure the API key is active and correct.
-
Ensure the email field is not empty; it’s required by Keila.
-
Check the AFI Log tab for any errors during submission.
-
If self-hosted, confirm that your Keila API is publicly accessible.