๐ŸŽฌ Generate news cards from Spotify emotions with LLM, Google News and APITemplate.io

โšก 69 views ยท ๐ŸŽฌ Content Creation & Video

Description

๐Ÿ“„ 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.

๐Ÿ”— Nodes Used

RSS Read, Slack, Spotify, APITemplate.io, Schedule Trigger, AI Agent

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup