Latenode

Sync new Tidio contacts to draft emails in Gmail

This template creates a Gmail draft when Tidio captures a chatbot contact. Tidio sends the event to a Latenode webhook.

JavaScript reads name, email, and the first message, then Gmail creates the draft. Connect Gmail. If you poll Tidio over HTTP instead of a webhook, store the Tidio API key in the JavaScript node.

Updated Sep 16, 2026Est. run: 5sEst. 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

  • Creates a Gmail draft when Tidio captures a contact
  • Takes Tidio events on a webhook
  • Maps name, email, and first message in JavaScript
  • Keeps Gmail access on the Gmail connection

How it works

1
Trigger

Receive the Tidio contact

The scenario starts when Tidio posts a new contact to your webhook URL.

2
Logic

Read name and email

JavaScript pulls the fields the Gmail draft needs from the Tidio payload.

3
Action

Create the Gmail draft

Gmail saves a draft to the contact, with a subject and body you map from the chat.

Setup guide

1

Add a webhook trigger

Add a webhook trigger and copy its URL. In Tidio, send new-contact webhooks to that URL.

2

Connect Gmail

Add a Gmail connection with permission to create drafts in the mailbox that should hold replies.

3

Map the draft

In JavaScript, set To, subject, and body from name, email, and the first Tidio message. Skip the draft when email is empty. Put a Tidio API key in that JavaScript node if you poll Tidio over HTTP. Create a test contact and confirm the draft appears in Gmail.

Requirements

A Tidio workspace that can send a new-contact webhook, or a Tidio API key for HTTP
A Gmail mailbox Latenode can create drafts in
Contacts that include an email address

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.