I can't figure out how to iterate through my sections

Hi all!

I’m running this scenario:

I’ve tried (and now removed) the iterator and the array aggregator modules.

I can’t FOR THE LIFE OF ME figure out how to get the “sections” part to do what I want.

See, there are bundles:

And I’ve got my prompt right (I think):

But no matter what I do I can’t seem to get it to go through all the sections.

What am I missing?

Thanks in advance! I’ve attached the JSON if that’s helpful.

AI Blog posts.json (141.8 KB)

Looks like you need to use an Iterator module to loop through each of the main_sections array items,

and then use a Text Aggregator to format the outline for each section.

If you ever see split variable brackets like that, it is only using the first item.

1 Like

Thank you! I still can’t figure it out. Added the iterator and the aggregator and it’s STILL only going through the first bundle.