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 / Clickable link in send...
Power Automate
Unanswered

Clickable link in send and approval mail should create mail with attachment

(0) ShareShare
ReportReport
Posted on by 80

I have written below code in compose action of power automate which creates an new email after clicking on link. how can I add attachment name also in below code.

 

mailto:@{variables('REQUESTOR_FOR_ID')}?cc=@{variables('PrimaryApprover')}&subject=UAM IT- Request for @{variables('Service_Type')} has been approved by the approver&body=@{variables('RequestBody')}

 

Below code will create a link in my sent approval mail see image below

nejhade_2-1697712709206.png

 

Below code is working:

nejhade_4-1697712792482.png

It creates mail below after clicking on link:

nejhade_5-1697712952029.png

 

 

but I want to have attachment of csv format in that mail. below code is not working. help me with how can i have attachment.

nejhade_0-1697712599155.png

 

Categories:
I have the same question (0)
  • narayan225 Profile Picture
    2,547 Moderator on at

    @nejhade 

     

    I don't think you can add attachments directly within the mailto link. Even if you were to create a link like that, Outlook won't allow you to do this as it is a security issue.

     

    Hope this makes sense.

    Cheers!

  • nejhade Profile Picture
    80 on at

    Can I create a html Table on click of link? 

    I am trying to have a compose action which has HTML table and sent in body of link but its showing html code instead of creating table on click of link.

     

    @grantjenkins , @v-jefferni , @WarrenBelz  : Can you pleaase help me here. it would be great help

     

     

  • nejhade Profile Picture
    80 on at

    Okay so can i sent as HTML table. As I want that excel data to be in table format. If I attached create html table compose action in body it shows html code not creating html table. Any idea on this. thanks in advance. it would be great help.

  • narayan225 Profile Picture
    2,547 Moderator on at

    @nejhade 

     

    You cannot pass HTML data as mailto link. It doesn't work that way. You can only send plain/text data in mailto link.

     

    Instead of using MAILTO, you can user a link to trigger a flow and send the email with the necessary table instead. You can pass parameters with the link using relative path.

    Check this article: https://devanalytic365.com/f/trigger-a-flow-by-clicking-on-url-send-information-through-url

     

    Cheers!

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 607

#2
Valantis Profile Picture

Valantis 495

#3
Vish WR Profile Picture

Vish WR 429

Last 30 days Overall leaderboard