Send daily birthday greetings via Gmail, WhatsApp, Telegram and Slack
Quick Overview This workflow runs daily, pulls birthdays from Google Contacts, generates personalized birthday copy with OpenAI, sends greetings via Gmail, WhatsApp Business Cloud, and Telegram when available, and posts a per-contact delivery summary to Slack.
How it works Runs every day at 8:00 AM on a schedule. Fetches all contacts from Google Contacts including names, birthdays, email addresses, phone numbers, and biographies. Normalizes contact details, validates email/phone/Telegram chat ID fields, and keeps only contacts whose birthday is today. Uses OpenAI to generate a birthday message payload (email subject/body plus a short chat message) and applies fallback text if any fields are missing. Sends the birthday greeting through Gmail, WhatsApp Business Cloud, and Telegram only for channels that pass validation, and records a sent or skipped status for each channel. Builds a Slack-friendly summary per birthday contact and posts it to the configured Slack channel.
Setup Connect your Google Contacts account in n8n so the workflow can read contacts with birthdays, emails, phone numbers, and biographies. Add an OpenAI credential and ensure your prompt returns JSON fields named subject, emailMessage, and shortMessage. Add a Gmail OAuth2 credential for sending emails and confirm the workflow is allowed to email your contacts. Add WhatsApp Business Cloud credentials and replace YOUR_WHATSAPP_PHONE_NUMBER_ID with your phone number ID. Add a Telegram bot credential and ensure each recipient’s numeric chatId is available (for example stored in the contact biography field). Add a Slack OAuth2 credential and replace YOUR_SLACK_CHANNEL_ID with the channel where the final summary should be posted.
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
Automatic News Summarization & Email Digest with GPT-4, NewsAPI and Gmail
📰 AI News Digest Agent: Auto News Summarizer & Email Newsletter Create an intelligent news curation system that automat...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments