cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

Where is the URL for a OneDrive File?

Hello,

I'd like to send an automated email that includes the URL of a file in my OneDrive folder. Unfortunately, I cannot find the URL of the file in Flow. 

What I have so far:

  • Trigger: Recurrance (every day)
  • Action1: Get File Metadata (file.xlsx)
  • Action2: Get File Content
    • Set to Dynamic Content: id from Action1
  • Action3: Send an Email
    • In the Body field, I'd like to include the URL to file.xlsx

Issue:

  • No values from the Get File Metadata action show the URL

Please advise on where I can get this so my users can open the file directly from the email by clicking the URL and using Excel Online.

Thank you

1 REPLY 1
ScottShearer
Super User
Super User

@ericonline :

Here are two options:

  • You can manually build the URL and insert the filename with extension which is available via Dynamic properties.
  • You can use the Create share link by path action which does generate a URL accessible via Dynamic properties

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,386)