IvaSoft - return to homepage
SendEmailWithVotingButtons flow
Contact Us
IvaSoft - Power Automate Flows
Updated:
9 December 2025

This flow sends an email with voting buttons Approve and Reject.

SendEmailWithVotingButtonsFlow - buttons


Installation

  1. Run Power Automate (https://make.powerautomate.com) and create the "Office 365 Users connection (in case you do not have them yet):

    SendEmailWithVotingButtonsFlow - create the connection

    1. Run Power Automate (https://make.powerautomate.com) and create new instant cloud flow named SendEmailWithVotingButtons. Select "Manually trigger a flow". Click the Create button.

      SendEmailWithVotingButtonsFlow - create the flow 1

    2. Create the Compose action and name it Compose Settings. Place there the following:
      {
        "RecipientAddress": "test1@contoso.com",
        "Subject": "Test email with voting buttons ",
        "PlainTextBody": "Just a test."
      }
           
      Modify the recipient address.

      SendEmailWithVotingButtonsFlow - create the flow 2

    3. Create the Compose action and name it Compose Email. Place there the following:
      {
        "body": {
          "contentType": "Text",
          "content": "@{outputs('Compose_Settings')?['PlainTextBody']}"
        },
        "subject": "@{outputs('Compose_Settings')?['Subject']}",
        "toRecipients": [
          {
            "emailAddress": {
              "address": "@{outputs('Compose_Settings')?['RecipientAddress']}"
            }
          }
        ],
        "singleValueExtendedProperties": [
          {
            "id": "BINARY {00062008-0000-0000-C000-000000000046} Id 0x8520",
            "value": "AgEGAAAAAAAAAAVSZXBseQhJUE0uTm90ZQdNZXNzYWdlAlJFBQAAAAAAAAAAAAAAAAAAAAACAAAAZgAAAAIAAAABAAAADFJlcGx5IHRvIEFsbAhJUE0uTm90ZQdNZXNzYWdlAlJFBQAAAAAAAAAAAAAAAAAAAAACAAAAZwAAAAMAAAACAAAAB0ZvcndhcmQISVBNLk5vdGUHTWVzc2FnZQJGVwUAAAAAAAAAAAAAAAAAAAAAAgAAAGgAAAAEAAAAAwAAAA9SZXBseSB0byBGb2xkZXIISVBNLlBvc3QEUG9zdAAFAAAAAAAAAAAAAAAAAAAAAAIAAABsAAAACAAAAAQAAAAHQXBwcm92ZQhJUE0uTm90ZQAHQXBwcm92ZQAAAAAAAAAAAAEAAAABAAAAAgAAAAEAAAD/////BAAAAAZSZWplY3QISVBNLk5vdGUABlJlamVjdAAAAAAAAAAAAAEAAAACAAAAAgAAAAIAAAD/////BAEFUgBlAHAAbAB5AAJSAEUADFIAZQBwAGwAeQAgAHQAbwAgAEEAbABsAAJSAEUAB0YAbwByAHcAYQByAGQAAkYAVwAPUgBlAHAAbAB5ACAAdABvACAARgBvAGwAZABlAHIAAAdBAHAAcAByAG8AdgBlAAdBAHAAcAByAG8AdgBlAAZSAGUAagBlAGMAdAAGUgBlAGoAZQBjAHQA"
          },
          {
            "id": "STRING 0X1A",
            "value": "IPM.Note.Microsoft.Approval.Request"
          }
        ]
      }
           

      SendEmailWithVotingButtonsFlow - create the flow 3

    4. Create the Send an HTTP request action of the "Office 365 Users" connector. Place there the following:
           URI:  https://graph.microsoft.com/v1.0/me/sendMail
           Body: {"message": @{outputs('Compose_Email')}},"saveToSentItems": true"}
           

      SendEmailWithVotingButtonsFlow - create the flow 4

  2. Save the flow. Turn on the flow.

    SendEmailWithVotingButtonsFlow - turn on the flow


Testing

Run the flow. Make sure the message you have received conatins the Approve and Reject buttons.

SendEmailWithVotingButtonsFlow - testing




This is a code sample.

The sample code included herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law.

Please understand that we do not provide free technical support for our code samples.



Support Pricing

If you need technical support, purchase at least one support unit and contact us. Support units are non-refundable.

 
PayProGlobal secure payment processing
One Support Unit Price: $35.00
Shopping Cart  ORDER
IvaSoft Home Page
Contact Us