Skip to content

Commit

Permalink
docs: add google forms connection and triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
ridvanakca committed Mar 24, 2023
1 parent 6ad13c1 commit d4c73a8
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/docs/pages/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
28 changes: 28 additions & 0 deletions packages/docs/pages/apps/google-forms/connection.md
Original file line number Diff line number Diff line change
@@ -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.
12 changes: 12 additions & 0 deletions packages/docs/pages/apps/google-forms/triggers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
favicon: /favicons/google-forms.svg
items:
- name: New Form Responses
desc: Triggers when a new form response is submitted
---

<script setup>
import CustomListing from '../../components/CustomListing.vue'
</script>

<CustomListing />
1 change: 1 addition & 0 deletions packages/docs/pages/guide/available-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
41 changes: 41 additions & 0 deletions packages/docs/pages/public/favicons/google-forms.svg
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 d4c73a8

Please sign in to comment.