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 Expressions on Po...
Power Automate
Answered

Flow Expressions on PowerAutomate Desktop?

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

I want to use Power Automate to automate some information from my outlook onto a spreadsheet via OneDrive Excel. The problem is, i want to extract the subject of emails but I only want to extract the last 12 characters of the subject because they contain a reference. From what I've seen from tutorials, I'm supposed to use Flow Expressions but that's only doable on the Web version of Power Automate. Is there a way for me to do it on the Desktop Version instead? 

 

If not, what are the other alternatives? 

I have the same question (0)
  • jinivthakkar Profile Picture
    4,187 on at

    @nehry not an expert in PAD just trying to help, see if Get SubText action helps?

     

    https://www.youtube.com/watch?v=GLPROTFfCdE

     

    --------------------------------------------------------------------------------

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • Verified answer
    VJR Profile Picture
    7,635 on at

    Hi @nehry 

     

    Not a bit straightforward to go from the back of the string and pull the characters, but below is something you can do.

     

    You can make changes to the below keeping in mind that index starts from 0.

     

     

    VJR_3-1646821722529.png

     

     

     

     

    VJR_2-1646821672238.png

     

     

  • UK_Mike Profile Picture
    on at

    Regex could work, if we knew the string...😁

  • nehry Profile Picture
    8 on at

    Hey VJR,

     

    Thanks for your solution, just trying to add the %Subject.Length-12% however it's saying that the variable doesn't have the property Length.

     

    Any reasons why? 

  • VJR Profile Picture
    7,635 on at

    At first just get the length, remove the minus 12 and check with display box.

     

    Looks like you are storing something else in Subject.

     

    There is a Length property available if it holds a text value.

     

    If you are not seeing this then you are using an incorrect variable to get the length.

     

    VJR_0-1647578380264.png

     

  • nehry Profile Picture
    8 on at

    Hey VJR,

     

    Thanks for that, I was able to figure out based on your help. 

     

    Thanks so much for the solution. It now works. 

  • VJR Profile Picture
    7,635 on at

    Great to hear that.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 442

#2
Vish WR Profile Picture

Vish WR 328

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard