Templates / 🉑 Generate Anki flash cards for language learning with Google Translate and GPT

🉑 Generate Anki flash cards for language learning with Google Translate and GPT

Needs changes

by Samir Saci ✓ · 4,926 views · created 2025-03-17 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs on Google Sheets events (row added). Along the way it connects OpenAI Chat Model, Google Sheets and Google Drive. It also calls api.pexels.com over HTTP.

How it runs

Trigger: On Google Sheets events (row added).

  1. initialText is empty? (If): checks a condition and branches into true / false
  2. Take initialText (Edit Fields (Set)): sets 1 field: entry
  3. Google Translate: uses Google Translate
  4. Call API Pexels (HTTP Request): calls api.pexels.com
  5. Extract Fields (Edit Fields (Set)): sets 3 fields: initialText, translatedText, image_name
  6. AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  7. Get Picture (HTTP Request): calls an HTTP API
  8. Merge: merges the data from its input branches
  9. Extract Pinyin and Example (Edit Fields (Set)): sets 2 fields: phonetic, example
  10. Upload Picture (Google Drive): uses Google Drive

…plus 3 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle SheetsGoogle Drive

HTTP calls to: api.pexels.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

Context Hey! I'm Samir, a Supply Chain Data Scientist from Paris who spent six years in China studying and working while struggling to learn Mandarin. I know the challenges of mastering a complex language like Chinese and my greatest support was flash cards.…

Excerpt from Samir Saci's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.