docs: add google forms connection and triggers

This commit is contained in:
Rıdvan Akca
2023-03-24 17:21:55 +03:00
parent 6ad13c1da0
commit ddcb894932
5 changed files with 91 additions and 0 deletions

View File

@@ -78,6 +78,15 @@ export default defineConfig({
{ text: 'Connection', link: '/apps/github/connection' }, { 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', text: 'HTTP Request',
collapsible: true, collapsible: true,

View File

@@ -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** here for starting your app in testing mode at first. 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.

View File

@@ -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 />

View File

@@ -11,6 +11,7 @@ Following integrations are currently supported by Automatisch.
- [Discord](/apps/discord/actions) - [Discord](/apps/discord/actions)
- [Flickr](/apps/flickr/triggers) - [Flickr](/apps/flickr/triggers)
- [Github](/apps/github/triggers) - [Github](/apps/github/triggers)
- [Google Forms](/apps/google-forms/triggers)
- [HTTP Request](/apps/http-request/actions) - [HTTP Request](/apps/http-request/actions)
- [Ntfy](/apps/ntfy/actions) - [Ntfy](/apps/ntfy/actions)
- [OpenAI](/apps/openai/actions) - [OpenAI](/apps/openai/actions)

View File

@@ -0,0 +1,41 @@
<svg width="64" height="64" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 1904.8 2500" style="enable-background:new 0 0 1904.8 2500;" xml:space="preserve">
<style type="text/css">
.st0{fill:#673AB7;}
.st1{fill:#F1F1F1;}
.st2{fill:url(#SVGID_1_);}
.st3{fill:#B39DDB;}
.st4{fill:#FFFFFF;fill-opacity:0.2;}
.st5{fill:#311B92;fill-opacity:0.2;}
.st6{fill:#311B92;fill-opacity:0.1;}
.st7{fill:url(#SVGID_2_);}
</style>
<g>
<path class="st0" d="M1190.5,0H178.6C83.3,0,0,83.3,0,178.6v2142.9c0,95.2,83.3,178.6,178.6,178.6h1547.6
c95.2,0,178.6-83.3,178.6-178.6V714.3l-416.7-297.6L1190.5,0z"/>
<path class="st1" d="M714.3,1845.2h714.3v-119H714.3V1845.2z M714.3,1071.4v119h714.3v-119H714.3z M607.1,1131
c0,47.6-35.7,95.2-95.2,95.2s-95.2-35.7-95.2-95.2c0-59.5,35.7-95.2,95.2-95.2S607.1,1083.3,607.1,1131z M607.1,1464.3
c0,47.6-35.7,95.2-95.2,95.2s-95.2-35.7-95.2-95.2c0-59.5,35.7-95.2,95.2-95.2S607.1,1416.7,607.1,1464.3z M607.1,1785.7
c0,47.6-35.7,95.2-95.2,95.2s-95.2-35.7-95.2-95.2c0-59.5,35.7-95.2,95.2-95.2S607.1,1738.1,607.1,1785.7z M714.3,1547.6h714.3
v-119.1H714.3L714.3,1547.6L714.3,1547.6z"/>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="122.5479" y1="1635.2429" x2="122.5479" y2="1634.3186" gradientTransform="matrix(666.67 0 0 -654.7559 -80127.6016 1071403.75)">
<stop offset="0" style="stop-color:#311B92;stop-opacity:0.2"/>
<stop offset="1" style="stop-color:#311B92;stop-opacity:2.000000e-02"/>
</linearGradient>
<path class="st2" d="M1238.1,666.7l666.7,654.8V714.3L1238.1,666.7z"/>
<path class="st3" d="M1190.5,0v535.7c0,95.2,83.3,178.6,178.6,178.6h535.7L1190.5,0z"/>
<path class="st4" d="M178.6,0C83.3,0,0,83.3,0,178.6v11.9C0,95.2,83.3,11.9,178.6,11.9h1011.9V0H178.6L178.6,0z"/>
<path class="st5" d="M1726.2,2488.1H178.6C83.3,2488.1,0,2404.8,0,2309.5v11.9c0,95.2,83.3,178.6,178.6,178.6h1547.6
c95.2,0,178.6-83.3,178.6-178.6v-11.9C1904.8,2404.8,1821.4,2488.1,1726.2,2488.1z"/>
<path class="st6" d="M1369,714.3c-95.2,0-178.6-83.3-178.6-178.6v11.9c0,95.2,83.3,178.6,178.6,178.6h535.7v-11.9L1369,714.3
L1369,714.3z"/>
<radialGradient id="SVGID_2_" cx="122.6324" cy="1634.4275" r="12.899" gradientTransform="matrix(1904.7655 0 0 -1904.75 -233525.7031 3113242.5)" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0.1"/>
<stop offset="1" style="stop-color:#FFFFFF;stop-opacity:0"/>
</radialGradient>
<path class="st7" d="M1190.5,0H178.6C83.3,0,0,83.3,0,178.6v2142.9c0,95.2,83.3,178.6,178.6,178.6h1547.6
c95.2,0,178.6-83.3,178.6-178.6V714.3L1190.5,0z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB