web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow Get Single Item f...
Power Automate
Unanswered

Flow Get Single Item from Dynamic Column

(0) ShareShare
ReportReport
Posted on by 48

Hi,

 

This is driving me crazy, I'm trying to get a single value from a sharepoint list using the following expression via Get Items

first(body('Get_items')?['Value'])?['Title']
 
The above works great for me, but I want the value not be a hard coded value but a value from another step/variable like so:

first(body('Get_items')?triggerBody()['text']

But I just cannot work out how to do it  - heeelppppppppppp 🙂

thanks!
 
Categories:
  • VJR Profile Picture
    7,635 on at

    Hi @thenecroscope1 

     

    This is not an example for an input coming from a Sharepoint list.

    It is just a text input. So you can amend it as per your flow.

     

    If the hard coded Expression is this

    string(triggerBody()['text'])

     

    and if I have a dynamic input variable called as varInput1 whose value is text

     

    Then make the below change in blue in the Expression (not the dynamic content)

    string(triggerBody()[variables('varInput1')])

     

    When the flow runs, it automatically replaces the value of variable varInput1 (ie; text) and evaluates the corresponding output value for string(triggerBody()['text'])

     

    The string() function is used in my example, you can use the one you already have ie; first() 

     

    Tried and found to be working.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard