title: How do I get notifications when a bot sends a message in Teams?
body: <p>I developed a bot for Microsoft Teams using the Microsoft Bot Framework v4 Nodejs SDK (botbuilder-sdk for nodejs). We have implemented the bot in such a way that, when we receive data using a REST API call from one of our CRMs, the data is posted to the channels on Microsoft Teams. However, when I do that, we do not receive a notification on the devices. Has anyone faced such an issue?</p>
  
  <p>I am saving the context state initially. Everytime we receive data from a CRM, I am incrementing the activity id of the message (to send it as a new message and not a reply) and sending it to Microsoft Teams using context.sendActivity(). </p>
  
  <p><a href="https://i.stack.imgur.com/AuigM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AuigM.png" alt="enter image description here"></a></p>
  
  <p>When we receive that adaptive card, we do not receive a notification in the activity feed or on any of the devices. </p>
  
  <p>I have gone through all the steps as you described above. I've also gone through the troubleshooting steps. However, it still doesn't give me a notification for the card. However, when I initiate a conversation with the bot, I get a notification when the bot responds. </p>
  
  <p><a href="https://i.stack.imgur.com/Bi4fc.png" rel="nofollow noreferrer">https://i.stack.imgur.com/Bi4fc.png</a></p>
  
  <p><a href="https://i.stack.imgur.com/ab6uP.png" rel="nofollow noreferrer">https://i.stack.imgur.com/ab6uP.png</a></p>
  
  <p>In this image, I get a notification when I get the TMS Bot started! message. However, I don't get a notification for the next two messages.</p>