You can configure webhooks to communicate between systems when an event occurs.
To create a webhook in Microsoft Teams, perform the following steps:
1Go to Team > Manage team > Apps > Create an outgoing webhook.
The following image shows the steps to create an outgoing webhook in the Teams app:
2Enter the webhook name, the service URL that you get after publishing the process, and the description, and then click Create as shown in the following image:
The process is triggered by a message containing the @<Webhook_Name> in the Teams channel where the webhook is deployed as shown in the following image:
It converts the user input into a vector using the Gemini Embeddings action. This vector is then sent to Pinecone, which finds the best matches in the index vector collection based on the TopK value. The process returns an object with vectors, scores, and metadata. It filters the results using cutoff values and prepares a request to the Gemini LLM, providing context from the Pinecone database. The response is parsed, and the answer is posted back to the same Teams channel.