Skip to main content

Extract vocabulary flashcards from Spotify listening with Gemini and Google Sheets

Workflow preview

Workflow preview
100%
Extract vocabulary flashcards from Spotify listening with Gemini and Google Sheets preview
Open on n8n.io

1. Workflow Overview

What this workflow does This workflow turns your Spotify listening history into vocabulary flashcards for language learning. When you listen to music in your target language, you hear words hundred...

Best for

  • Personal Productivity automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.spotify, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Welat Eren.

Original n8n.io source

1.1 Workflow description

Title
Extract vocabulary flashcards from Spotify listening with Gemini and Google Sheets
Workflow name
Extract vocabulary flashcards from Spotify listening with Gemini and Google Sheets

What this workflow does

This workflow turns your Spotify listening history into vocabulary flashcards for language learning.

When you listen to music in your target language, you hear words hundreds of times without trying, they're already in your subconscious. This workflow extracts those words and turns them into flashcards, so you're connecting meaning to sounds you already know.

Every Sunday, the workflow:

  1. Fetches your recently played songs from Spotify
  2. Finds lyrics via lrclib.net
  3. Extracts 40-60 useful words (B1-B2 level) using Google Gemini
  4. Deduplicates against all previously learned words
  5. Writes new vocabulary to Google Sheets (master + weekly tab)

Review with the free Flashcard Lab app (iOS + Android) which reads directly from Google Sheets with spaced repetition. Works for any language, just change the AI prompt.

Setup

Setup time: ~15 minutes

  1. Google Cloud Console: Create project, enable Sheets API + Drive API, create OAuth2 credentials, set app to "In Production" (tokens expire after 7 days in Testing mode)
  2. Gemini API: Get a free key from Google AI Studio
  3. Spotify Developer Dashboard: Create app, note Client ID + Secret
  4. Google Sheet: Create a sheet with tab "All Vocabularies" and headers Word + Translation
  5. Import workflow, connect credentials, select your Google Sheet in all Sheets nodes
  6. Click "Execute Workflow" to test
  7. Enable the schedule trigger for weekly runs

Changing the language

Edit the prompt in "Prepare all Lyrics into Pairs" — that's the only place you need to change. All other nodes use generic Word and Translation columns.

> 🎧 Tip: Listen to music in the language you're learning. The whole point is that your brain already absorbed these words passively — the flashcards connect meaning to sounds you already know.

Full documentation

👉 GitHub Repository

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Cut out Duplicate Songs

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Getting Lyrics

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 3 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 4 - Every Sunday at noon

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 5 - Combine existing Words with new Words

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Append to All Vocabularies

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - Append to Weekly

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Create sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 9 - Cut out SheetName Column

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Parse, Deduplicate, Week Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Read all Vocabularies

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 12 - Put all Lyrics together

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 13 - Get the recently played Songs

Type / Role
n8n-nodes-base.spotify - spotify
Config choices
Version 1

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 18 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Extract vocabulary flashcards from Spotify listening with Gemini and Google Sheets
Complexity advanced
Nodes 20
Categories Personal Productivity, AI Summarization
Author Welat Eren
Published 13 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14022/14022.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Extract vocabulary flashcards from Spotify listening with Gemini and Google Sheets do?

What this workflow does This workflow turns your Spotify listening history into vocabulary flashcards for language learning. When you listen to music in your target language, you hear words hundred...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity, AI Summarization use case.