krapomusic
krapomusic6d ago

Use query result for a new action

Hey everyone, I can't find a documentation for this, can you point me in the right direction ? In a workflow, i created a FireStore query with specific parameters, which returns an array of documents (along with document data and document ID). I want to create a new document in a different table for each user that appears in the 'user' field of these documents. How do i do this ? Thank you
3 Replies
AI Support
AI Support6d ago
AI Support Bot Information
<@427568565680340992> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human! Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers. Please note: Team members will review and answer the questions on best efforts basis.
AI Support
AI Support6d ago
AI Response
It seems I couldn't find a specific node template for your use case. You might want to create a custom node to iterate through the array of documents returned by your Firestore query, extract the 'user' field, and then create a new document in a different table for each user. If you need more detailed help on creating this custom workflow, I would recommend checking BuildShip's documentation or send a support request via in-app support for more specific guidance.
BuildShip AI Support
krapomusic
krapomusicOP6d ago
I really would appreciate being able to post a question here without buckets of water being wasted for an unrequested inaccurate "ai" reply, is this something that can be done ?

Did you find this page helpful?