
Hi folks,
I'm new to power automate but I find it relatively user friendly to get started so I've been able to successfully run various simple flows.
Now I'm trying to build a more sophisticated flow that will post receipt data and image into an ERP system using an API.
I've been able to use expressions with various actions but I can't seem to find an expression that I can use to pull a specific field from the Extract Info from receipts action. basically I need to retrieve this field in a 'First' expression and can't figure out how to do that. Any help would be appreciated.
Hi @JeannieF - welcome to Power Automate! You're off to a great start building AI-infused automations 🙂
The following expression does what you're looking to do, get the value for the name columns for the first line item in the receipt:
first(outputs('Extract_information_from_receipts')?['body/responsev2/predictionOutput/result/items'])?['fields/name/value']
Let us know if this helps.