Here's an example/more background:
I'm really enjoying the AI Builder for Power Automate connector, especially custom prompts with the "Create Text with GPT using a prompt" action.
I frequently use the JSON Output feature to structure the GPT output.
This works wonderfully--when it works. Frequently the "structuredOutput" property of the action's output is just missing--fortunately the JSON object is usually still there in string format in the "text" property. My work around to avoid flow failures is to use a JSON() expression on the "text" output, and then I can either coalesce references to the properties, or coalesce the whole object into a compose or variable. It'd be much easier and quicker to construct the flows if I could rely on the structured output always being there.
Here I have a prompt that extracts some data from records to help categorize them automatically.
Example of a Good run (has "structuredOutput" property):
Example of a frequent run missing the "structuredOutput" property: