Hébergement VPS n8n | Automatisation sécurisée et évolutive
Formation n8n en Français : Automatisation & Agents IA
This is the beginner tutorial template, upgraded with AI. It teaches the four n8n fundamentals — triggers, HTTP requests, field mapping and integrations — in three progressive steps, and ends with something people actually want to receive: a morning email where a random inspirational quote is turned by OpenAI into a short, personal coaching note, in the language of your choice.
The whole workflow is beginner-safe: no code, one single Configuration node to edit, and every step covered by a sticky note.
<aside> 🎬
Filming angle: build Step 1 live in 2 minutes to show "n8n is not scary", then add AI + Gmail in Step 2 for the payoff, then leave Step 3 as homework for the audience.
</aside>
flowchart TD
subgraph S1["Step 1 — Your first run"]
A1["1. Click 'Execute workflow' (Manual Trigger)"] --> A2["2. Get an inspirational quote (HTTP)"]
A2 --> A3["3. See the results (Set)"]
end
subgraph S2["Step 2 — AI + schedule + email"]
B1["Every morning at 7am (Schedule Trigger)"] --> B2["Configuration (Set)"]
B2 --> B3["Get a fresh quote (HTTP)"]
B3 --> B4["Clean up the data (Set)"]
B4 --> B5["Personalize the quote with AI (OpenAI)"]
B5 --> B6["Extract the AI message (Set)"]
B6 --> B7["Send it to your inbox (Gmail)"]
end
subgraph S3["Step 3 — Your challenge"]
C1["Run the challenge (Manual Trigger)"] --> C2["Get a quote (HTTP)"]
C2 --> C3["Get a programming joke (HTTP)"]
C3 --> C4["Your turn: map the fields (Set)"]
end
| Service | Credential type in n8n | Used by | How to get it |
|---|---|---|---|
| OpenAI | OpenAI API (openAiApi) |
Personalize the quote with AI | platform.openai.com → API keys → Create new secret key → paste into n8n (Credentials → New → OpenAI) |
| Gmail | Gmail OAuth2 (gmailOAuth2) |
Send it to your inbox | n8n → Credentials → New → Gmail OAuth2 → Sign in with Google → allow send permission |
| ZenQuotes | None | All HTTP quote nodes | Free public API, no key needed |
| JokeAPI | None | Get a programming joke | Free public API, no key needed |
<aside> ⚠️
Never paste an API key directly into an HTTP Request node. Always use the n8n credential system.
</aside>
Even though it sits in Step 2 on the canvas, build and explain this node first: it is the single place a beginner edits.
| Name | Type | Default value | Role |
|---|---|---|---|
send_to |
String | (empty) | The email address that receives the daily note |
output_language |
String | English | Language the AI writes in (English, French, Spanish...) |
ai_model |
String | gpt-4o-mini | OpenAI model used for the coaching note |
email_subject |
String | Your daily dose of motivation | Subject line of the email |
coaching_style |
String | warm, practical morning coach | Persona injected into the AI system prompt |