MS Teams Chat box

I want to build a chat box that uses a Microsoft Teams account as the channel to receive messages from users. These messages will serve as the input for an AI Agent node, which will then generate a response and send it back to the user who sent the original message.
How can I use the team trigger for message?