cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ching29
Level: Powered On

OneDrive FileName wrong

Hi,

 

I'm having a problem in checking the filename of the uploaded file.

I want to create a Flow that sends an email to particular people depending on the file name.

My problem is the file name is not right. File name shoud be  "IT_Issue List - STF Response_BP.xlsx" but the output is "SVRfSXNzdWUgTGlzdCAtIFNURiBSZXNwb25zZV9CUC54bHN4".

Please see image below.

 

Capture.PNG

 

 But when I put it on "Send Email' action, it displays the correct file name. Send Email set-up as html in advanced options.

 

Capture2.PNG

 

Is this an encryption, if yes. How can I convert this? I will use the File Name in "Condition".

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: OneDrive FileName wrong

Hi @ching29,

 

You could also add a "Get file metadate" action in your flow as below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

 

Best regards,

Alice

View solution in original post

2 REPLIES 2
tfhegdbn
Level: Powered On

Re: OneDrive FileName wrong

File name is encoded, try remove encoded. 

triggerOutputs()['headers']['x-ms-file-name']

 

10e.PNGtest.PNG

Community Support Team
Community Support Team

Re: OneDrive FileName wrong

Hi @ching29,

 

You could also add a "Get file metadate" action in your flow as below:

Capture.PNG

 

The flow would run successfully as below:

Capture.PNG

 

 

Best regards,

Alice

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 320 members 5,495 guests
Please welcome our newest community members: