LowCodeStacks™
Sign in

Dynamic content missing? Parse JSON, nested arrays and loops explained

Why a field you know exists doesn't appear in the dynamic content picker, why Apply to each appears out of nowhere, and how to read any value from webhook or HTTP JSON with Parse JSON or a safe expression.

Power AutomateFix a problem8 min read

Checked against Microsoft Learn 7 sources · Updated By · drafted with AI help, checked by a personHow we write guides

You know the value is there: you can see it in the run history. But it's missing from the dynamic content picker, or the picker shows "No dynamic content available", or picking it wraps your action in an Apply to each you didn't ask for. Here's what's going on, and how to get any value out with Parse JSON or an expression.

Why a field is missing from the dynamic content picker: what the earlier step returns, what you see, and what to do, in four rows. A value of another type, such as a number when the box expects text, is filtered out of the picker, because it only lists values of the box's type: search for it, since searching ignores the type filter, or use Compose, whose outputs work anywhere. A list chosen at run time, with the site, list or table from a variable or expression, means its columns never appear, because the designer can't look them up while you edit: read them with expressions, or point at a fixed list while you build. An array, from Get items, List rows, Forms file uploads or most webhook payloads, makes an Apply to each appear, because a row's field only exists for one item at a time: for one item, take it with first() instead of looping, and reshape with Select or Filter array. Text that holds JSON, from an HTTP action, a webhook trigger or a text column, has no fields to pick until it's parsed: parse it with Parse JSON from a sample, or the json() expression.
Four reasons a field is missing from the dynamic content picker, what each looks like, and what to do about it.

Why a field doesn't appear

Work through these in order.

1. The picker is filtering by type

The picker only lists values that match the type of the box you're filling: text boxes get text values, number boxes get numbers. A number column won't appear for a text field, and vice versa.

Fix:

  • Search for the field by name in the picker. Searching ignores the type filter.
  • Or put the value in a Compose action first. Compose outputs can be used anywhere.

2. The trigger has "Split On" turned on

Triggers that can return several items at once, such as When a new response is submitted in Forms, can have Split On turned on. Then later steps may show No dynamic content available.

Fix: open the trigger's Settings and turn Split On off.

Microsoft's own pages disagree about which way round this goes. Its troubleshooting article for missing dynamic content blames Split On being on, and that's the one we follow, because it's written for this exact message. Its Copilot in cloud flows FAQ blames Split On being off, and says to turn it on. It gives that answer for missing dynamic content and for an Apply to each you didn't ask for. So if Split On is already off, turn it on instead.

3. The list or table is chosen at run time

If the site, list or table in Get items or List rows comes from a variable or expression, the designer can't look up its columns while you edit, so the column fields never appear. This is common when one flow loops over several lists.

Fix:

  • Use expressions to read the columns (below), or
  • point the action at a fixed list while building, pick your fields, then switch back. The expressions the picker created keep working as long as every list has the same column internal names.

4. The value is inside an array

Get items, List rows, Forms file uploads and most webhook payloads return arrays. A field of one row only exists for one item at a time. That's why choosing it wraps your action in Apply to each: Power Automate is doing the same thing once for every item.

If you only want one item, don't loop. Take the first one with an expression:

text
first(body('Get_items')?['value'])?['Title']

5. The content is plain text that hasn't been parsed

An HTTP action, a webhook trigger or a text column holding JSON returns text. Until it's parsed, its fields don't exist as dynamic content. Use Parse JSON (next section) or the json() expression.

Parse JSON, step by step

  1. Run the flow once so you have a real example. In run history, open the step that returned the JSON and copy its output, the body.
  2. Add Parse JSON. For Content, choose the body of that step.
  3. Select "Generate from sample" (or "Use sample payload to generate schema"), paste the output, and select Done.
  4. Every field in the sample now appears as dynamic content in later steps.

What the picker shows in the new designer, as of June 2025:

  1. Function and Dynamic content are the picker's two views: expression functions, or the outputs of earlier steps.
  2. Search looks for dynamic content and functions in both views.
  3. The Parse JSON group lists that step's outputs: Body, then each field from the sample, here order, id, lines, sku and qty. sku and qty belong to items of the lines array, so picking them brings in an Apply to each.
  4. The box at the top holds an expression. Its gripper, in the bottom-right corner, makes the box a line or two taller. Create an expression with Copilot opens Copilot's expression assistant, if you have access to it.
The new cloud flow designer with a Compose action's pane open on the left: the tabs Parameters, selected, Settings, Code view and About, and an empty required Inputs box with the cursor in it. Beside it, the dynamic content picker points at the Inputs box. From the top, the picker has an empty expression box with a gripper in its corner, a Create an expression with Copilot button, the tabs Function and Dynamic content, with Dynamic content selected, and a Search box. Below, the Parse JSON group lists Body, order, id, lines, sku and qty, with a scrollbar showing more below, and a blue Add button at the bottom.
Recreated by LowCodeStacks from Microsoft Learn screenshots (CC BY 4.0): the dynamic content picker in the new cloud flow designer, interface as of June 2025, with made-up field names.

Fix the schema before you trust it

A generated schema only knows what was in your one sample. Two problems are common.

Values that can be empty. If a field was text in the sample but is empty (null) in a later run, the flow fails with "Invalid type. Expected String but got Null." Allow null for fields that can be empty:

json
"middleName": {
  "type": ["string", "null"]
}

Or delete the "type" line for that field.

Numbers. A sample value of 10 becomes "integer". If the real data can be 10.5, change it to "number". In JSON Schema, "number" allows decimals.

Tip

Keep a copy of the payload in a Compose step at the top of the flow while you build it. When a run fails, you can see exactly what arrived.

Skip Parse JSON: read values with expressions

For a value or two, an expression is quicker than a schema, and it doesn't break when the shape changes.

text
body('HTTP')?['data']?['items']?[0]?['name']
  • Always use ?[...], not [...]. With ?, a missing level gives an empty value instead of failing the flow.
  • Give empty values a fallback:
text
coalesce(body('HTTP')?['data']?['customer']?['email'], 'unknown@example.com')
  • Parse only text. json() turns a JSON string into an object. Don't wrap an action's output that's already an object in json(), because that errors.
  • Inside Apply to each, read the current item with items('Apply_to_each')?['fieldName'].

Nested arrays without nested loops

A payload like this has an array (lines) inside an object (order):

json
{
  "order": {
    "id": "SO-1042",
    "lines": [
      { "sku": "A-1", "qty": 2 },
      { "sku": "B-7", "qty": 1 }
    ]
  }
}
  • Loop only the array you need. In Apply to each, choose lines, not the whole body: body('Parse_JSON')?['order']?['lines'].
  • Reshape without looping. Use Select to map each line to just the fields you need. A Select is one action; an Apply to each with three actions inside costs three actions per line.
  • Filter without looping. Use Filter array, for example to keep lines where qty is greater than 0.

Related: Power Automate expressions cheat sheet.

Sources

Add LowCodeStacks as a preferred source on Google

Did this fix it?

Get the weekly email

New guides and updates from LowCodeStacks, every Tuesday. One email a week, no more.

From LowCodeStacks, Regina, SK, contact@lowcodestacks.com. You can unsubscribe any time, from the link in every email or in your privacy settings. See the Privacy notice.

Comments

No comments yet. Share what worked for you.

Sign in to comment. Comments show under a display name you choose, never your email.