Actionable Messages with HTTP Post in Outlook and new SPFx WebPart

Copper Contributor

I've asked this question on stackoverflow and tagged it with office365connectors, spfx, etc. But so far no replies.

https://stackoverflow.com/questions/48923871/actionable-messages-with-http-post-in-outlook-and-new-s...

 

Here's the question:

 

I have created an actionable message and registered a provider in Office365, which is approved for my organisation. I'm sending the message via Microsoft Flow. The message contains HTTP Post actions in which I want to receive the response with a HTTP triggered Flow. This is the JSON of the actionable message (I've removed the FLOW urls, and @'s are escaped.):

  {
"@@type": "MessageCard",
"@@context": "http://schema.org/extensions",
"originator":"<my_provider_id>",
"summary": "Klanttevredenheidsonderzoek ",
"title": "Bent u tevreden over de afhandeling van **melding 92138749247**",
"text": "Graag horen we of u tevreden bent over deze melding","themeColor": "E81123",
"sections": [
    {

        "potentialAction": [
            {
                "@@type": "HttpPOST",
                "name": "Slecht!",
                "headers":[{"Content-Type":"application/json"}],
                "target": "<flowurl>?<>flowurlparameters",
                "body": "Slecht!"
            },
            {
                "@@type": "HttpPOST",
                "name": "Goed!",
                "headers":[{"Content-Type":"application/json"}],
                "target": "<flowurl>?<>flowurlparameters",
                "body": "Goed"
            }
        ]
    },
    {
        "startGroup": true,
        "title": "**Disclaimer**",
        "text": ". 2018"
    }
]

}

I have two problems:

  1. If I mail my own O365 account, I get the mail with the message showing correctly. However, the post buttons do not work correctly, and the link I see when I hover over the buttons is missing the URL parameters (which might be the cause it's not working). What could I be doing wrong, or is it still too early for this to work? How can I debug this?
  2. In the new SPFx O365Connectors webpart the HTTP Post actions are missing completely. The rest of the message is shown correctly. Are HTTP Post actions not supported yet? Or will they not be supported at all? Or is something wrong with what I'm doing..? Perhaps the originator ID I've created is not valid for this scenario (when you created the form asks for the email address you'll be sending the message from)..?
1 Reply

@Jurgen Wiersema 

I know this reply comes a long time the original post, but it seems that you ran into a problem that I was about to create for myself.

 

This is from the Actionable Messages documentation, "Office connectors and Microsoft Teams connectors do not currently support the Adaptive Card format."
(Source: https://docs.microsoft.com/en-us/outlook/actionable-messages/adaptive-card)

 

That didn't seem to make much sense, that's why I came here to see if anyone else had the same question or had Actionable Cards working with Office/Teams connectors despite the documentation.