Set & Get Variable bug in iterator

Hey makers,

Im having an issue with the set and get modules on one of my projects.
Im iterating over an array of documents where im identifying each document using a GPT prompt.
I want to avoid processing the same document multiple times so i added a filter where to check that the identified document is not in an array i use to keep track of the analysed documents:

the end of each branch has the following:

my filter forr checking: each branch has a similar filter but each specific to a document its meant to process.

the array remains empty even after its processed and document and added it to the varible

seems to create a new varible everytime

please assist

Welcome to the Make community!

You probably need to use “Get Variable” first before you can add another value to the array.

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