Skip to content

Commit

Permalink
Merge pull request #159 from superfaceai/update/ms-calendar
Browse files Browse the repository at this point in the history
update: add ms calendar
  • Loading branch information
martyndavies authored Feb 21, 2024
2 parents f6d0afe + 8d89028 commit a61c742
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 3 deletions.
38 changes: 38 additions & 0 deletions docs/tools/microsoft-calendar.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Microsoft Calendar

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

- Create a new event in a user's calendar or the default calendar of a Microsoft 365 group.
- Update the properties of an event object in Microsoft Calendar.
- Retrieve a list of events in the user's mailbox, including single instance meetings and event series.
- Retrieve the properties and relationships of a specified event object. Returns event data in HTML format and supports extensions for custom properties.
- This action allows the organizer of a meeting to send a cancellation message and cancel the event.

## Requirements

You will need a [Microsoft 365](https://www.microsoft.com/microsoft-365) account.

## Authentication

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

![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 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:

- What's on my calendar today?
- Create a new meeting called 'Team Meeting' on Friday at 11am
6 changes: 3 additions & 3 deletions docs/tools/microsoft-teams.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ The Microsoft Teams tool for Superface allows you to quickly add the following c

## Requirements

You will need a [Microsoft Teams](https://slack.com) account.
You will need a [Microsoft Teams](https://www.microsoft.com/en-us/microsoft-teams/group-chat-software) 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.
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 tool config.

![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.
After this you will be returned to the tool configuration page.

:::note Import your schema

Expand Down
1 change: 1 addition & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ module.exports = {
'tools/infobip',
'tools/jira',
'tools/marketstack',
'tools/microsoft-calendar',
'tools/microsoft-teams',
'tools/notion',
'tools/open-weather-map',
Expand Down

0 comments on commit a61c742

Please sign in to comment.