web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract Link from Emai...
Power Automate
Unanswered

Extract Link from Email Body

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am currently getting into Desktop Flows and I am wondering if its possible to extract and open a link from an email body, being receiving the email the main trigger.

 

What happens is my Desktop Flow calls for a PowerShell script to run which requires two variables: username and host name (asset)

 

The username I can extract as it comes in the body of the email in plain text. 

 

The computer name however does not come in plain text. What there is is a link in the email body that takes you directly to the Web page of the ticket. In the ticket there's a field called "configuration item" which is filled out with the computer name. This is why I need the flow to somehow open the link, scan the page for "configuration item" and store whatever is in there as a variable

 

 

My end goal is to automate adding users as local administrators when they submit a request. My PS script just asks for 2 inputs: username and machine name. 

 

Thanks in advance 

Categories:
I have the same question (0)
  • Serbay Profile Picture
    213 on at

    Hi,
    Extraction email body by using expressions and functions are quite possible. In your case, it should be possible to extract the link from the body and trigger Recorder from that output. 
    Just to give some idea, https://powerusers.microsoft.com/t5/Building-Flows/Read-content-from-a-link-in-a-the-body-of-an-email/m-p/202471

    To capture and store data from the web, please check this example ;

    https://www.youtube.com/watch?v=DBT_-T9WXWE&t=4s&ab_channel=RezaDorrani 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard