Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: add ms calendar #159

Merged
merged 3 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading