MS Team notification input value substitution
I was trying to create a notification in MS Teams that could send a string to a url through an api call. In MS documentation it uses {{}} to refer to that input id and value (ie: {{comment.value}} where "comment" is the Id of the input.
How can I make it work with Novu? It would be really amazing to have this to work
link to the MS doc: https://learn.microsoft.com/en-us/outlook/actionable-messages/message-card-reference#input-value-substitution
Legacy actionable message card reference - Outlook Developer
Learn about the available fields for actionable message cards and design guidelines for creating an effective card.
7 Replies
@jvinga I see this doc link is of outlook.
How would it look like in MS Teams?
It works
like the adaptative card documentation, I tried to use the adaptative card but seems not to be working
it would be great to know what endpoint you are using to create notifications on microsoft?
Thanks for sharing the adaptive card example
Checkout the code for ms teams provider
https://github.com/novuhq/novu/blob/next/providers/ms-teams/src/lib/msTeams.provider.ts#L25
Currently we don't support rich formatting and adaptive cards for ms teams
Could you please help us in adding as feedback to our roadmap so that we can include this?
https://roadmap.novu.co/roadmap
Well the screenshot I sent you was generated by novu
Sorry to resurrect this...but can you explain how you got this to work? The Novu UI won't accept the json, did you trigger the trigger programatically? How did you setup the Chat step on the workflow?
why dont accept the JSON ? https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=cURL It should work, make sure it's message cards
Create and send messages - Teams
Create actionable messages, send message through Incoming Webhook, connectors for Microsoft 365 Groups, cURL, or PowerShell. Send Adaptive Cards. Time based transaction.