Send daily AI-personalized inspirational quotes with OpenAI and Gmail
Go to WorkflowDescription
Quick overview
This workflow teaches n8n basics by fetching a daily quote from ZenQuotes, personalizing it with OpenAI, and emailing it via Gmail, with extra manual branches for practicing API calls and field mapping.
How it works
Runs manually to fetch a random inspirational quote from the ZenQuotes API and displays the quote and author.
Runs every day at 7am on a schedule.
Loads your configuration values (recipient email, language, model, subject, and coaching style) and fetches a fresh quote from the ZenQuotes API.
Sends the quote and author to OpenAI to generate a short 3–4 sentence coaching note in your chosen language.
Emails the quote and AI-generated message to the configured recipient using Gmail.
Runs an optional manual practice branch that fetches a ZenQuotes quote and a programming joke from JokeAPI, then prompts you to map the fields into a clean output.
Setup
Add an OpenAI API credential in the OpenAI step and ensure the selected model ID (default: gpt-4o-mini) is available in your account.
Add a Gmail OAuth2 credential for the Gmail send step.
In the Configuration step, set send_to to your recipient email address and adjust output_language, email_subject, ai_model, and coaching_style as needed.
If desired, change the schedule time from 7am to your preferred delivery hour.
Additional info
Learn n8n basics by sending AI-personalized quotes to your inbox with OpenAI and Gmail
📥 Open full documentation on Notion
Need help customizing?
Contact me for consulting and support : Linkedin
MY NEW YOUTUBE CHANNEL
👉 Subscribe to my new YouTube channel. Here I'll share videos and Shorts with practical tutorials and FREE templates for n8n.