To extend the reach of your Contact Form, integrate it with Google Sheets, Mailchimp, Constant Contact, or a third-party application using Webhooks.
To add integrations, right-click the Contact Form, click Edit Content, and click the Integrations tab.
Google Sheets Integration
Use the Google Sheets integration to instantly add contact form submission data to a spreadsheet in Google Sheets. All contact fields in the form will be populated into the spreadsheet, including a time stamp of when the form was submitted.
Note
MailChimp Integration
MailChimp is a tool for the distribution of email campaigns, newsletters, and so on. By using the new form integration, site owners can manage contact lists of potential clients (site visitors) by collecting email addresses, which are submitted to the form and send them automatically to MailChimp.
You must have a MailChimp account. Once you have an account, create a mailing list in your MailChimp account where the contact details will be collected.
Note
The only fields you can connect to MailChimp are First Name, Last Name, and Email. The integration will only work if you configure the fields with the exact same name on the Contact Form. A field may be left empty if you select to Leave this field empty in the drop-down menu.
Tip
If you have already configured your MailChimp integration and want to test your form with a test email, MailChimp may block test emails without notice (for example, test@test.com). To test your MailChimp integration, we recommend using a real email.
Constant Contact Integration
This is a similar integration to MailChimp, but allows site owners to create mailing lists in their Constant Contact account.
You must have a Constant Contact account. Once you have an account, create a mailing list in your Constant Contact account where the contact details will be collected.
Webhooks Integrations
Numerous online and cloud services offer integrations through a path called Webhooks. Webhooks send notifications to a specific web address called the endpoint URL. You can connect the contact form to send an event when the contact form is submitted.
To connect the contact form to another service using Webhooks, you need to create a custom endpoint URL with your desired service and paste it into the Webhooks integration field in the contact form. Once you add a Webhook URL, and the form is submitted, a POST request is sent to the endpoint with the data in the body in JSON format. The following is an example of the JSON data:
{"Submission Date":"06/02/2016 10:23:54","Form Title":"Contact Us","Name":"John Smith","Email":"test@example.com","Phone":"(555).555.1212","Message":"Webhook Form Submission!"}
Note
Submission Date and Form Title will always be provisioned. The other fields (field_name : value) are based on the fields configured in the form.
All field information is set as a string and contained in quotation marks. For example, 7
is sent as "7"
.
Create an Endpoint URL
Endpoints are set up on third-party services (for example, Zapier or Slack), or another server that you control. These endpoints are specifically set up to receive notifications from the Webhook.
Integration Ideas
Example Webhooks/Endpoint URL Setup on Slack
You will receive a message on Slack each time your contact form is submitted.
File Attachments
Files can be attached to submissions by creating a file attachment field in the contact form. Links to uploaded files are available in the form submissions’ download file, as well as in any of the form integrations such as Webhooks and Google Sheets.
Note
There are no restrictions on the type of file that may be uploaded.
Site visitors are not be able to upload files larger than 10MB.