workflows.fit
Back to n8n workflows
n8n templateFreeBy AI Solutions

Process website contact form submissions with SharePoint and Gmail

How it works This workflow fires whenever a visitor submits a contact form on your website. A Webhook receives the POST payload (Name, Email, Phone, Message, Date, and Time) from your website form. Log Submission to S...

CommunicationHITLDevelopmentCore NodesSticky NoteWebhookMicrosoft Share PointCode
Loading interactive preview...

Template notes

How it works

This workflow fires whenever a visitor submits a contact form on your website.

A Webhook receives the POST payload (Name, Email, Phone, Message, Date, and Time) from your website form.

Log Submission to SharePoint writes each field into a SharePoint list for permanent record-keeping — giving you a searchable, auditable log of every inbound inquiry without any manual data entry.

Build Branded Email HTML is a Code node that constructs a fully branded HTML notification email. Colors, logo, and layout are all defined as named constants at the top of the node for easy one-time customization.

Send Email Notification delivers the notification via Gmail OAuth2 to your designated recipient address, with Reply-To automatically set to the submitter's email so you can respond in one click.

How to set up

1. In Webhook, copy the production webhook URL and wire it to your contact form's POST action. 2. In Log Submission to SharePoint, update the site URL and list name to match your SharePoint environment. 3. In Build Branded Email HTML, update the brand constants at the top of the Code node: FIRMNAME, LOGOURL, and ACCENTCOLOR. 4. In Send Email Notification, select your Gmail OAuth2 credential and set your designated recipient address.