Mailmodo has a webhook integration that lets you export data easily. In an email campaign, you can export all form submissions to an external database using webhooks. You can add the integration from the template builder itself by following these simple steps-
Step 1 - In the template editor page, click on Form submission to external apps button in the top-right corner. This option is only available if your template has a form in it.
Step 2 - Click on Setup under the Action column
Step 3 - Click on the pen icon on the top to change the name of the form.
Step 4 - Select the Webhooks integration
Step 5 - Add the webhook name and URL
Step 6 - Scroll down and map the submission fields corresponding to Webhook.
Click Save
Step 7 - You can now send your campaign. All form submissions will be posted in this Webhook URL.
The raw data will appear in a JSON string like this :
In the JSON we will send the following fields:
- The contact data including name, number, email, etc.,
- Form data such as form id, step ids, number of fields and/or steps.
- Submission data such as submission source, time of submission, recipient email, etc.,
Note: Webhook configuration will not be saved when you duplicate a form, duplicate a template or use a form as a saved block. Be sure to configure the webhook if you want to export submissions.
Another point to note, in the webhook the data that will be sent to you will be two-fold. First, the form submission data will be sent. Second, we will send the data used to trigger the campaign.