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 to extract file na...
Power Automate
Answered

how to extract file name in power automate desktop

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all, I want to extract file name that contains two id's for example (11111000   22222.pdf). how to extract this two id's and store it in a variable using power automate desktop. Please  help and find a solution

I have the same question (0)
  • Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at

    Hi @Varghese_06 ,

    So this files are present in folder  if am not wrong.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    yes, this files are in folder also, i want to iterate this files to capture the id's. Hope you understand my requirement

     

  • Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at

    Both are pdf or some other format.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    yes all files are pdf one file name for example (111 999.pdf) i want to extract '111' and '999' seperately

  • Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at

    Refer This

    Ahammad_Riyaz_0-1656049172886.png

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    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
    Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at

    Also if you need to split.

    Refer this 

    Ahammad_Riyaz_0-1656052652143.png

    Regards

    Ahammad Riyaz

    --------------------------------------------------------------------------------
    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.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hai Ahammad, when i split test there is list of text values as shown in the fig. I want to use this #0 value to populate text field in window.  Is there any way to capture this #0 item and populate in textfield window? Please provide a solution.

    Varghese_06_0-1656311342560.png

     

  • Verified answer
    Riyaz_riz11 Profile Picture
    4,204 Super User 2026 Season 1 on at

    Hi @Varghese_06 ,

     

    Pass %TextList2[0]%

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 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard