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 / 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 671

#3
Haque Profile Picture

Haque 551

Last 30 days Overall leaderboard