Difficult to use loop action

Resolved

Hello ๐Ÿ‘‹

I have a question regarding loop actions, I've been struggling with this fo

r a while.

My workflow consists of several steps, including :

  1. I make a query of my Firebase collection

  2. I set a state containing the number of items in my query

  3. I add the loop action whose condition is my state greater than zero

  4. The action of my loop is to create a document with the information from my query and the user reference

  5. I decrement my state at each iteration

The problem is that I don't have access to the items in my query in order to create the document.

How can I do this ๐Ÿค”

3
4 replies