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 do you set variabl...
Power Automate
Answered

How do you set variable from an output?

(0) ShareShare
ReportReport
Posted on by 5

Hi,

 

This seems like a really basic question and I can't seem to find how to do this via google could someone point me in the right direction. I'm creating a flow to get the user start/created date by calling the "Get user profile (V2)" . I can see the output JSON values I want.

 

How do I set the OUTOUT from "Get user profile (V2)" to a variable that I can use to update a list entry?

 

The createddatetime isn't a selectable value in the flow designed by default.

 

Thanks!

 

Annotation 2019-09-09 153403.png

 

 

Categories:
  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    Hi @Jlyons30 

     

    Try expression

     

    body('Get_user_profile_(V2)')?['createdDateTime']
     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

  • Jlyons30 Profile Picture
    5 on at

    Wow..Thanks, I've been beating my head against the wall for 3+ hours...THanks..

     

    Any have any  good videos/link explaining expressions?

     

    Thanks again

  • ez1138 Profile Picture
    218 on at

    Good stuff.  How would this work with pulling multiple list data in for the populate word?

     

    For instance, I have a list called "leads".  Within leads I have two lookups.  One for a "contact" (simple list) and the other "company".  Since there are only so many lookups I can have I wanted to pull city, state and zip from the "company" and "first name" and "last name" and "email" from contacts.

     

    I'm new with variables, etc.

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
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard