How to create step that loops until a condition is met?

Hi, I want to do an mcp tool, that waits for my process to finish to return the response
How I can do a loop / some busy waiting in a step inside a flow ? is it possible? I cant use the Respond and Wait for Next Webhook because this mcp tool will be used by AI agent inside another flow, so its not my service that starts it and can resume it, and I dont want the agent to get response from the tool before my process is done

Hello @bar_lander , Welcome to the community :waving_hand: ,

You can try using the Delay piece for that. Also, could you let us know whether you’re iterating over a list of data? That would help us provide a better solution.