Automation library · Chat assistants

Generate news cards from Spotify emotions with LLM

Started by a clock, and works across RSS and Slack. It hands the judgement calls to OpenRouter. 10 steps, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenRouter

10 stepsMedium: a working afternoon
0Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 2Logic 3Service 4

The steps in the order they run, from what starts it.

  1. 1Start on Schedule (Cron)Schedule triggerStarts it
  2. 2LLM: Infer Emotion from TrackLm Chat Open RouterModel
  3. 3Fetch Spotify Recently PlayedSpotifyService
  4. 4Emotion AnalyzerAgentModel
  5. 5For Each Track (Batch)Split In BatchesLogic
  6. 6Build Google News RSS QuerySetLogic
  7. 7Fetch Google News RSSRss Feed ReadService
  8. 8Pick Top News & FormatCodeLogic
  9. 9Generate News Card (APITemplate)Api Template IoService
  10. 10Post to Slack (Title + Link + Card URL)SlackService

How it's built

Starts on
A clock
Steps
10, 1 loop or waits
Size
Medium: a working afternoon
Connects to
RSS, Slack
Model
OpenRouter

Questions

What does it need to run?

An n8n account, plus your own RSS and Slack accounts, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 10 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 10 steps before you point it at anything that matters.