Context:
I’m trying to adjust an RSS feed that often combines multiple alerts into one post if they occur around the same time.
My desire is to have every alert appear as its own post in my RSS reader. As well as a few other minor edits, such as moving all details I care about to the title.
I then recombine everything back into a full feed (thanks to parts of this Workflow) and would send it to my reader.
I’ve managed to get as far as applying the edits I want, and the result is an array that will contain each individual alert from each RSS feed entry.
The problem being, I can’t figure out how to make the code node output the entire RSS feed. It seems to only output the latest post to the feed.
I tried the “Run once for each item” option, but that causes the node to error since I’m returning an Array instead of an object. But I have no idea how I could do that when I’m specifically trying to split one entry into multiple.
I’ve been fumbling my way through with near zero knowledge so far, but this has stumped me. What changes would I have to make to pass the entire RSS feed, with my split entries, to the output?
Workflow:
(RSS data is pinned to an entry containing two alerts)
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Debian 12