The Advanced Form Integration plugin allows to integrate many popular WordPress forms with Mautic. When a user fills a form on your website, the plugin will send the data to your Mautic account and create or update a contact in the preferred list.
Create New Contact (Basic Fields)
Create New Contact (Custom Fields) Pro
How to Setup
Before start, you are required to authorize your Mautic account on the plugin settings page.
Go to AFI > Settings > General and you will find all the supported platforms listed there. Mark Mautic and hit the Save Changes button at the bottom.
Now find the Mautic tab at the top of the settings page click on that, You will be taken to the Mautic settings page, where you are to provide Mautic Account URL, Username and Password then click on Save Changes button. (How to find api keys is instructed in Mautic settings page)
Create New Integration
After the authentication part completed you can start creating new integration. Click on Add New under the AFI menu, New Integration page will appear.
A default title will be auto-generated with an auto incremental number. You can rename it to something related to the task. It will help you to quickly recognize the correct one if multiple integrations are created.
Select the sender form in the Form Provider dropdown. For example, Contact Form 7 or Gravity Form, or the Elementor Pro Form which you want to connect. After selecting the form provider, all forms built under that will be fetched and auto-populated in the Form/Task Name dropdown. Select the form that you want to integrate.
Select Mautic or Mautic [pro] in Platform dropdown. Then select Add or Update Contact in the Task dropdown.
You will find Mautic’s fields on the left side and form fields dropdown on the right. This form field dropdown will contain the field titles of the form you selected in the trigger area. Map Email, First Name, Last Name and other fields that you want. Skip the fields that are not needed. If you are using pro version your custom fields will be available, you can map them as you want.
Finally, click the Save Integration button and you are done. Now you can start testing.
After the integration is made, when users fill up the form and submit it, the plugin initiates the process of sending data to the configured platform. It also saves a log that includes what data it tried to send, and what it got in response from that platform. So if you find an integration is not working, your first task is to check the logs. Go to AFI > Log menu and check the recent logs.