You can auto populate your contacts directly from a form you create in our website editor.
If you have not created a contact form using our website editor, click
here for more information on creating a custom form.
Log in to your dashboard and select the "Manage Your Site" tile.
Navigate to your contact form.
We will be adding "Parameter-IDs" to the fields so that the data is mapped to the correct columns in the contact list.
Select the field you are updating, and then select the cog to access the settings.
You will need to update each field you are passing to the contact list.
Select Advanced Settings.
The following Parameter IDs can be passed to the contact list for your email marketing campaign:
The below Parameter IDs are case sensitive.
- email - This is for the Email field to be submitted to a contact group.
- firstName - This is for the First Name to be submitted to a contact group.
- lastName - This is for the Last Name to be submitted to a contact group.
- listName - This is the custom list name or contact group; if it does not exist, it will automatically create it.
Finally, add the webhook, which passes the data to your email marketing contact list.
Hover over the Submit button, select the cog icon to access the settings, and then scroll down to access the Advanced Settings.
Use the webhook URL below to push data to your email marketing platform.
https://webhook.cml.ai/v1/mec/
{UNIQUE PROJECT-ID}/contact
(Example:
https://webhook.cml.ai/v1/mec/0bff049b-88ff-4097-aeca-b7475b068e67/contact)
The unique project ID can be found in the URL for each project in the website editor:
Select Publish to save your changes.
Now when someone fills out your contact form, their contact information will be added to the contact list in your email marketing tool.
If you added a unique list name, the contact information will automatically be added to that unique list in your email marketing tool.