Latenode

Sync birthdays from Google Sheets, get AI-written emails, send via Gmail

This automation workflow helps users automatically send personalized birthday emails to their contacts every morning.

It retrieves birthday data from a Google Sheet, uses the OpenRouter AI platform to generate a custom subject line and message, and then sends the email via Gmail. This is a great solution for communities, schools, small businesses, or anyone who wants to maintain meaningful connections through automated, thoughtful outreach.

Updated Apr 2, 2026Est. run: 8sEst. cost: $0.0005
How Latenode estimates time and cost

Latenode bills workflow runs in credits: 1 credit = 30 seconds of processing. Minimum charge per run depends on your plan. 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 credits work →
Email

Workflow preview

What this template does

  • Retrieves birthday data from a Google Sheet daily
  • Generates personalized subject line and email message using OpenRouter AI
  • Sends a birthday greeting to contacts via Gmail
  • Operates automatically every morning to maintain consistent outreach
  • Produces a record of sent birthday emails

How it works

1
Trigger

Daily Schedule

The workflow is triggered every morning at 9 AM to automatically send personalized birthday emails.

2
Logic

Fetch Birthday Data

The workflow retrieves name, email, and date of birth information for each contact from a Google Sheet.

3
Logic

Filter by Birthday

The workflow checks if today's date matches the recipient's birthday and proceeds with the email generation for those with a match.

4
AI

Generate Personalized Message

The workflow uses the OpenRouter AI platform to create a custom subject line and message body for each birthday email, ensuring a personalized touch.

5
Action

Send Birthday Email

Finally, the workflow sends the personalized birthday email to each recipient via Gmail.

Setup guide

1

Add Google Sheets credential

In the Latenode Credentials panel, add a new Google Sheets credential by providing your Google account details and authorizing Latenode to access your Google Sheets.

2

Configure Gmail credential

In the Latenode Credentials panel, add a new Gmail credential by connecting your Gmail account. Latenode will securely store the necessary OAuth tokens to allow your workflow to send emails.

3

Configure OpenRouter credential

In the Latenode Credentials panel, add a new OpenRouter credential by providing your OpenRouter API key. This will allow your workflow to use the OpenRouter AI platform to generate personalized birthday messages.

4

Set up Google Sheets data source

In the Latenode visual builder, add a 'Get row(s) in sheet' node and configure it to fetch data from the specific Google Sheet and worksheet containing your contacts' birthday information (name, email, date of birth).

5

Configure the AI message generation

In the Latenode visual builder, add an 'AI Agent' node and configure it to use the OpenRouter integration. Map the contact name and date of birth data from the Google Sheets node to the appropriate inputs for the AI agent. This will generate a personalized birthday email subject and body.

Requirements

Google Sheets account and access to the spreadsheet containing birthday data
Gmail account with send email permissions
OpenRouter API key and access to generate personalized subject lines and messages
Latenode workspace with the 'Google Sheets', 'Gmail', and 'Code' nodes configured

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.

More templates

You might also like

Browse all templates →
Email

Automatically sync Harvest time entries from new Outlook events

This automation creates time entries in the Harvest time tracking app whenever a new event is added to the user's Microsoft Outlook calendar. This ensures that time spent in meetings and on tasks is accurately logged, boosting productivity and enabling better project management. The workflow starts with a trigger for new calendar events in Outlook, which then automatically creates a corresponding time entry in Harvest, pulling in details like the event title, date, and duration.

8s$0.0005
Email

Automate Outlook email responses with OpenAI ChatGPT

This Latenode automation template allows users to generate AI-based email responses in Microsoft Outlook using the ChatGPT language model. When a new email is received in the user's Outlook inbox, the integration will send the email content to ChatGPT, which will then generate a relevant response. The automation can either automatically send the AI-generated response back to the original contact or draft the response for the user to review before sending. This solution helps save time and effort on composing email replies, particularly for high-volume or repetitive inquiries.

17s$0.0011
Email

Automatically send SurveyMonkey surveys for flagged Outlook emails

This workflow automatically triggers a SurveyMonkey survey to be sent whenever a new email is flagged in a user's Microsoft Outlook mailbox. By streamlining the process of soliciting feedback, this automation helps businesses promptly and systematically gather crucial data from their customers or employees. The workflow is triggered by a 'New Flagged Email' event in Microsoft Outlook, and it then sends the configured SurveyMonkey survey to the relevant recipients. This efficient process saves users time by eliminating the manual steps of identifying flagged emails and sending surveys individually.

7s$0.0004