How to do proper sequential prompt with AI

Describe the problem/error/question

I have the following use case where I want to send multiple prompt to an AI. but wait and use its response between each. So like I ask prompt 1, I wait answer, I ask prompt 2 I wait answer etc… The reason is, AI is making some analysis and the prompt will basically ask the AI to use the analysis to keep going.

What is the error message (if any)?

n8n may have run out of memory while running this execution. More context and tips on how to avoid this in the docs

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

My main question is, is this the best approach to take for such a request ? Also, I guess n8n run out of memory due to my initial posts list etc… being way to big, so Is the only solution to use a custom mongodb memory ?

Hi @fede115, please can you reshare the workflow with a valid pinned data for the first node. This example immediately fails due to missing params