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 / Power automate get a E...
Power Automate
Unanswered

Power automate get a Excel link in a email

(0) ShareShare
ReportReport
Posted on by 4
I would like to know if there is any way that in an email where a file is shared in Sharepoint, that link can be collected and then in the flow the file can be called in a Sharepoint action.

Let me explain, let's suppose that I am the owner of the file, I share it by email with someone so that they can give it the OK, when that person responds to the email with the OK, I need the flow to take that file, convert it to pdf and send it to the email that responded with the OK.

I have not been able to figure out how to collect the ID or the link from the email since I need this automation not to be for a specific file but every time an email with 'X' subject arrives with different files.
Categories:
I have the same question (0)
  • Mark Nanneman Profile Picture
    993 Moderator on at
    There's probably a better way to do this (maybe with approvals or a canvas app or something) but this sounded like a fun challenge and I had a few minutes to kill.

    Easiest method would be to use an AI Builder prompt or extract to get sharepoint links (and also sharepoint site path and relative file path) out of the email body from the trigger.  You could alternatively create a Low Code Plugin in Dataverse Accelerator that could take the email body as input and use a Power FX MatchAll() function to look for and return a sharepoint link.

    If you can't do that and want to do it with standard built-in power automate actions, and string and array manipulation expressions in a cloud flow, here's how I did it.
  • DI-01101558-0 Profile Picture
    4 on at
    Hi, @Mark Nanneman thanks for your answer. I've been trying to test your answer, but I'm having a problem. In the third part: Filter Array- SharePoint URLs, the output is empty. Could you explain to me how you set the Filter Query value? Thank you very much.

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 391

#2
11manish Profile Picture

11manish 276

#3
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

Last 30 days Overall leaderboard