05 · Intermediate

Form to Gmail

Forwards each form submission to Gmail when the team still works from the inbox.

Webhook

Gmail

n8n canvas preview

Form to Gmail

Download JSONOpen n8n.io ↗
Loading n8n canvas…

Canvas via n8n-demo · import JSON into n8n.io → Workflows → Import from File

Writeup

How Form to Gmail works

POST webhook path lead-mail → Gmail to ops@thenionic.com, subject “New site lead”, fixed text body.

Step by step — how to build it

  1. 01

    Add Webhook

    POST, Path lead-mail, Respond When Last Node Finishes.

  2. 02

    Add Gmail

    Connect Webhook → Gmail. Operation: Send Email (or Send a message).

  3. 03

    Fill To / Subject / Message

    To: ops@thenionic.com (or yours). Subject: New site lead. Type: text. Message: A lead just submitted the contact form.

  4. 04

    Connect Gmail OAuth2

    Credentials → Gmail OAuth2 → sign in → select on the Gmail node.

  5. 05

    Optional: map form fields

    Put {{$json.body.email}} and {{$json.body.message}} into Subject/Message when your form is ready.

  6. 06

    Test with a POST

    Activate → POST to the webhook → check the inbox for “New site lead”.

How it functions

1 · Form Webhook

POST /lead-mail, responseMode lastNode — Send Mail is the last step that closes the HTTP call.

2 · Send Mail

Gmail node: sendTo ops@thenionic.com, subject “New site lead”, emailType text, static message about a contact submit.

Setup notes

Connect Gmail OAuth2

n8n Credentials → Gmail OAuth2 with the mailbox that should send.

Adjust To / subject

Change sendTo if ops@thenionic.com isn’t yours. Optionally template subject with {{$json.body.name}}.

Activate & POST a sample

Hit …/webhook/lead-mail; confirm the message in inbox (and Spam once).

Tips

This export uses a static message — map form fields into message when you go live.

Run Form to Slack in parallel if you want chat + email.

Import into n8n.io → Workflows → Import from File, attach credentials, activate.

← Form to SlackIF Priority Router →
© 2026 thenionic · Form to Gmail