Go

Anything you can do in Go, you can do in a Pipedream Workflow. You can use any of Go packages available with a simple import.

Integrate the Go API with the Notion API

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

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Run Go Code with Go API on New Comment Created from Notion API
Notion + Go
 
Try it
Run Go Code with Go API on New Database from Notion API
Notion + Go
 
Try it
Run Go Code with Go API on New Page from Notion API
Notion + Go
 
Try it
Run Go Code with Go API on Page or Subpage Updated from Notion API
Notion + Go
 
Try it
Run Go Code with Go API on Updated Page from Notion API
Notion + Go
 
Try it
New Comment Created from the Notion API

Emit new event when a new comment is created in a page or block. See the documentation

 
Try it
New Database Created from the Notion API

Emit new event when a database is created. See the documentation

 
Try it
New or Updated Page in Database from the Notion API

Emit new event when a page is created or updated in the selected database. See the documentation

 
Try it
New Page in Database from the Notion API

Emit new event when a page is created in the selected database. See the documentation

 
Try it
Page or Subpage Updated from the Notion API

Emit new event when the selected page or one of its sub-pages is updated. See the documentation

 
Try it
Run Go Code with the Go API

Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.

 
Try it
Append Block to Parent with the Notion API

Append new and/or existing blocks to the specified parent. See the documentation

 
Try it
Create Comment with the Notion API

Create a comment in a page or existing discussion thread. See the documentation

 
Try it
Create Page with the Notion API

Create a page from a parent page. See the documentation

 
Try it
Create Page from Database with the Notion API

Create a page from a database. See the documentation

 
Try it

Overview of Go

You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.

Connect Go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	"fmt"

	pd "github.com/PipedreamHQ/pipedream-go"
)

func main() {
	// Access previous step data using pd.Steps
	fmt.Println(pd.Steps)

	// Export data using pd.Export
	data := make(map[string]interface{})
	data["name"] = "Luke"
	pd.Export("data", data)
}

Overview of Notion

Notion's API allows for the creation, reading, updating, and deleting of pages, databases, and their contents within Notion. Using Pipedream's platform, you can build workflows that connect Notion with various other services to automate tasks such as content management, task tracking, and data synchronization. With Pipedream's serverless execution, you can trigger these workflows on a schedule, or by external events from other services, without managing any infrastructure.

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`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo