Hi,
I have a requirement where I need to post an adaptive card to user on Teams chat (1:1) from a NodeJS application. The card needs to be posted based on some event occurrence in database.
I am aware of an alternative is using power automate flow with trigger when an http request is received, but that is not what we need.
What I have tried so far is:
- I tried graph APIs that could be used to send the adaptive card. But these could only be sent on user behalf. While we want to post it on application behalf or Workflow, similar to the way we get adaptive card in our Teams chat when we post it using Power Automate Flow. See snapshot below for reference

- Then I searched for any other way to post adaptive card using nodejs - it is possible in bot framework - but that is a platform where bot interacts with the user (as per my understanding, please let me know if this is doable without bot interaction). And during interaction between bot and the user, bot can send message in form of adaptive cards. But again, this is not what is required. We need to post it from NodeJS application based on some database condition/ event.
Kindly help.