Latenode

Automatically generate and send custom Mailjet emails from Airtable

This template watches an Airtable table for new records, builds subject and HTML in JavaScript from those fields, and sends the message with Mailjet.

Use it for welcome notes, order confirmations, or other mail that should follow a new row. Connect Airtable and Mailjet. Put the Mailjet API key and secret on the Mailjet connection. Point the trigger at the table that holds recipient and message fields.

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

  • Sends a Mailjet email when Airtable adds a record
  • Builds subject and HTML from the new row
  • Uses Mailjet HTML send with the key on the Mailjet connection
  • Skips the send when the record has no email

How it works

1
Trigger

Watch the Airtable table

The scenario starts when a new record appears in the Airtable table you choose.

2
Logic

Build subject and HTML

JavaScript maps recipient, subject, and body fields from the record into the Mailjet message.

3
Action

Send with Mailjet

Mailjet sends the HTML email to the address on the record.

Setup guide

1

Connect Airtable

Add an Airtable connection with access to the base. Watch new records on the table that stores recipient email and the fields you want in the message.

2

Connect Mailjet

Add a Mailjet connection and paste your Mailjet API key and secret there. Set the from address Mailjet allows you to send from.

3

Map the email

In JavaScript, build subject and HTML from the Airtable fields. Send HTML email in Mailjet. Skip the send when email is empty. Test with one record.

Requirements

An Airtable table Latenode can watch, with recipient email and message fields
A Mailjet account that can send from the from-address you set
Mailjet API key and secret stored on the Mailjet connection

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.