Issue with Looping Step

Hey all, I am trying to loop through some data created by another workflow when it is run by my main workflow, and then loop those results through an AI agent. When I try to use the loop step, there is no output data when I am testing, and then the AI Agent just continues to run without exiting. The same occurs when I don’t have the loop step in there and just put the data in any other way. I don’t want the data to be fed all at once; I would like the AI Agent to do its job for one of my “prompts” at a time and exit accordingly once it finishes its process.

Again, no error messages, just the lack of data shown in the response from testing or otherwise.

I will attach my workflow accordingly, as well as a YouTube tutorial that I was following to create this content writer for my business. The issue I am having with comes after the split out node and during the loop over items node, which is explained around 21:10 of the video as well if that helps you any further.

Just running this on the web platform using the latest update, so anything will help. Let me know if you have further questions, thanks in advance!

JSON of Workflow:

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Version: 1.78
Database: Window Buffer, I think? That is what is in my flow.
Running n8n via cloud/web app on Chrome with Windows 11.

I have exactly the same issue. Same workflow :smiley:

1 Like

UPDATE: I have solved the problem. You do not need the loop step as described. I think they literally released an update the day after this was published for split out nodes to automatically loop. Simply create the workflow without the loop step and it will generate and output posts eventually. The edit fields step is required before the AI Agent itself but give it some time and it will stop once it has good content for the generated ideas. However, if you are not using Founderstack, be sure to split out the generated responses at the end so you can properly assign them to where they need to go. Let me know if this clears it up. Happy to help more if needed!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.