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 / how i can extract the ...
Power Automate
Unanswered

how i can extract the email address from the claim field inside the response message from "Get Items" action

(0) ShareShare
ReportReport
Posted on by 3,514

I have the following Get Items action:-

 

getitems1.png

 

where the response body will be as follow:-

 

response1.png

 

 

now i need to extract the email address from the claim field as follow, where i need the email to be added inside "Grant access to item or file"? any advice how i can do such an extract?

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Initialize the string variable. In it's value give "Email" from previous get items. It will store the email id in that variable and you can use this anyway you like

  • johnjohn123 Profile Picture
    3,514 on at

    @zmansurii can not directly get the email from the previous get items.. it will be empty, i need to get it from the response.

  • Paulie78 Profile Picture
    8,422 Moderator on at

    Try this, might need a bit of tweaking. Add a select action after get items. Then put it into text mode, in the from use the expression:

    outputs('Get_items')?['body/value']

    In the map use expression:

    split(item()['ResponsiblePerson']['Claims'], '|')[2]

    To put select into text mode, you need to press the little button next to the map section.

  • johnjohn123 Profile Picture
    3,514 on at

    @Paulie78 can you please provide a screen shot?

    Thanks

  • Paulie78 Profile Picture
    8,422 Moderator on at

    Looks like this:

    2021-06-17_10-16-07.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 459

#3
11manish Profile Picture

11manish 382

Last 30 days Overall leaderboard