Docly Child

Mailjet

Estimated reading: 3 minutes

Overview

The Advanced Form Integration plugin allows to integrate many popular WordPress forms with Mailjet. When a user fills a form on your website, the plugin will send the data to your Mailjet account and create or update a subscriber in the preferred list.

Supported Features

  • Create Contact (Basic Fields) & add to List
  • Create Contact (Basic Fields and custom Fields) & add to List. AFI Pro

How to Setup

Authentication

Before start, you are required to authorize your Mailjet account on the plugin settings page.

Go to AFI > Settings > General and you will find all the supported platforms listed there. Mark Mailjet  and hit the Save Changes button at the bottom.

Now find the Mailjet tab at the top of the settings page, click on that, You will be taken to the Mailjet settings page, where you are to provide API Key and Secret Key then click on Save Changes button. (How to find api keys is instructed in Mailjet 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.

Title

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.

Trigger

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.

Action

Select Mailjet or Mailjet [pro] in Platform dropdown. Then select Subscribe to List in the Task dropdown. 

Map Fields

Available Mailjet Contact List will be auto-populated in the Mailjet List drop-down. Select the desired one. You will find Mailjet’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,  Name fields that you want. If you are using pro version your all the fields you added to the Mailjet account will be available, you can map them as you want.

Additional Custom Fields (Contact Properties)

Mailjet only takes email address of a contact by default but you might want to add other contact properties like first name, last name, phone number, etc. While creating these properties always use english characters as field title. Avoid non-english titles like prénom, téléphone, etc. We got reports that these led to error and stops adding contact.

Save Integration

Finally, click the Save Integration button and you are done. Now you can start testing.

Troubleshooting

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.

Share this Doc

Mailjet

Or copy link

CONTENTS