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 / Use Split function wit...
Power Automate
Answered

Use Split function with dynamic SharePoint content

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am working on a flow to notify identified responsible parties in a SharePoint list if the Estimated Completion Date for their record has passed. I've got the flow working, but am trying to get the Email just how I want it.

 

Below is what I have now, but I want to make the salutation more appropriate by splitting the dynamic GTT in Charge Display Name (full name from our AD) and only adding the first name.

Annotation 2019-10-30 144510.png

 

Is there a way to use the split() function with dynamic text so I can create a salutation for the email to be:

"Hi <Display Name>," but use split to split the DisplayName on " " so it only displays their first name vs their full name?

 

 

 

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    You can use the split expression as you have suggested.  The Split expression populates an array that you specify.  You can then use the "first" expression to get the first element in the array.  See my example below.  My expressions can be seen in the comments area.  That said, I don't think it is a good idea as many "first names" have spaces in them.

    Split1.jpgSplit2.jpgSplit3.jpg

     

     

  • Verified answer
    Gristy Profile Picture
    2,429 on at

    Pass GGT in Charge Email into Get user profile action. This will return a lot of values about the user including Given name

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @Anonymous 

    I agree with @Gristy - you should be using Get User Profile.  The specific property you'll want to use is Given Name.

     

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 612

#2
Valantis Profile Picture

Valantis 344

#3
11manish Profile Picture

11manish 326

Last 30 days Overall leaderboard