Notion

All-in-one workspace for notes, tasks, wikis and more

Integrate the Notion API with the Linear (API key) API

Setup the Notion API trigger to run a workflow which integrates with the Linear (API key) API. Pipedream's integration platform allows you to integrate Notion and Linear (API key) remarkably fast. Free for developers.

Append Block to Parent with Notion API on Issue Created (Instant) from Linear (API key) API
Linear (API key) + Notion
 
Try it
Append Block to Parent with Notion API on Issue Updated (Instant) from Linear (API key) API
Linear (API key) + Notion
 
Try it
Append Block to Parent with Notion API on New Created Comment (Instant) from Linear (API key) API
Linear (API key) + Notion
 
Try it
Create a Page with Notion API on Issue Created (Instant) from Linear (API key) API
Linear (API key) + Notion
 
Try it
Create a Page with Notion API on Issue Updated (Instant) from Linear (API key) API
Linear (API key) + Notion
 
Try it
New Created Comment (Instant) from the Linear (API key) API

Emit new event when a new comment is created. See the docs here

 
Try it
New Database from the Notion API

Emit new event when a database is created. Note: Databases must be shared with your Pipedream Integtration to trigger event.

 
Try it
New Created Issue (Instant) from the Linear (API key) API

Emit new event when a new issue is created. See the docs here

 
Try it
New Page in Database from the Notion API

Emit new event when a page in a database is created

 
Try it
New Updated Issue (Instant) from the Linear (API key) API

Emit new event when an issue is updated. See the docs here

 
Try it
Append Block to Parent with the Notion API

Creates and appends new blocks to the specified parent. See the docs

 
Try it
Create Issue with the Linear (API key) API

Create an issue (API Key). See the docs here

 
Try it
Create Page with the Notion API

Creates a page from a parent page. The only valid property is title. See the docs

 
Try it
Get Issue with the Linear (API key) API

Get an issue by ID (API Key). See the docs here

 
Try it
Create Page from Database with the Notion API

Creates a page from a database. See the docs

 
Try it

Connect Notion

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    notion: {
      type: "app",
      app: "notion",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.notion.com/v1/users/me`,
      headers: {
        Authorization: `Bearer ${this.notion.$auth.oauth_access_token}`,
        "Notion-Version": `2021-08-16`,
      },
    })
  },
})

Connect Linear (API key)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    linear_app: {
      type: "app",
      app: "linear_app",
    }
  },
  async run({steps, $}) {
    const data = {
      "query": `{ 
        user(id: "me") {
          id
          name
        }
      }`,
    }
    return await axios($, {
      method: "post",
      url: `https://api.linear.app/graphql`,
      headers: {
        "Authorization": `${this.linear_app.$auth.api_key}`,
      },
      data,
    })
  },
})