Encoded JSON payload prevents Flow trigger

Hey all,

My Flow is failing to trigger another Flow due to the payload not being parsed as valid JSON.

I’m trying to trigger a Flow multiple times from another Flow, let’s call them parent and child for simplicity’s sake.

The only way I’ve been able to trigger the child flow is by hardcoding an array as a JSON object, if I pass a variable it seems to get encoded twice and the child flow fails to trigger as it doesn’t recognize the payload as valid JSON …

I’ve scoured the web and failed to find anything on this matter, hence this post. I followed the “How to loop flows in Directus” official tutorial and I run into the same issue.

At this point I suspect it’s an environment issue, I’m running Directus 11.12.0 locally via docker.

Thanks in advance,

Paulo