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 / Find URL within an ema...
Power Automate
Unanswered

Find URL within an email and paste it to a sheet

(0) ShareShare
ReportReport
Posted on by 136

I'm trying to build a flow that extracts some data from an email and inserts it into a Google Sheet (has to be Google unfortunately).

 

My main question is, can I somehow parse out a specific URL from the email body html? The emails are automated emails from an outside system, but the link I need is always in a button with a specific text. I think I'll be able to fund the URL itself from the HTML, but I'm not sure what actions would be best.

Do I need one of the data operation actions? Or something else completely?

My second, less important question: can I somehow cut out parts of the subject line before inserting it into the sheet? This is less pressing, because, if push comes to shove, I can use functions within the sheet to solve this.

Thank you in advance!

Categories:
I have the same question (0)
  • julis Profile Picture
    136 on at

    hey Alex,

     

    what do you mean by provide more information? I can't really copy the email details, but it's always a button with a specific text, and I need the link you get by clicking the button:

    julis_0-1689254184878.png

    My only idea is converting the HTML to text and then somehow splitting it? I don't know if that would even work.

     

    If possible, I'd really like to solve it without any extra cost.

  • AlexEncodian Profile Picture
    4,409 Moderator on at

    @julis 

    The more information comment was related to the subject line string manipulation. You can manipulate strings / cut things out / extract substrings / split etc in Power Automate. How you do it will depend on the structure of your string

  • julis Profile Picture
    136 on at

    Hi Alex,

     

    The strings are something like: "Hello XY, item name is ready for processing"

    I need to extract both "XY" and "item name".

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard