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 / Exctract http link fro...
Power Automate
Answered

Exctract http link from email and attach it to a certain word in Excel

(0) ShareShare
ReportReport
Posted on by 24
  • Hello everyone,

I would really appreciate some help now.

I have 2 autogenerated links in my email (it differed from email to email, only the compony name is the same in the link). 

I need to extract the second link and attach it to a certain word in online Excel in Sharepoint.

I have tried first(split(slice(outputs('Html_to_text')?['body'], indexOf(outputs('Html_to_text')?['body'], 'http://')), ' ')) but it returns random letters as a value.

Thank you very much for your help!

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @AK989 ,

     

    Could you please share a sample of the Email body, so we are able to test with it?

     

    Best regards,

  • AK989 Profile Picture
    24 on at

    tmp_b4bf98bd-3ce6-4f88-8be5-d1230c68c9b1.png

    • will that be enough?
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @AK989 ,

     

    Text is preferred and I can copy to test it with. Please remember replace sensitive data with *.

     

    Best regards,

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @AK989 ,

     

    I made a test with something similar to your sample:

    vjefferni_0-1705912320037.png

     

    So, if both URLs are included by [ ], you can use below expression:

    split(split(outputs('Html_to_text')?['body'],'[')[2],']')[0]

     

    Best regards,

  • AK989 Profile Picture
    24 on at

    Omg, you are a magician, it worked.Thank you for your understanding, as the data I am automating is a bit sensitive. The last question please. Can I attach this link to a certain word in online Excel. One more time thank you a million!

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @AK989 ,

     

    It seems simple. But without the details of your excel, I'm not sure. You'd better post a new case with detailed scenario so more users in the forum will see it and help.

     

    Best regards,

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 195 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 167

Last 30 days Overall leaderboard