How to run loop in V2 workflow?
I'm trying to use loop in v2 workflow
error:
Variable "unknown" invalid value expression: "#each courses",
error:
Variable "unknown" invalid value expression: "#each courses",
{{#each variable}} {{item}} {{/each}} is not supported in v2.step.events is the array you want to iterate over, and you can access each item's properties inside the loop. Make sure your workflow is providing the array in the correct structure (like step.events for digests) and use the #each block with that property.{{#each variable}} {{item}} {{/each}}step.eventsstep.events#each{{#each step.events}}
<p>{{article_title}}</p>
{{/each}}