cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

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
Community Support

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
Helper IV
Helper IV

File name is encoded, try remove encoded. 

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

 

10e.PNGtest.PNG

Community Support
Community Support

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (16,940)