Skip to content

Commit 42c864b

Browse files
authored
Notion integration and Ahrefs fix (windmill-labs#586)
* Notion integration and Ahrefs fix * Video on Youtube
1 parent 633a003 commit 42c864b

File tree

19 files changed

+166
-18
lines changed

19 files changed

+166
-18
lines changed
339 KB
Loading

docs/integrations/0_integrations_on_windmill.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ On [self-hosted instances](../advanced/1_self_host/index.mdx), integrating OAuth
116116
| [MySQL](./mysql.md) | Open-source relational database management system |
117117
| [Neon.tech](./neon.md) | Open-source database management system |
118118
| [Nextcloud](./nextcloud.md) | Suite of client-server software for creating and using file hosting services |
119+
| [Notion](./notion.md) | Productivity and note-taking web application |
119120
| [OpenAI](./openai.md) | Artificial Inteligence service provider |
120121
| [PostgreSQL](./postgresql.md) | Open-source object-relational database management system |
121122
| [Raycast](./raycast.mdx) | Application launcher and productivity software developed for macOS |

docs/integrations/notion.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Notion Integration
2+
3+
[Notion](https://www.notion.so/) is a productivity and note-taking web application.
4+
5+
To integrate Notion to Windmill, you need to save a [token](https://developers.notion.com/reference/create-a-token) within a Notion [resource](../core_concepts/3_resources_and_types/index.mdx).
6+
7+
![Add Notion Resource](../assets/integrations/add-notion.png "Add Notion Resource")
8+
9+
To create a token, on Notion go to the [My integrations](https://www.notion.so/my-integrations) page, create a new integration and associate it with the proper workspace.
10+
11+
Do not forget to "Connect to" Windmill the page (and therefore subpages) for which you want Windmill to have access to.
12+
13+
<iframe
14+
style={{ aspectRatio: '16/9' }}
15+
src="https://www.youtube.com/embed/J4bUqscEGsU?vq=hd1080"
16+
title="Notion Integration"
17+
frameBorder="0"
18+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
19+
allowFullScreen
20+
className="border-2 rounded-xl object-cover w-full dark:border-gray-800"
21+
></iframe>
22+
23+
<br/>
24+
25+
Your resource can then be used [passed as parameters](../core_concepts/3_resources_and_types/index.mdx#passing-resources-as-parameters-to-scripts-preferred) or [directly fetched](../core_concepts/3_resources_and_types/index.mdx#fetching-them-from-within-a-script-by-using-the-wmill-client-in-the-respective-language) within [scripts](../script_editor/index.mdx), [flows](../flows/1_flow_editor.mdx) and [apps](../apps/0_app_editor/index.mdx).
26+
27+
<video
28+
className="border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
29+
controls
30+
src="/videos/add_resources_variables.mp4"
31+
/>
32+
33+
<br/>
34+
35+
:::tip
36+
37+
Find some pre-set interactions with Notion on the [Hub](https://hub.windmill.dev/integrations/notion).
38+
39+
Feel free to create your own Notion scripts on [Windmill](../getting_started/00_how_to_use_windmill/index.mdx).
40+
41+
:::

docs/integrations/stripe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
To integrate Stripe to Windmill, you need to save the following elements as a [resource](../core_concepts/3_resources_and_types/index.mdx).
66

7-
![Add Stripe Resource](../assets/integrations/add-stripe.png.webp)
7+
![Add Stripe Resource](../assets/integrations/add-stripe.png.webp "Add Stripe Resource")
88

99
| Property | Type | Description | Required | Where to find |
1010
| -------- | ------ | ----------- | -------- | -------------------------------------------------------- |

docs/integrations/telegram.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
To integrate Telegram to Windmill, you need to save the following elements as a [resource](../core_concepts/3_resources_and_types/index.mdx).
66

7-
![Add Stripe Resource](../assets/integrations/add-telegram.png.webp)
7+
![Add Telegram Resource](../assets/integrations/add-telegram.png.webp "Add Telegram Resource")
88

99
| Property | Type | Description | Required | Where to find |
1010
| -------- | ------ | ------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

sidebars.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,11 @@ const sidebars = {
655655
id: 'integrations/nextcloud',
656656
label: 'Nextcloud'
657657
},
658+
{
659+
type: 'doc',
660+
id: 'integrations/notion',
661+
label: 'Notion'
662+
},
658663
{
659664
type: 'doc',
660665
id: 'integrations/openai',

src/components/Solutions.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,14 @@ export default function Solution({
9191
color,
9292
extraBlock,
9393
website,
94+
docs
9495
}: {
9596
data: any;
9697
name: string;
9798
color: string;
9899
extraBlock?: React.ReactNode;
99100
website: string;
101+
docs: string;
100102
}) {
101103
return (
102104
<LayoutProvider>
@@ -146,9 +148,11 @@ export default function Solution({
146148
</a>
147149
<a
148150
type="button"
149-
href={`/docs/integrations/${name.toLowerCase()}`}
151+
href={`${
152+
typeof docs !== 'undefined' ? `/docs/integrations/${docs.toLowerCase()}` : `/docs/integrations/${name.toLowerCase()}`
153+
}`}
150154
target="_blank"
151-
className="flex items-center gap-2 rounded-md bg-blue-50 px-4 py-2 text-sm font-semibold text-gray-900 hover:text-gray-900 hover:bg-blue-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 "
155+
className="flex items-center gap-2 rounded-md bg-blue-50 px-4 py-2 text-sm font-semibold text-gray-900 hover:text-gray-900 hover:bg-blue-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2"
152156
>
153157
Documentation
154158
<ArrowRight className="" aria-hidden="true" />

src/landing/Footer.jsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,16 @@ const navigation = [
3232
},
3333
{
3434
items: [
35-
{ name: 'Careers', href: '/careers' },
35+
{ name: 'Jobs', href: 'https://www.ycombinator.com/companies/windmill/jobs' },
3636
{ name: 'Brand', href: '/brand' }
3737
],
3838
title: 'Company'
3939
},
4040
{
4141
items: [
4242
{ name: 'Discord', href: 'https://discord.gg/aT3NhuxSK4' },
43-
{ name: 'GitHub Issues', href: '' },
43+
{ name: 'GitHub Issues', href: 'https://github.com/windmill-labs/windmill/issues' },
4444
{ name: 'OpenAPI', href: 'https://app.windmill.dev/openapi.html#/' },
45-
{ name: 'Open Source', href: '' }
4645
],
4746
title: 'Help & Support'
4847
},

src/pages/integrations/airtable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function Content() {
2727
<span style={{ color }}>{name}</span>
2828
</strong>
2929
</a>{' '}
30-
is a comprehensive inbound marketing, sales, and CRM platform.
30+
is a cloud platform to create and manage databases.
3131
</p>
3232
<p>
3333
Connecting <a href="/">
@@ -43,7 +43,7 @@ export default function Content() {
4343
</p>
4444
</div>
4545
),
46-
integrations_sub_title: `Write any script, flow or app targeting ${name} API, or pick them from WindmillHub community library. Windmill supports scripts in TypeScript, Python, Go, Bash and SQL.`,
46+
integrations_sub_title: `Write any script, flow or app targeting ${name} API, or pick them from Windmill Hub community library. Windmill supports scripts in TypeScript, Python, Go, Bash and SQL.`,
4747
hubIntegrations: [
4848
{
4949
title: 'Create Single Record',

src/pages/integrations/discord.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function Discord() {
4343
</p>
4444
</div>
4545
),
46-
integrations_sub_title: `Write any script, flow or app targeting ${name} API, or pick them from WindmillHub community library. Windmill supports scripts in TypeScript, Python, Go, Bash and SQL.`,
46+
integrations_sub_title: `Write any script, flow or app targeting ${name} API, or pick them from Windmill Hub community library. Windmill supports scripts in TypeScript, Python, Go, Bash and SQL.`,
4747
hubIntegrations: [
4848
{
4949
title: 'Send a message using webhook',

0 commit comments

Comments
 (0)