Skip to content

Commit

Permalink
Merge pull request #151 from superfaceai/update/ms-teams
Browse files Browse the repository at this point in the history
Add Microsoft teams tool guide
  • Loading branch information
martyndavies authored Jan 29, 2024
2 parents 2c137ff + 6a13e7f commit acb282e
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
35 changes: 35 additions & 0 deletions docs/tools/microsoft-teams.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Microsoft Teams

The Microsoft Teams tool for Superface allows you to quickly add the following capabilities:

- Send a message to a specific chat.
- Retrieve the list of messages in a chat.
- Retrieve the list of chats that the user is part of.

## Requirements

You will need a [Microsoft Teams](https://slack.com) account.

## Authentication

Superface connects to Microsoft Teams using OAuth. To connect your account, click on the _Sign in with Microsoft_ button in the Security section of the Slack tool.

![Sign in with Microsoft button](/img/tools/tools-msteams-signin.png)

You will be redirected to Microsoft to authorize the connection.

![The Microsoft sign in flow](/img/tools/tools-msteams-login.png)

After this you will be returned to the Slack tool configuration page.

:::note Import your schema

Remember to re-import the schema in your GPT to update it with the new capabilities added by this tool.

:::

## Example prompts

To test that everything is working as it should be, from your GPT or the Superface Agent you can try asking:

- Show me a list of chats
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ module.exports = {
'tools/infobip',
'tools/jira',
'tools/marketstack',
'tools/microsoft-teams',
'tools/notion',
'tools/open-weather-map',
'tools/pipedrive',
Expand Down
Binary file added static/img/tools/tools-msteams-login.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/tools/tools-msteams-signin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit acb282e

Please sign in to comment.