Generate news cards from Spotify emotions with LLM, Google News and APITemplate.io
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs on a schedule (every day). Along the way it connects Spotify, OpenRouter Chat Model, APITemplate.io and Slack.
How it runs
Trigger: On a schedule (every day).
- Fetch Spotify Recently Played (Spotify): recently played
- Emotion Analyzer (AI Agent): runs an AI agent, with model: LLM: Infer Emotion from Track
- For Each Track (Batch) (Loop Over Items (Split in Batches)): loops over the items in batches
- Build Google News RSS Query (Edit Fields (Set)): sets or maps fields
- Fetch Google News RSS (RSS Read): reads an RSS feed
- Pick Top News & Format (Code): runs custom JavaScript code
- Generate News Card (APITemplate) (APITemplate.io): uses APITemplate.io
- Post to Slack (Title + Link + Card URL) (Slack): uses Slack
Services it uses
Other Slack + OpenRouter templates (73) · Other APITemplate.io + OpenRouter templates (5) · Other APITemplate.io + Slack templates (3)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Spotify
n8n-nodes-base.spotify - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - RSS Read
n8n-nodes-base.rssFeedRead - Code
n8n-nodes-base.code - APITemplate.io
n8n-nodes-base.apiTemplateIo - Slack
n8n-nodes-base.slack
From the author
📄 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,…