I’m trying to see if I can reuse the same workflow for a list of items and am not quite sure how to achieve this. In essence, I want a list of items (URLs) and to run the workflow separately once for each of those items .I don’t see any way to iterate through items like this and wanted to ask the people who know.
Many Items → One Workflow
How can this be done easily? Thanks in advance for any helpful input.
Maybe I’m overthinking this, but can you provide an example?
From your response I’m imagining delimitating a set variable (so something like: x.com, y.com) and using that variable for the flow. In practice when I attempt that it ends up only passing the response from the first URL through the workflow and not running separately as I would expect. I’m probably passing the URLs incorrectly though so any help is appreciated
Nodes pass along a list of loopable items by default. You can also create your own with the Function node, provided that what you return has the shape Array<{ json: object }>.