What happens when someone submits your form
- Runs for each new completed submission, in the background after the respondent finishes.
- Adds the submitter's email to your Mailjet contact list using the addnoforce action.
- Sets the contact's name when the form collects one.
- If the person previously unsubscribed from the list, Mailjet does not re-subscribe them.
- Submissions without an email answer are not sent.
What gets sent to Mailjet
| From your form | In Mailjet |
|---|---|
| Email question | Contact email |
| Name (Full Name or First/Last Name questions) | Contact name |
| Contact list ID setting | List subscription |
How to connect Mailjet
Before you start, you need
- A Mailjet account.
- Your API key and secret key.
- The numeric ID of a contact list.
- A form with an Email question.
Get your API key and secret key
In Mailjet, open Account settings, then REST API, then API key management, and copy the API key and secret key.
Find the contact list ID
Under Contacts, open Contact lists and note the numeric ID of the list.
Open Mailjet in Fantastic Forms
Go to Integrations, choose Mailjet and pick the form.
Enter the keys and list ID
Paste the API key, secret key and list ID, switch the connection on and save.
Test the connection
Test connection reads the list with your keys, which checks both the keys and the list ID. No contact is added.
Submit the form
Submit the form with an email you control and check the contact list in Mailjet.
Popular ways to use Mailjet with your forms
Newsletter signups
Add website signups to the list your Mailjet newsletter goes to.
Start from a template: Email Subscription Form Template
Customer feedback follow-up
Add customers who leave feedback and agree to updates to a list for product news.
Start from a template: Customer Feedback Form Template, Product Feedback Form Template
Event registrations
Keep a list of registrants so you can send updates and reminders from Mailjet.
Start from a template: Event Registration Form Template, Conference Registration Form Template
Tips for a better setup
- Use a separate list per form if you want to send different content to each audience.
- Because unsubscribed contacts are not re-added, a form submission never overrides someone's choice to leave.
- Make the Email question required.
- Use a Full Name question so contact names are filled for personalization.
Good to know
- Only email and name are sent.
- One list per form.
- Only new submissions are sent.
Troubleshooting
Test fails with "Mailjet rejected the credentials"
Check that the API key and secret key are a matching pair from API key management, with no extra spaces.
Test fails with a not found error
The contact list ID is wrong. Copy the numeric ID from Contacts > Contact lists.
Someone filled in the form but is not on the list
If they unsubscribed earlier, Mailjet keeps them unsubscribed. Also check the Last error box for other messages.
"Mailjet requires an email field on the form"
Add an Email question to the form.
Mailjet integration FAQ
Will people who unsubscribed be added again?
No. The integration uses Mailjet's addnoforce action, which does not re-subscribe contacts who unsubscribed from the list.
Can I send custom properties to Mailjet?
No. It sends the email and name to one list.
Why do I need both keys?
Mailjet's API authenticates with the API key and secret key together.
Can I use different lists for different forms?
Yes. Each form has its own connection and list ID.
Is Mailjet available on the Free plan?
Yes. It is available on every Fantastic Forms plan.