# Issues with batch loop Json in workflows

**URL:** <https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401>\
**Category:** Ask for Help\
**Tags:** json, workflows\
**Created:** [July 23, 2025, 9:26pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401 "2025-07-23T21:26:42Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terence\_Vrugtman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/terence_vrugtman/32/29358_2.png) [@Terence\_Vrugtman](https://community.glideapps.com/u/Terence_Vrugtman)\
**Post date:** [July 23, 2025, 9:26pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/1 "2025-07-23T21:26:42Z")

</div>

I’m using GlideApps to automate a series of processes for a company app. I’m basically reading lines off a delivery note. The delivery items—let’s call them pieces of furniture—have multiple lines, which I’m breaking down into JSON. These lines include the product name, dimensions, and materials used.

I’m processing the initial AI reading of the document into a packaged JSON that covers the entire project. Each individual furniture item then has its own JSON format, using the same headings: furniture name, materials, dimensions—nested inside the original JSON payload.

What I’m trying to do now is automate the next step. Once the project is ingested and I’ve queried the JSON, I want another workflow to kick in. This workflow should take the internal JSON payloads and automatically convert them into different lines or rows in Glide, creating separate entries for each furniture piece.

How do I do that?

 ![1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/e/ae514f02a026ed5214c07230b4eb03b930f35f06.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/f/9fffa1216d269f86a2396e999b7b9825dcdc1bed.jpeg)  
 ![3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/0/c0c6045148955027627bf3bff91c3dd4c977310f.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 23, 2025, 11:50pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/2 "2025-07-23T23:50:25Z")

</div>

I think what you want to do here is to get the nested JSON that AI generated, send it in the body in your trigger workflow.

Then in the webhook workflow, loop through the trigger’s body. In each loop, query out the keys from the JSON, and add them to a row in your database.

---

<div class="post-metadata">

**Author:** ![Terence\_Vrugtman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/terence_vrugtman/32/29358_2.png) [@Terence\_Vrugtman](https://community.glideapps.com/u/Terence_Vrugtman)\
**Post date:** [July 24, 2025, 6:04am UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/3 "2025-07-24T06:04:26Z")

</div>

The nested Json comes through in the body of the last trigger, using a manual trigger. Are you suggesting I created a webhook to a webhook trigger?

---

<div class="post-metadata">

**Author:** ![Terence\_Vrugtman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/terence_vrugtman/32/29358_2.png) [@Terence\_Vrugtman](https://community.glideapps.com/u/Terence_Vrugtman)\
**Post date:** [July 24, 2025, 6:17am UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/4 "2025-07-24T06:17:10Z")

</div>

![4](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/1/b1e3395686f85b80d93302d093720bca61e2fc6f.jpeg)  
 ![5](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/1/417d785e6ae2943084b7dde5667eee0daf1547f8.jpeg)  
 ![6](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/0/a069720e7d1e4e0e1749a6afa57f45728d641606.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 24, 2025, 11:45pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/5 "2025-07-24T23:45:29Z")

</div>

> [@Terence\_Vrugtman](#):
>
> The nested Json comes through in the body of the last trigger, using a manual trigger. Are you suggesting I created a webhook to a webhook trigger?

No, I was asking because your screenshot here shows you’re using an app interaction trigger.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/3/f30936fa7209be11d6181d43fc206d5cc615abc7.jpeg)

Now seeing your screenshots, I think yes, it would work. When you loop through a JSON like that, does it give you access to the key-value pairs automatically or do you still have to do query JSON steps?

---

<div class="post-metadata">

**Author:** ![Terence\_Vrugtman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/terence_vrugtman/32/29358_2.png) [@Terence\_Vrugtman](https://community.glideapps.com/u/Terence_Vrugtman)\
**Post date:** [July 25, 2025, 12:03pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/6 "2025-07-25T12:03:00Z")

</div>

It does neither, It doesn’t allow the loop to run at all. Its stops at the project loop, after a successful search.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 26, 2025, 1:04am UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/7 "2025-07-26T01:04:22Z")

</div>

Does the JSON loop have to be inside the Project loop? I assume it doesn’t? Can you try moving it out?

---

<div class="post-metadata">

**Author:** ![Terence\_Vrugtman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/terence_vrugtman/32/29358_2.png) [@Terence\_Vrugtman](https://community.glideapps.com/u/Terence_Vrugtman)\
**Post date:** [July 27, 2025, 10:16am UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/8 "2025-07-27T10:16:38Z")

</div>

I did this by creating a new json object in the column to the right, and run the loop off that. With no luck.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 27, 2025, 11:51am UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/9 "2025-07-27T11:51:57Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/c/fcf9f9c38cc58351b50e4c57fd2e21e450c644eb.jpeg)

So in here, if you don’t do the Project loop at all and just loop through the JSON, it still doesn’t work?

---

<div class="post-metadata">

**Author:** ![Terence\_Vrugtman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/terence_vrugtman/32/29358_2.png) [@Terence\_Vrugtman](https://community.glideapps.com/u/Terence_Vrugtman)\
**Post date:** [July 27, 2025, 12:13pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/10 "2025-07-27T12:13:57Z")

</div>

Still not… refuses to run the Json loop, which it made.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 27, 2025, 12:19pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/11 "2025-07-27T12:19:01Z")

</div>

![CleanShot 2025-07-27 at 19.18.08](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/4/547640d9554eab337b1fa64089b8b1f7a7614317.png)

So you send the JSON to the other workflow through this step, then try to loop through it in the new workflow, but it doesn’t work?

Can you attach 2 screenshots of them? I’m running out of suggestions to make at this point.

---

<div class="post-metadata">

**Author:** ![Terence\_Vrugtman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/terence_vrugtman/32/29358_2.png) [@Terence\_Vrugtman](https://community.glideapps.com/u/Terence_Vrugtman)\
**Post date:** [July 27, 2025, 5:20pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/12 "2025-07-27T17:20:03Z")

</div>

![1](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/1/f16a404c53b1b1ff9b05077e5d4f8f17a0cf74cc.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/5/c567473de304fa2e34e2b0293a347bd0dd37df05.jpeg)  
 ![3](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/c/dcef763c2d6190ae6af1cd5fe40c99753c8dcf22.jpeg)  
 ![4](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/6/66f5273051a722e88b92f3ec4c1dd66b16bb3dae.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 27, 2025, 11:26pm UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/13 "2025-07-27T23:26:49Z")

</div>

So ultimately, the issue here seems to be none of Proj ID, Comp ID or Json seems to show up in rhe test run for the Manual Trigger? Is that what you imply with the last screenshot?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/a/1afd1abd872fd0aa32e8348c33dfc23c6d17833e.jpeg)

---

<div class="post-metadata">

**Author:** ![Terence\_Vrugtman](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/terence_vrugtman/32/29358_2.png) [@Terence\_Vrugtman](https://community.glideapps.com/u/Terence_Vrugtman)\
**Post date:** [July 30, 2025, 6:07am UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/14 "2025-07-30T06:07:27Z")

</div>

Yes. It refused to run the loop.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 30, 2025, 11:45am UTC](https://community.glideapps.com/t/issues-with-batch-loop-json-in-workflows/83401/15 "2025-07-30T11:45:44Z")

</div>

Is it possible for you to share an invitation for me to join the team, and tell me how to reproduce the error?

If yes, please send me an invitation link via a personal message in this forum.
