⚙️How to use Actionable Messages in Outlook with Power Automate

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • НаукаНаука

Комментарии • 60

  • @nenath08
    @nenath08 11 месяцев назад

    Thanks a lot for the video, I couldnt find a way to approve actionable message registration. thanks to you i found the link to log in as admin

  • @luke-w8b
    @luke-w8b 4 месяца назад

    Thank you very much. Sub element is what I was after and couldn't find it anywhere.

    • @DeLucaGiulian
      @DeLucaGiulian  4 месяца назад

      Thank you for taking the time to watch the video.

  • @paulclifford-jones5960
    @paulclifford-jones5960 2 месяца назад

    Very comprehensive and well presented. Excellent.

    • @DeLucaGiulian
      @DeLucaGiulian  2 месяца назад

      @@paulclifford-jones5960 Thank you, I'm honored

  • @dayanaaj1279
    @dayanaaj1279 Год назад +2

    Hi, thank you for this tutorial. I have managed to follow each steps successfully except for the CARD-UPDATE-IN-BODY. The run in Power Automate shows that it is successfully executed but on outlook the actionable message is not refreshed and it gives me error "Something went wrong. Please try again later". I'm using version 1.0. Any ideas?

  • @narmadapatthi7614
    @narmadapatthi7614 2 месяца назад

    Thanks a lot for the video. approve/reject buttons on actionable message is working in the logic app with consumption plan but it is failing with standard tier plan. It says "Target URL is not allowed" when click on approve/reject. Please let me know if you know the reason.

  • @milidoshi6832
    @milidoshi6832 5 месяцев назад +1

    09:40 - where can I find the code for POST URL and Body?

    • @DeLucaGiulian
      @DeLucaGiulian  5 месяцев назад +1

      There you go:
      {
      "type": "Action.Http",
      "title": "Submit",
      "method": "POST",
      "url": "prod-70.westeurope.logic.azure.com:443/workflows/9956605329af451790e5e5a8da19d196/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=3o-VCGgh8uemBKHg3bL7vp7YfXsonr9aK-vHCQokOD4",
      "body": "{\"Option\": \"{{Options.value}}\", \"Comments\": \"{{Comments.value}}\",\"ac_id\": \"@{triggerOutputs()?['body/ID']}\"}",
      "headers": [
      {
      "name": "Authorization",
      "value": ""
      },
      {
      "name": "Content-Type",
      "value": "application/json"
      }
      ]
      }
      You can create this code in the adaptive card designer:
      www.adaptivecards.io/designer/

  • @anggamuhammadfirsyah131
    @anggamuhammadfirsyah131 5 месяцев назад +1

    Thanks for the video, but how come you can use adaptive card version 1.3 for outlook actionable messages? As far as I know, actionable messages only support adaptive cards v 1.0

    • @DeLucaGiulian
      @DeLucaGiulian  5 месяцев назад

      Hi,
      Thanks for watching 😉.
      Outlook actionable message supports the schema version v1.4

  • @markokrstanovic8476
    @markokrstanovic8476 10 месяцев назад

    Hi Giuliano,
    Message works perfectly for me, but i have an a problem with other users.
    I've created test user group for this with 3 of my colleagues and as a sender, I've added our Admin account.
    When actionable message arrives, we all can see the message, but only mine and Admin account actually send HTTP request,.
    For other users there is an error: The action could not be completed.
    I've tried Client and Web,
    I've tried put other colleagues,
    I've registered new originators.
    But still same problem, and i don't know where to look anymore.
    Thanks!

  • @paultobiloba8998
    @paultobiloba8998 4 месяца назад +1

    Hi Giuliano,
    I have an issue with the submit button (Action.Http). I keep getting the following error: "The remote endpoint returned an error (HTTP '502'). Please try again later." when i try to submit the actionable message.
    This is the error returned on the flow: Unable to process template language expressions in action 'Decode_Auth_Bearer_Payload' inputs at line '0' and column '0': 'The template language function 'decodeBase64' was invoked with a parameter that is not valid. The value cannot be decoded from base64 representation.'.

    • @DeLucaGiulian
      @DeLucaGiulian  4 месяца назад

      Hi,
      Try to replace the string that you have in step 'Decode_Auth_Bearer_Payload' with this one:
      decodeBase64(concat(split(replace(triggerOutputs()['headers']?['Action-Authorization'], 'Bearer ', ''), '.')?[1], '=='))

  • @Mike-uz3kn
    @Mike-uz3kn Год назад

    This is fantastic. Thank you!

  • @RobFahndrich1
    @RobFahndrich1 Год назад

    Good video! Can you tell me will this process work if we are sending the emails to users outside our organization?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Thanks for watching 😉.
      It will work only with Microsoft 365 or Outlook.com mailboxes.

  • @DroneEyes
    @DroneEyes Год назад +1

    could you share the code you used on the active card?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад +1

      Hi,
      Here you can find the Actionable Message sample that I used:
      github.com/giuleon/ActionableMessage/blob/main/ActionableMessage.json
      Thank you for your interest

  • @bgcreationsrhythm2881
    @bgcreationsrhythm2881 7 месяцев назад

    Is it possible to use this method to send adaptive card to webex as well?

    • @DeLucaGiulian
      @DeLucaGiulian  7 месяцев назад

      Hi,
      Yes you can send the adaptive card for webex check this out:
      developer.webex.com/buttons-and-cards-designer

  • @wildchangjr.8998
    @wildchangjr.8998 Год назад +1

    Action.HTTP no longer exists on adaptive card designer. What do we do?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Hi,
      In the adaptive card designer set Outlook Actionable Messages in the field Select host app and you'll be able to add an Action.Http button

    • @wildchangjr.8998
      @wildchangjr.8998 Год назад

      @@DeLucaGiulian Thank you. I found it. The problem I am having rn is that the action.http button does not show up in the outlook email, even though I added it in the adaptive card designer format. Am I missing something or is it just a bug? I also included an id and an originator as demonstrated in the video, but no luck. Any suggestions?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      If you are sure that you added the actionable message in the Actionable Email Developer Dashboard (where you get the originator ID), next thing to do is trying to decrease the version of your adaptive card which is probably not compatible with your outlook version. One quick question you have the same behavior in Outlook for web?

    • @wildchangjr.8998
      @wildchangjr.8998 Год назад

      @@DeLucaGiulian what do you mean by behavior?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      That the button doesn't show up

  • @syedgazanfar7795
    @syedgazanfar7795 7 месяцев назад

    Can we use power automate approval instead of this approach???

    • @DeLucaGiulian
      @DeLucaGiulian  7 месяцев назад

      Yes sure

    • @syedgazanfar7795
      @syedgazanfar7795 7 месяцев назад +1

      Thanks for your quick reply,
      One more question 😊 how can we make approver comments required when we use power automate approval

    • @DeLucaGiulian
      @DeLucaGiulian  7 месяцев назад

      @@syedgazanfar7795 you can do it mandatory with adaptive cards but in classic approvals approach is not available, that means putting a loop in order to check if the comment is added otherwise asking again to the user

    • @syedgazanfar7795
      @syedgazanfar7795 7 месяцев назад

      I will use this method then thank you so much for this great video I really appreciate your quick response.

  • @guillermodimas9183
    @guillermodimas9183 Год назад

    Works fine for me in outlook from the browser but I'm getting an error when submitting when using mobile outlook app and windows outlook app. Says "Something Went Wrong" even though on power automate it shows that it completed just fine. Any ideas?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Hi,
      Maybe for some reason the response doesn't land correctly in the Outlook App.
      Could you try to downgrade the version of your adaptive card.
      For example if you have version 1.3 you can try with lower versions 1.2 or 1.1

    • @guillermodimas9183
      @guillermodimas9183 Год назад

      @@DeLucaGiulian that was it, thank you! Subscribed 👍

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Thanks 🙏

  • @VirajChokhany
    @VirajChokhany Год назад

    Hi,
    I had few questions.
    What happens if the first approver opens the email and closes it without performing any action ? Will autoinvoke say that the request is approved/rejected? And if yes, how to prevent such scenarios ?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Hi,
      Thank you for your question.
      In order to handle this use case along with the autoinvoke request you should send the id of the SharePoint list item for instance.
      In this way, in your Logic App or Power Automate flow, you can check the current status of your request by querying the SharePoint list.
      If the status is not approved or rejected, you have to send back a response with HTTP status 200 and enough.
      I hope it's clear.

    • @VirajChokhany
      @VirajChokhany Год назад

      @@DeLucaGiulian this is the condition which is handled in the first switch case in the example power flow… is that right ?
      So if I’m correct, the actionable message not refreshing on simply opening is handled here as well , right ?

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Yes exactly 👍
      The actionable message won't refresh

    • @VirajChokhany
      @VirajChokhany Год назад

      @@DeLucaGiulian Thank You so much for clarifying my doubts

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Thanks to you for watching and asking

  • @michaeldjjohnson
    @michaeldjjohnson 6 месяцев назад

    Good day to you Giuliano,
    I have been trying to reach you on social networks. Apologises for my approach. I am
    I have been following your tutorial called "How to use Actionable Messages in Outlook with Power Automate" and I am stuck.
    Would you be able to help me? I am willing to pay for your services.
    Please let me know if this is workable with you.
    Regards
    Michael

  • @freddyparedes6917
    @freddyparedes6917 Год назад

    When I try to send another user the message is blank

    • @DeLucaGiulian
      @DeLucaGiulian  Год назад

      Hi,
      Have you tried to open the message in Outlook for web?
      It sounds that the version that you specified in the JSON of your adaptive card is not yet supported in your Outlook client, you can try to downgrade the version and send the message again.
      For instance, if you have "version": "1.4" you can modify it in this way "version": "1.3"

  • @arjanterheegde
    @arjanterheegde 9 месяцев назад

    decodeBase64(split(replace(triggerOutputs()['headers']?['Action-Authorization'], 'Bearer ', ''), '.')?[1]) gives the following error:
    Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0': 'The template language function 'decodeBase64' was invoked with a parameter that is not valid. The value cannot be decoded from base64 representation.'.
    Is there a solution for this error?

    • @DeLucaGiulian
      @DeLucaGiulian  9 месяцев назад

      decodeBase64(split(replace(triggerOutputs()['headers']?['Action-Authorization'], 'Bearer ', ''), '.')?[1])
      This one works fine for me, have you tried in another environment?

    • @arjanterheegde
      @arjanterheegde 9 месяцев назад +1

      @@DeLucaGiulian That code didn't work, i didn't try another environment. The solution for me was using this code in a Initialize variable:
      @{json(if(
      equals(mod(length(split(variables('JWT Code'),'.')[1]),4),0),
      decodeBase64(split(variables('JWT Code'),'.')[1]),
      decodeBase64(concat(split(variables('JWT Code'),'.')[1],take('===',sub(4,mod(length(split(variables('JWT Code'),'.')[1]),4)))))
      ))}
      JWT Code: @{replace(triggerOutputs()['headers']?['Action-Authorization'], 'Bearer ', '')}

    • @DeLucaGiulian
      @DeLucaGiulian  9 месяцев назад

      @@arjanterheegde the error that you get comes from a compose action?

    • @arjanterheegde
      @arjanterheegde 9 месяцев назад

      @@DeLucaGiulian Yes!

    • @DeLucaGiulian
      @DeLucaGiulian  9 месяцев назад

      Strange that you get this error but in any case you found a workaround

  • @titahaver6290
    @titahaver6290 Год назад

    really helpful. Thanks 😊