Create Anki language flashcards with GPT-4, DALL-E and ElevenLabs

Go to Workflow
0 views
Built by Victor Manuel Lagunas Franco Victor Manuel Lagunas Franco
Created on June 16, 2026

Description

Turn any topic into a ready-to-study Anki deck. This workflow generates vocabulary flashcards with AI images and native pronunciation, then sends the .apkg file straight to your inbox.

What it does
You fill out a simple form (topic, languages, difficulty)
GPT-4 creates vocabulary with translations, readings, and example sentences
DALL-E 3 generates a unique image for each word
ElevenLabs adds native pronunciation audio (word + example)
Everything gets packaged into a real .apkg file
The deck lands in your email, ready to import into Anki
A backup copy saves to Google Sheets

Why I built this
I was spending hours making flashcards by hand for language learning. Finding images, recording audio, formatting everything for Anki... it took forever. This workflow does all of that in about 3 minutes.

Setup (~15 min)
Install npm packages: jszip and sql.js
Add OpenAI credentials (for GPT-4 + DALL-E)
Add ElevenLabs credentials
Connect Gmail and Google Sheets via OAuth
Update OPENAI_API_KEY in the DALL-E code node
Update the Spreadsheet ID in the Sheets node

Features
20 languages supported
7 image styles (minimal icons, kawaii, realistic, watercolor, pixel art...)
6 difficulty levels (A1 to C2)
Optional reverse cards (target→native AND native→target)
Works on Anki desktop and mobile

Nodes Used (4)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest