docs(typeform): Add connection and trigger pages

This commit is contained in:
Faruk AYDIN
2022-12-01 17:57:07 +01:00
parent 6faa45ac16
commit 57a23946cc
5 changed files with 54 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ export default defineTrigger({
name: 'New entry', name: 'New entry',
key: 'newEntry', key: 'newEntry',
type: 'webhook', type: 'webhook',
description: 'Triggers when a new form submitted.', description: 'Triggers when a new form is submitted.',
arguments: [ arguments: [
{ {
label: 'Form', label: 'Form',

View File

@@ -35,6 +35,7 @@ export default defineConfig({
{ {
text: 'DeepL', text: 'DeepL',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Actions', link: '/apps/deepl/actions' }, { text: 'Actions', link: '/apps/deepl/actions' },
{ text: 'Connection', link: '/apps/deepl/connection' }, { text: 'Connection', link: '/apps/deepl/connection' },
@@ -43,6 +44,7 @@ export default defineConfig({
{ {
text: 'Discord', text: 'Discord',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Actions', link: '/apps/discord/actions' }, { text: 'Actions', link: '/apps/discord/actions' },
{ text: 'Connection', link: '/apps/discord/connection' }, { text: 'Connection', link: '/apps/discord/connection' },
@@ -51,6 +53,7 @@ export default defineConfig({
{ {
text: 'Flickr', text: 'Flickr',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Triggers', link: '/apps/flickr/triggers' }, { text: 'Triggers', link: '/apps/flickr/triggers' },
{ text: 'Connection', link: '/apps/flickr/connection' }, { text: 'Connection', link: '/apps/flickr/connection' },
@@ -59,6 +62,7 @@ export default defineConfig({
{ {
text: 'Github', text: 'Github',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Triggers', link: '/apps/github/triggers' }, { text: 'Triggers', link: '/apps/github/triggers' },
{ text: 'Actions', link: '/apps/github/actions' }, { text: 'Actions', link: '/apps/github/actions' },
@@ -68,6 +72,7 @@ export default defineConfig({
{ {
text: 'RSS', text: 'RSS',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Triggers', link: '/apps/rss/triggers' }, { text: 'Triggers', link: '/apps/rss/triggers' },
{ text: 'Connection', link: '/apps/rss/connection' }, { text: 'Connection', link: '/apps/rss/connection' },
@@ -76,6 +81,7 @@ export default defineConfig({
{ {
text: 'Salesforce', text: 'Salesforce',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Triggers', link: '/apps/salesforce/triggers' }, { text: 'Triggers', link: '/apps/salesforce/triggers' },
{ text: 'Connection', link: '/apps/salesforce/connection' }, { text: 'Connection', link: '/apps/salesforce/connection' },
@@ -84,6 +90,7 @@ export default defineConfig({
{ {
text: 'Scheduler', text: 'Scheduler',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Triggers', link: '/apps/scheduler/triggers' }, { text: 'Triggers', link: '/apps/scheduler/triggers' },
{ text: 'Connection', link: '/apps/scheduler/connection' }, { text: 'Connection', link: '/apps/scheduler/connection' },
@@ -92,6 +99,7 @@ export default defineConfig({
{ {
text: 'Slack', text: 'Slack',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Actions', link: '/apps/slack/actions' }, { text: 'Actions', link: '/apps/slack/actions' },
{ text: 'Connection', link: '/apps/slack/connection' }, { text: 'Connection', link: '/apps/slack/connection' },
@@ -100,6 +108,7 @@ export default defineConfig({
{ {
text: 'SMTP', text: 'SMTP',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Actions', link: '/apps/smtp/actions' }, { text: 'Actions', link: '/apps/smtp/actions' },
{ text: 'Connection', link: '/apps/smtp/connection' }, { text: 'Connection', link: '/apps/smtp/connection' },
@@ -108,6 +117,7 @@ export default defineConfig({
{ {
text: 'Stripe', text: 'Stripe',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Triggers', link: '/apps/stripe/triggers' }, { text: 'Triggers', link: '/apps/stripe/triggers' },
{ text: 'Connection', link: '/apps/stripe/connection' }, { text: 'Connection', link: '/apps/stripe/connection' },
@@ -116,6 +126,7 @@ export default defineConfig({
{ {
text: 'Twilio', text: 'Twilio',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Triggers', link: '/apps/twilio/triggers' }, { text: 'Triggers', link: '/apps/twilio/triggers' },
{ text: 'Actions', link: '/apps/twilio/actions' }, { text: 'Actions', link: '/apps/twilio/actions' },
@@ -125,12 +136,22 @@ export default defineConfig({
{ {
text: 'Twitter', text: 'Twitter',
collapsible: true, collapsible: true,
collapsed: true,
items: [ items: [
{ text: 'Triggers', link: '/apps/twitter/triggers' }, { text: 'Triggers', link: '/apps/twitter/triggers' },
{ text: 'Actions', link: '/apps/twitter/actions' }, { text: 'Actions', link: '/apps/twitter/actions' },
{ text: 'Connection', link: '/apps/twitter/connection' }, { text: 'Connection', link: '/apps/twitter/connection' },
], ],
}, },
{
text: 'Typeform',
collapsible: true,
collapsed: true,
items: [
{ text: 'Triggers', link: '/apps/typeform/triggers' },
{ text: 'Connection', link: '/apps/typeform/connection' },
],
},
], ],
'/': [ '/': [
{ {
@@ -281,8 +302,8 @@ export default defineConfig({
'data-domain': 'automatisch.io', 'data-domain': 'automatisch.io',
'data-api': 'https://automatisch.io/data/api/event', 'data-api': 'https://automatisch.io/data/api/event',
src: 'https://automatisch.io/data/js/script.js', src: 'https://automatisch.io/data/js/script.js',
} },
] ],
]; ];
}, },

View File

@@ -0,0 +1,14 @@
# Typeform
:::info
This page explains the steps you need to follow to set up the Typeform connection in Automatisch. If any of the steps are outdated, please let us know!
:::
1. Go to the [link](https://admin.typeform.com/user) and click on **Developer apps** in the sidebar.
2. Click on the **Register a new app** button.
3. Fill **App name** and **App website**, and **Developer email** fields.
4. Copy **OAuth Redirect URL** from Automatisch to **Redirect URI(s)** field on the Typeform page.
5. Click on the **Register app** button.
6. Copy **Client ID** and **Client Secret** values from Typeform to Automatisch.
7. Click **Submit** button on Automatisch.
8. Congrats! Typeform connection is created.

View File

@@ -0,0 +1,12 @@
---
favicon: /favicons/typeform.svg
items:
- name: New entry
desc: Triggers when a new form is submitted.
---
<script setup>
import CustomListing from '../../components/CustomListing.vue'
</script>
<CustomListing />

View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 245 55" width="100">
<title>Typeform</title>
<path d="M158.248 38.0664C153.148 38.0664 150.529 33.8672 150.529 28.7095C150.529 23.5519 153.102 19.5809 158.248 19.5809C163.486 19.5809 165.968 23.7344 165.968 28.7095C165.922 33.9585 163.303 38.0664 158.248 38.0664ZM108.348 19.5809C111.334 19.5809 112.575 21.3154 112.575 22.8216C112.575 26.473 108.853 28.0705 101.088 28.2988C101.088 23.7801 103.661 19.5809 108.348 19.5809ZM75.2644 38.0664C70.4398 38.0664 68.418 34.1411 68.418 28.7095C68.418 23.3237 70.4857 19.5809 75.2644 19.5809C80.135 19.5809 82.4325 23.4606 82.4325 28.7095C82.4325 34.1867 80.0431 38.0664 75.2644 38.0664ZM34.4617 14.2407H26.9261L39.4242 42.9046C37.0349 48.1992 35.7483 49.5228 34.0941 49.5228C32.3481 49.5228 30.6939 48.1079 29.4992 46.8755L26.1909 51.2573C28.4424 53.6307 31.521 55 34.6915 55C38.6431 55 41.6757 52.7178 43.4218 48.61L57.8498 14.195H50.452L42.9164 34.7344L34.4617 14.2407ZM234.064 19.5809C237.74 19.5809 238.475 22.0913 238.475 27.9793V43.4523H245V23.917C245 16.888 240.175 13.8299 235.718 13.8299C231.767 13.8299 228.137 16.2946 226.115 20.8589C224.966 16.4772 221.29 13.8299 217.017 13.8299C213.295 13.8299 209.573 16.2033 207.552 20.6307V14.2407H201.027V43.4066H207.552V30.9461C207.552 24.6473 210.86 19.5809 215.363 19.5809C219.039 19.5809 219.728 22.0913 219.728 27.9793V43.4523H226.253L226.207 30.9461C226.207 24.6473 229.561 19.5809 234.064 19.5809ZM182 14.2407H178.696V43.4066H185.22V32.2241C185.22 25.1494 188.345 20.3568 192.986 20.3568C194.18 20.3568 195.191 20.4025 196.294 20.8589L197.305 13.9668C196.478 13.8755 195.743 13.7842 195.007 13.7842C190.413 13.7842 187.104 16.9336 185.174 20.9959V14.2407H182ZM158.248 13.7842C149.61 13.7842 143.774 20.3568 143.774 28.6639C143.774 37.2905 149.702 43.7261 158.248 43.7261C166.933 43.7261 172.86 37.1079 172.86 28.6639C172.814 20.3112 166.795 13.7842 158.248 13.7842ZM108.715 38.0664C105.315 38.0664 102.788 36.332 101.731 32.8174C110.369 32.4523 118.824 30.3527 118.824 22.7303C118.824 18.3485 114.505 13.8299 108.302 13.8299C99.939 13.8299 94.2873 20.6307 94.2873 28.7095C94.2873 37.1535 99.8471 43.7718 108.164 43.7718C113.953 43.7718 117.629 41.444 120.524 38.0664L117.354 33.7759C113.999 37.1992 111.932 38.0664 108.715 38.0664ZM76.551 13.7842C73.2427 13.7842 69.9344 15.7012 68.6478 18.7137V14.2407H62.123V54.8631H68.6478V40.3485C70.0263 42.4481 73.1967 43.8174 75.9996 43.8174C84.684 43.8174 89.2789 37.3817 89.2789 28.7095C89.2329 20.1286 84.7299 13.7842 76.551 13.7842ZM30.7858 2.55602H0V8.90042H12.0386V43.4066H18.885V8.90042H30.7858V2.55602ZM127.784 14.2407H123.878V20.083H127.784V43.4066H134.309V20.083H140.65V14.2407H134.309V9.67635C134.309 6.75519 135.504 5.75104 138.215 5.75104C139.225 5.75104 140.144 6.0249 141.385 6.43568L142.855 0.958506C141.661 0.273859 139.271 0 137.709 0C131.46 0 127.784 3.74274 127.784 10.2241V14.2407Z" fill="#262627"/>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB