N
Novu11mo 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 Jain11mo ago
@jvinga I see this doc link is of outlook. How would it look like in MS Teams?
jvinga
jvingaOP11mo ago
It works
No description
jvinga
jvingaOP11mo 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 Jain11mo 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
jvingaOP11mo ago
Well the screenshot I sent you was generated by novu
livelockedchris
livelockedchris10mo 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
jvingaOP10mo 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.
Want results from more Discord servers?
Add your server