Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to post an adaptive card to Microsoft Teams?

Lukas16
Tera Contributor

Hey guys,

I'd like to post a message in form of a customized card to a specific MS Teams channel whenever a knowledge article is created/updated. I tried doing so in flow designer/integrationhub (starter package/MS Teams spoke) using a webhook url.

find_real_file.png

Here I can only send a simple text message to MS Teams though.

Now I'm kind of stuck since I'm relatively new to ServiceNow. Can I somehow modify the "message" field to send a JSON object to the webhook url resulting in an adaptive card?

Any ideas how to accomplish this matter?

Thanks in advance!

Lukas

5 REPLIES 5

Ankita Sarkar
Tera Guru

Hi,

I am looking into a similar requirement. Can anyone please suggest like how we can capture the data from Teams to ServiceNow. For example: When you are adding a comment in the Knowledge article getting displayed in Teams, that comment needs to get added at Knowledge article in ServiceNow.

Any suggestions would help. Thanks in advance!