Generate News Cards from Spotify Emotions with LLM, Google News and APITemplate.io
Go to WorkflowDescription
π 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.