N
Novu4mo ago
jvinga

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
Pawan Jain
Pawan Jain4mo ago
@jvinga I see this doc link is of outlook. How would it look like in MS Teams?
jvinga
jvinga4mo ago
It works
No description
jvinga
jvinga4mo ago
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?
Pawan Jain
Pawan Jain4mo ago
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
jvinga
jvinga4mo ago
Well the screenshot I sent you was generated by novu
livelockedchris
livelockedchris3mo ago
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?
jvinga
jvinga3mo ago
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.