Describe the problem/error/question
Some integrations don’t offer granular triggers (eg webhooks) and only provide a way to do a cron-based bulk request. I want to do this repeatedly and do something only if the data has changed.
I just installed n8n today and while looking for some guidance, I came up with nothing (I tried queries along the lines of “n8n stateful”, “n8n stateful diff”, “n8n cache between invocations|executions”, but the closest I got was Merging | n8n Docs which talked about “Merge items of different executions”, which seems to be actually about merging items from different nodes in the same execution, not across executions). I was hoping to find a node that would take the response (“Microsoft To Do” node in the example below) and would return two outputs: current response (optional, a simlple pass-through) and the previous response (that the node itself would save and look up between workflow executions). Instead, I had to add 7 nodes to compare the “Microsoft To Do” node response to a previous execution (also, not sure if what I did was actually the best practice, e.g. there is a small risk of the Write Binary File node running before the Read Binary File in the same execution and the whole diff yielding nothing).
Thanks for building a great tool!
Please share your workflow
Information on your n8n setup
- n8n version: 0.228.2
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 22.04 LTS