Skip to main content

Hello,

I'm busy for a few days to change the adaptive card in MS Teams, via the Fresh workflows I'm using the app “Post message trough Power Automate”:

 

Via MS Power Automate it will send a card to my Teams channel, but my subject or other values are not completely visible. See my example;

 

Does anyone have any ideas how I can fix this?

Hi Jeroen,

I’ve just been hitting the same issue myself - did you manage to find a solution?


hello


For anyone else coming across this, I resolved the issue by expanding the “Post card in a chat or channel” section in the Teams workflows editor and editing the Adaptive card field.  Remove the “content” dynamic object that is there by default and add this code instead:

 

{
    "type": "AdaptiveCard",
    "body":
        {
            "type": "TextBlock",
            "text": "@{triggerOutputs()?'body/attachments']O0]p'content']d'body']h0]n'text']}",
            "wrap": true,
            "maxLines": 0
        }
    ],
    "version": "1.2"
}

 

This will give a simple card containing the output from FreshService and wrap the text correctly in the box.


Hello @jeroen.heijboer - I see you’ve marked this under the Freshdesk forum. I’m moving it to the Freshservice forum so you can get the right help. Thanks for your insights @philip.gardham! Has this been resolved @jeroen.heijboer ? I am also tagging @Daniel Söderlund if he has any further inputs to share!