From d4c73a8b489143979010b4bb47a40c094d43c04f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C4=B1dvan=20Akca?= Date: Fri, 24 Mar 2023 17:21:55 +0300 Subject: [PATCH] docs: add google forms connection and triggers --- packages/docs/pages/.vitepress/config.js | 9 ++++ .../pages/apps/google-forms/connection.md | 28 +++++++++++++ .../docs/pages/apps/google-forms/triggers.md | 12 ++++++ packages/docs/pages/guide/available-apps.md | 1 + .../pages/public/favicons/google-forms.svg | 41 +++++++++++++++++++ 5 files changed, 91 insertions(+) create mode 100644 packages/docs/pages/apps/google-forms/connection.md create mode 100644 packages/docs/pages/apps/google-forms/triggers.md create mode 100644 packages/docs/pages/public/favicons/google-forms.svg diff --git a/packages/docs/pages/.vitepress/config.js b/packages/docs/pages/.vitepress/config.js index e2eeef3ecf..dba1e89c6f 100644 --- a/packages/docs/pages/.vitepress/config.js +++ b/packages/docs/pages/.vitepress/config.js @@ -78,6 +78,15 @@ export default defineConfig({ { text: 'Connection', link: '/apps/github/connection' }, ], }, + { + text: 'Google Forms', + collapsible: true, + collapsed: true, + items: [ + { text: 'Triggers', link: '/apps/google-forms/triggers' }, + { text: 'Connection', link: '/apps/google-forms/connection' }, + ], + }, { text: 'HTTP Request', collapsible: true, diff --git a/packages/docs/pages/apps/google-forms/connection.md b/packages/docs/pages/apps/google-forms/connection.md new file mode 100644 index 0000000000..cb27efa9af --- /dev/null +++ b/packages/docs/pages/apps/google-forms/connection.md @@ -0,0 +1,28 @@ +# Google Forms + +:::info +This page explains the steps you need to follow to set up the Google Forms +connection in Automatisch. If any of the steps are outdated, please let us know! +::: + +1. Go to the [Google Cloud Console](https://console.cloud.google.com) to create a project. +2. Click on the project drop-down menu at the top of the page, and click on the **New Project** button. +3. Enter a name for your project and click on the **Create** button. +4. Go to [API Library](https://console.cloud.google.com/apis/library) in Google Cloud console. +5. Search for **People API** in the search bar and click on it. +6. Click on the **Enable** button to enable the API. +7. Repeat steps 5 and 6 for the **Google Forms API** +8. Go to [OAuth consent screen](https://console.cloud.google.com/apis/credentials/consent) in Google Cloud console. +9. Select "External" if you want to create a public application, or "Internal" if you want to create an application for your organization. Click on the **Create** button. +10. Fill **App Name**, **User Support Email**, and **Developer Contact Information**. Click on the **Save and Continue** button. +11. Skip adding or removing scopes and click on the **Save and Continue** button. +12. Click on the **Add Users** button and add a test email because only test users can access the app while publishing status is set to "Testing". +13. Click on the **Save and Continue** button and now you have configured the consent screen. +14. Go to [Credentials](https://console.cloud.google.com/apis/credentials) in Google Cloud console. +15. Click on the **Create Credentials** button and select the **OAuth client ID** option. +16. Select the application type as **Web application** and fill the **Name** field. +17. Copy **OAuth Redirect URL** from Automatisch to **Authorized redirect URIs** field, and click on the **Create** button. +18. Copy the **Your Client ID** value from the following popup to the `Client ID` field on Automatisch. +19. Copy the **Your Client Secret** value from the following popup to the `Client Secret` field on Automatisch. +20. Click **Submit** button on Automatisch. +21. Congrats! Start using your new Google Forms connection within the flows. diff --git a/packages/docs/pages/apps/google-forms/triggers.md b/packages/docs/pages/apps/google-forms/triggers.md new file mode 100644 index 0000000000..15bf440c69 --- /dev/null +++ b/packages/docs/pages/apps/google-forms/triggers.md @@ -0,0 +1,12 @@ +--- +favicon: /favicons/google-forms.svg +items: + - name: New Form Responses + desc: Triggers when a new form response is submitted +--- + + + + diff --git a/packages/docs/pages/guide/available-apps.md b/packages/docs/pages/guide/available-apps.md index e6e9759dab..e80cbb7dde 100644 --- a/packages/docs/pages/guide/available-apps.md +++ b/packages/docs/pages/guide/available-apps.md @@ -11,6 +11,7 @@ Following integrations are currently supported by Automatisch. - [Discord](/apps/discord/actions) - [Flickr](/apps/flickr/triggers) - [Github](/apps/github/triggers) +- [Google Forms](/apps/google-forms/triggers) - [HTTP Request](/apps/http-request/actions) - [Ntfy](/apps/ntfy/actions) - [OpenAI](/apps/openai/actions) diff --git a/packages/docs/pages/public/favicons/google-forms.svg b/packages/docs/pages/public/favicons/google-forms.svg new file mode 100644 index 0000000000..d1836fd0ef --- /dev/null +++ b/packages/docs/pages/public/favicons/google-forms.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + +