diff --git a/packages/docs/pages/.vitepress/config.js b/packages/docs/pages/.vitepress/config.js index 905b7913..59965de5 100644 --- a/packages/docs/pages/.vitepress/config.js +++ b/packages/docs/pages/.vitepress/config.js @@ -142,6 +142,15 @@ export default defineConfig({ { text: 'Connection', link: '/apps/http-request/connection' }, ], }, + { + text: 'Notion', + collapsible: true, + collapsed: true, + items: [ + { text: 'Triggers', link: '/apps/notion/triggers' }, + { text: 'Connection', link: '/apps/notion/connection' }, + ], + }, { text: 'Ntfy', collapsible: true, diff --git a/packages/docs/pages/apps/notion/connection.md b/packages/docs/pages/apps/notion/connection.md new file mode 100644 index 00000000..363b0c0a --- /dev/null +++ b/packages/docs/pages/apps/notion/connection.md @@ -0,0 +1,22 @@ +# Notion + +:::info +This page explains the steps you need to follow to set up the Notion +connection in Automatisch. If any of the steps are outdated, please let us know! +::: + +1. Go to the [link](https://www.notion.so/my-integrations) to **create an + integration** on Notion API. +1. Fill out the Name field. +1. Click on the **Submit** button. +1. Go to the **Capabilities** page via the sidebar. +1. Select the **Read user information without email addresses** option under the **User Capabilities** section and then save the changes. +1. Go to the **Distribution** page via the sidebar. +1. Make the integration public by enabling the checkbox. +1. Fill out the necessary fields under the **Organization Information** section. +1. Copy **OAuth Redirect URL** from Automatisch and paste it to the **Redirect URIs** field. +1. Click on the **Submit** button. +1. Accept making the integration public by clicking on the **Continue** button in the dialog. +1. Copy **OAuth client ID** and **OAuth client secret** values and paste them into Automatisch as **Client ID** and **Client Secret**, respectively. +1. Click **Submit** button on Automatisch. +1. Now, you can start using the Notion connection with Automatisch. diff --git a/packages/docs/pages/apps/notion/triggers.md b/packages/docs/pages/apps/notion/triggers.md new file mode 100644 index 00000000..91e33a0b --- /dev/null +++ b/packages/docs/pages/apps/notion/triggers.md @@ -0,0 +1,12 @@ +--- +favicon: /favicons/notion.svg +items: + - name: New database items + desc: Triggers when a new database item is created. +--- + + + + diff --git a/packages/docs/pages/guide/available-apps.md b/packages/docs/pages/guide/available-apps.md index 6d6a48ff..33bca253 100644 --- a/packages/docs/pages/guide/available-apps.md +++ b/packages/docs/pages/guide/available-apps.md @@ -18,6 +18,7 @@ Following integrations are currently supported by Automatisch. - [Google Forms](/apps/google-forms/triggers) - [Google Sheets](/apps/google-sheets/triggers) - [HTTP Request](/apps/http-request/actions) +- [Notion](/apps/notion/connection) - [Ntfy](/apps/ntfy/actions) - [OpenAI](/apps/openai/actions) - [PostgreSQL](/apps/postgresql/actions) diff --git a/packages/docs/pages/public/favicons/notion.svg b/packages/docs/pages/public/favicons/notion.svg new file mode 100644 index 00000000..ebcbe816 --- /dev/null +++ b/packages/docs/pages/public/favicons/notion.svg @@ -0,0 +1,7 @@ + + + + + + +