Read the order data

Completed

The agent passes an order number; the flow reads the matching order from Dataverse so every later decision is grounded in trusted data.

  1. On the When an agent calls the workflow trigger, select Add an input and add a Text input named:

    Order Number
    

    Screenshot showing the user adding the Order Number input that the agent passes to the flow.

  2. Add a new action after the trigger. The new designer lays the flow out horizontally, so it appears to the right of the trigger, not beneath it. Search for Dataverse List rows and select the List rows action.

  3. Confirm the Connection is set correctly, then set Table name to Orders.

  4. You now need the logical name of the Order Number column to filter on. In a new tab, go to https://make.powerapps.com and open the Orders table, then select the Order Number column and choose Edit. Scroll down to Advanced options, expand them, then locate and copy the Logical name.

    🔧 Setup check: Power Apps opens in its own environment context. Check the environment picker in the upper-right corner and switch to the same environment as your workflow before looking for the Orders table.

Note

💡 Tip: In Northwind Traders the Order Number column's logical name is typically nwind_ordernumber. Always copy the exact value from your own environment rather than assuming it.

  1. Back in the flow, set Filter rows to match the copied column against the Order Number input, using the Dataverse eq (equals) operator:

    nwind_ordernumber eq '@{triggerBody()?['text']}'
    
  2. Set Row count to 1 so the action returns only a single order.

  3. Rename the action to make the flow easier to read:

    List Order Rows
    
  4. Select Save so none of your progress is lost.

    Screenshot showing the List rows action filtered on the Order Number column with a row count of 1.

✅ Checkpoint: The flow reads a single Order that matches the Order Number passed by the agent.