Box

Platform for secure content management, workflow, and collaboration

Integrate the Box API with the Go API

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

Run Go Code with Go API on New Event from Box API
Box + Go
 
Try it
Run Go Code with Go API on New File Event from Box API
Box + Go
 
Try it
Run Go Code with Go API on New Folder Event from Box API
Box + Go
 
Try it
New Event from the Box API

Emit new event when an event with subscribed event source triggered on a target. See the documentation

 
Try it
New File Event from the Box API

Emit new event when a new file uploaded on a target. See the documentation

 
Try it
New Folder Event from the Box API

Emit new event when a new folder created on a target. See the documentation

 
Try it
Download File with the Box API

Downloads a file from Box to your workflow's /tmp directory. 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
Search Content with the Box API

Searches for files, folders, web links, and shared files across the users content or across the entire enterprise. See the documentation.

 
Try it
Upload a File with the Box API

Uploads a small file to Box. See the documentation.

 
Try it
Upload File Version with the Box API

Update a file's content. See the documentation.

 
Try it

Overview of Box

The Box API offers a playground for enhancing content management and collaboration within your cloud storage. With Pipedream, you can orchestrate Box's functionality to automate document handling, streamline approval flows, sync files across apps, and trigger actions based on file events. Think of Pipedream as the glue that allows you to connect Box with your tech stack, triggering workflows with new file uploads, comments, or when sharing settings change, to enhance productivity and minimize manual labor.

Connect Box

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

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