Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Extract Link from Email Body



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 

Resolver I
Resolver I

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,

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

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,299)