Skip to main content

Generate news cards from Spotify emotions with LLM, Google News and APITemplate.io

Workflow preview

Workflow preview
100%
Generate news cards from Spotify emotions with LLM, Google News and APITemplate.io preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Title: Spotify Emotion to News Card Generator (APITemplate.io + Slack) What it does: This workflow analyzes the emotion of your recently played Spotify track using OpenRouter (LLM), fetches a relat...

Best for

  • Content Creation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.scheduletrigger, n8n-nodes-base.spotify, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.splitinbatches, n8n-nodes-base.set, n8n-nodes-base.rssfeedread, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate news cards from Spotify emotions with LLM, Google News and APITemplate.io
Workflow name
Generate news cards from Spotify emotions with LLM, Google News and APITemplate.io

📄 Workflow Overview

Title: Spotify Emotion-to-News Card Generator (APITemplate.io + Slack)

What it does:

This workflow analyzes the emotion of your recently played Spotify track using OpenRouter (LLM), fetches a related trending Google News article, generates a visual news card with APITemplate.io, and posts it to Slack.

👥 Who’s it for

Music lovers, marketers, and developers who want to automatically turn their listening mood into a visual daily digest or Slack update.

⚙️ How it works

Spotify Trigger — Fetch your recently played tracks.

LLM (Emotion Analyzer) — Infer the main emotion from the track title and artist.

Google News Query — Build an RSS URL based on the emotion keyword.

RSS Reader — Retrieve trending news headlines.

APITemplate.io — Render the top article into an image card.

Slack — Post title, link, and card image into your channel.

🧰 Requirements

Spotify API credentials

OpenRouter API key

APITemplate.io account (with template ID)

Slack OAuth2 connection

🪄 How to customize

Replace the APITemplate.io template ID with your own.

Adjust the RSS URL language (hl=en-US → hl=ja-JP for Japanese news).

Modify the Slack message text for your preferred channel tone.

⚠️ Disclaimer

If you use community nodes (LangChain), this template is for self-hosted n8n only.

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 - Emotion Analyzer

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

Block 2 - Start on Schedule (Cron)

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

Block 3 - Fetch Spotify Recently Played

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

Block 4 - LLM: Infer Emotion from Track

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

Block 5 - For Each Track (Batch)

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 6 - Build Google News RSS Query

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Fetch Google News RSS

Type / Role
n8n-nodes-base.rssFeedRead - rssFeedRead
Config choices
Version 1.2

Block 8 - Pick Top News & Format

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

Block 9 - Generate News Card (APITemplate)

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

Block 10 - Post to Slack (Title + Link + Card URL)

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 11 - Sticky Note

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

Block 12 - Sticky Note1

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

Block 13 - Sticky Note2

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

Block 14 - Sticky Note3

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

Block 15 - Sticky Note4

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

Block 16 - Sticky Note5

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

Block 17 - Sticky Note6

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

Block 18 - Sticky Note7

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

Block 19 - Sticky Note8

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

Block 20 - Sticky Note9

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

Block 21 - Sticky Note10

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

3. Summary Table

Workflow Generate news cards from Spotify emotions with LLM, Google News and APITemplate.io
Complexity advanced
Nodes 21
Categories Content Creation, AI Summarization
Author noda
Published 29 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10267/10267.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 Generate news cards from Spotify emotions with LLM, Google News and APITemplate.io do?

Title: Spotify Emotion to News Card Generator (APITemplate.io + Slack) What it does: This workflow analyzes the emotion of your recently played Spotify track using OpenRouter (LLM), fetches a relat...

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 Content Creation, AI Summarization use case.