Actionable Messages using Adaptive Cards - ultimate guide

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ม.ค. 2025

ความคิดเห็น • 43

  • @TinyMagiq
    @TinyMagiq 2 ปีที่แล้ว

    Brilliant loved the details. Thank you

  • @bmagana70
    @bmagana70 4 ปีที่แล้ว +2

    Hi Tomas,
    Thanks for the video. I would like to know how do you link the variable (array) "var Items txt" to the data field in the Adaptive Card.
    If you can show this part of the code in the adaptive card in a MS Flow sample I would appreciate it.
    Thanks!

    • @TomaszPoszytek
      @TomaszPoszytek  4 ปีที่แล้ว

      Hi, I am doing this in a loop. First create the whole structure of Adaptive Card you want to send. The columnSet is a table in the JSON structure. Then you need to contact the JSON structure for single item, populated with data and append it to var_Items_txt - this will build a final json structure. And in the end you need to merge the Adaptive Card's JSON, so part before the ColumnSet, var_Items_txt and part after ColumnSet.

  • @xDmeEzZ
    @xDmeEzZ 3 ปีที่แล้ว

    Hi, Do you have a video about the autoinvoke action of the actionable messages? I can't make it work

  • @Timaerhe
    @Timaerhe 4 ปีที่แล้ว +1

    FYI: If you didn't change your originator yet, you forgot to hide an originator in the debugger view.
    Does this work for multiple users? Where the first one to validate updates the status for all recipients? (If this is even possible)

    • @TomaszPoszytek
      @TomaszPoszytek  4 ปีที่แล้ว

      Thanks for your concerns, but this originator id works only within my tenant 😊
      About your second question, I think it should be achievable somehow, but i don't know if for the scenario where flow is sending the message that could be done.

  • @surajdevasthali6107
    @surajdevasthali6107 2 ปีที่แล้ว

    Hi Tomasz, I'm badly stuck on a flow where I need to post an adaptive card which will fetch details from sharepoint list and post in outlook for approval. Can you please make a video on this?

    • @TomaszPoszytek
      @TomaszPoszytek  2 ปีที่แล้ว

      What is the most cumbersome step?

  • @GayuVlogaholic
    @GayuVlogaholic 3 ปีที่แล้ว +1

    Hi, i have created adaptive card with comment box when click approve button, when submit its calling post api when the comment is in single line but its not calling the post api if the comment is mutiline. Can you please suggest me to resolve this?

    • @TomaszPoszytek
      @TomaszPoszytek  3 ปีที่แล้ว

      Possibly the response JSON is invalid if it's multiline. You can use Actionable Messages Debugger addin for Outlook to see some details, as well try to use fiddler to check what's data is sent when user hits submit.
      Is it sent to target URL, but displays error, or the target URL is never called?

    • @GayuVlogaholic
      @GayuVlogaholic 3 ปีที่แล้ว

      Hi, if there is no space in the comment means no issues, if there is a space its showing 404 error in the email.

    • @TomaszPoszytek
      @TomaszPoszytek  3 ปีที่แล้ว

      @@GayuVlogaholic you mean new line? Or really the space? If the break, maybe switch the field from multiline to singleline?

  • @paultobiloba8998
    @paultobiloba8998 8 หลายเดือนก่อน

    Hi Tomasz, Please help
    I have an issue with my http trigger flow. I'm unable to decode the second part of the jw token. The first part at index [0] decodes successfully but the second doesn't.
    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.'.

    • @TomaszPoszytek
      @TomaszPoszytek  8 หลายเดือนก่อน

      Maybe try to split the whole expression into separate compose actions and check what’s being returned by each of them.

  • @chinmain3078
    @chinmain3078 2 ปีที่แล้ว

    Thank You for the Video. I created dedicated email address for actionable message sending purpose. I register the email address in registration. When I am generating actionable email it is coming expected way, but when I tried to click approve or reject button it says Target URL not allowed. Could you please suggest me

    • @TomaszPoszytek
      @TomaszPoszytek  2 ปีที่แล้ว

      In AM Developer Dashboard, when you are registering the provider, you need to define URLs which can be called by AM. Check if the one your message is trying to reach is in that list.

  • @jhonatanorabadillo
    @jhonatanorabadillo 3 ปีที่แล้ว

    Hello Tomasz.
    Thanks for the explanation in the video tutorial.
    An inquiry, please.
    Is there a way we can capture the attributes of the mail that the adaptive card was replied to?
    That is, when I respond to the card, I can also capture what the subject is, the attached document (if any), the sender's email, among others.
    Beforehand thank you very much.
    Greetings,

    • @TomaszPoszytek
      @TomaszPoszytek  3 ปีที่แล้ว

      The point is you are always sending the card together with a mail. So at the moment of sending you do have all the information you are mentioning. So either store them beforehand in some database and simply add ID of that record to the response from card or add that information as response data.

  • @AndyFordyce
    @AndyFordyce 4 ปีที่แล้ว

    Awesome guide. I have managed to get this working, however the image that I have in my my message doesn’t get displayed in Outlook. Any ideas?

    • @TomaszPoszytek
      @TomaszPoszytek  4 ปีที่แล้ว

      +Andy Fordyce is it hosted somewhere publicly? Is it accessible from the Outlook? Try amdesigner.azurewebsites.net/ and see if it displays during the authoring and in preview. Then you can send yourself a test message.

    • @AndyFordyce
      @AndyFordyce 4 ปีที่แล้ว

      @@TomaszPoszytek I have used another image and it now works. I’m not sure why the first attempt didn’t work as it was publicly accessible. Thanks again for the guide.

  • @AnonymousBlueCat
    @AnonymousBlueCat ปีที่แล้ว

    Thanks for the great video! By the way, Does it work correctly on mobile for now? I followed your instruction as same as possible, but it doesn't work on mobile devices(it works on desktop outlook, though).

    • @TomaszPoszytek
      @TomaszPoszytek  ปีที่แล้ว

      Yes, it should work on mobile version of Outlook too. It does for me :P

  • @danielgil9651
    @danielgil9651 ปีที่แล้ว

    Hi tomasz, sorry I'm new to this and I'm not sure what do I have to put in target url field? Where do I find that url. Thanks in Advance.

    • @TomaszPoszytek
      @TomaszPoszytek  ปีที่แล้ว +1

      It's the URL where data from the cars will be sent. In my case this is the URL of HTTP trigger in another cloud flow I built.

    • @danielgil9651
      @danielgil9651 ปีที่แล้ว

      @@TomaszPoszytek sorry I didn't get it, if my card is only text and has no buttons ir options to responde so I'm not capturing any data, wich url should I put? Im sending innformatiom from a shareoon list in the card, so do I have to put the Sharepoint list url?

    • @danielgil9651
      @danielgil9651 ปีที่แล้ว

      @@TomaszPoszytek pls help?

    • @danielgil9651
      @danielgil9651 ปีที่แล้ว

      @@TomaszPoszytek help me please?

  • @shimaurasheed6922
    @shimaurasheed6922 3 ปีที่แล้ว

    Very well explained, thank you for the guide

  • @GayuVlogaholic
    @GayuVlogaholic 4 ปีที่แล้ว +1

    Hi, i'm using Message card and i tried to send email to multiple users but failed , if sender and receiver same it works. I have added originator id as well still not working. Can you suggest me please?

    • @TomaszPoszytek
      @TomaszPoszytek  4 ปีที่แล้ว

      You mean the Actionable Messages? Try installing Actionable Messages Debugger in Outlook and check the reason they are not displaying: appsource.microsoft.com/en-us/product/office/WA104381686

    • @MrJahdenk
      @MrJahdenk 2 ปีที่แล้ว

      Hi Tomasz, I have got the exact same thing. The debuger does not show any errors. I am trying to send the actionable message to email adresses which could be outside MS 365. Therefor I created a provider in the Developer Dashboard with a global scope and got it approved. Now a few weeks later it still does not work.
      Do you have any sugestions?

  • @joseg4025
    @joseg4025 3 ปีที่แล้ว

    you're the best bro thanks

  • @TheAsterii
    @TheAsterii 4 ปีที่แล้ว +2

    Hi Tomasz, thanks for sharing the video! I like the idea of putting together an ultimate guide. And I really liked the part about the security considerations.
    There are 2 things I would like to point out:
    1) Did you know we can only register 10 URLs under each provider in the Developer Dashboard? At least this happened to me recently, I was not able to save the provider profile with more than 10 URLs. I wasn´t able to find anything regarding this limitation online. Do you maybe have some further information?
    2) It is possible to include an html fallback element in the card´s body. So in case the recipient does not have the correct Outlook version or uses another application all together, this html fallback body will be displayed to the user instead of the actionable message. Of course, this fallback html will not be interactive anymore. However, it lets the user know the intention behind the message.
    Cheers, Florian

    • @TomaszPoszytek
      @TomaszPoszytek  4 ปีที่แล้ว

      +Florian .Zimmer thank you! So I didn't know about the limitations and sorry I don't have any more details around it. As for the fallback - you're right. I missed to mention this useful functionality. Thank you for pointing that out!

  • @haraldthonig2014
    @haraldthonig2014 4 ปีที่แล้ว

    Hi Tomasz, thanks for this greate video. I created an adaptive card but if I send the action, I get the error "The remote enpoint returned an error (HTTP 400).Please try again later". If I post the action with Postman, it works fine. Have you any idea what the problem can be?
    Regards Harald

    • @TomaszPoszytek
      @TomaszPoszytek  4 ปีที่แล้ว

      What action do you use? Where are you sending that card? Where do you send it with Postman?

    • @TomaszPoszytek
      @TomaszPoszytek  4 ปีที่แล้ว

      And where that error appears? In flow?

    • @haraldthonig2014
      @haraldthonig2014 4 ปีที่แล้ว

      @@TomaszPoszytek I use an http action in an adaptive card and I send it in flow to Outlook. The error appears in Oulook (Web and Desktop) if I click on the Button in Outlook. The action sends an http request to flow (When a http request received). With Postman I send the http post url, which I copied from the action "When a http request received".

  • @dollan1991
    @dollan1991 4 ปีที่แล้ว

    Great guide!