Latenode

Form submissions to Gmail

This template receives a form POST on a Latenode webhook, checks name, email, and message in JavaScript, and sends a Gmail notification from the mailbox you connect. Keep the HTML form on your site. Point the form action or fetch URL at the webhook, then connect Gmail.

Updated Sep 16, 2026Est. run: 4sEst. cost: $0.0003
How Latenode estimates time and cost

Latenode bills workflow runtime in CPU seconds. The first 10,000 CPU seconds are free each month, then usage follows pay-as-you-go CPU-second pricing. Plug-and-Play (PnP) AI nodes are billed separately—each PnP token is $1 USD, charged pay-as-you-go at vendor cost plus a small processing fee, with no API keys required.

Full pricing — how CPU seconds work →

Workflow preview

What this template does

  • Emails a new form submission as soon as it arrives
  • Validates the payload in JavaScript before Gmail sends
  • Uses the Gmail mailbox you connect
  • Leaves the form hosted on your site

How it works

1
Trigger

Receive the form POST

The scenario starts when your form sends a submission to the webhook URL.

2
Logic

Validate the payload

JavaScript reads name, email, and message. Empty required fields or a filled honeypot stop the run.

3
Action

Send Gmail

Gmail delivers the subject and body to the inbox or submitter you map.

Setup guide

1

Add the webhook

Add a webhook trigger and copy the URL. Set your form action or JavaScript fetch to that address.

2

Connect Gmail

Add a Gmail connection for the mailbox that should send the notice.

3

Map and test

Validate name, email, and message in JavaScript, then map them into the Gmail subject and body. Send a test submission from the form.

Requirements

A form that can POST to a public HTTPS webhook
A Gmail mailbox Latenode can send from
Agreement on required fields such as name, email, and message

FAQ

Common questions about this template

Each run uses credits on your Latenode plan. We charge for processing time (1 credit = 30 seconds). Your actual cost depends on your plan and how long the run takes. See pricing plans for plans and how credits work.