Overview
The AFI plugin allows you to connect your WordPress forms with Gist, enabling automatic creation of contacts in your Gist account whenever a form is submitted. This is ideal for lead capture, user onboarding, and CRM enrichment.
β Supported Feature
Create Contact in Gist
π§ How to Setup
Step 1: Connect Your Gist Account
To connect your Gist account:
Go to AFI β Settings β General
Enable Gist from the platform list and click Save Changes
A new Gist tab will appear at the top β click on it
Enter your API Key
π How to Get Your API Key:
Log in to your Gist account
Navigate to Settings β API Keys
Generate or copy your existing API key
Paste the key into the plugin settings and click Save Changes
Step 2: Create a New Integration
Go to AFI β Add New
Youβll land on the New Integration setup screen
πΉ Title
Give your integration a name (e.g., “Gist Contact Creation”)
πΉ Trigger
Form Provider: Select the form plugin you are using (e.g., WPForms, Elementor, Contact Form 7)
Form/Task Name: Choose the specific form you want to connect
Step 3: Configure the Action
πΉ Platform
Choose Gist
πΉ Task
Select Create Contact
This action will send form data to Gist and create a new contact.
Step 4: Map Fields
After selecting the task, you will be able to configure the following options:
πΉ Gist Account
Choose your Gist credentials from the dropdown (added in Step 1)
πΉ Field Mapping
Match your form fields with Gist contact fields:
Email (recommended)
Full Name, First Name, Last Name
Phone Number, Company Name
Job Title, Location
Custom attributes (e.g., Gender, DOB, Website URL, etc.)
You can also map nested fields like location data (city, country, time zone) if available.
Step 5: Save Integration
Click Save Integration at the bottom.
π Thatβs it! Your integration is ready. When someone fills out your form, their data will be sent to Gist and a contact will be created.
π Troubleshooting
If the integration isnβt working:
Go to AFI β Log
Look for entries related to your Gist integration
Common things to check:
The API Key is correct and active
The form is mapped properly
The email field is not empty (if required)
No error messages were returned from Gist