Platform for secure content management, workflow, and collaboration
Emit new event when an event with subscribed event source triggered on a target. See the documentation
Emit new event when a new file uploaded on a target. See the documentation
Emit new event when a new folder created on a target. See the documentation
Downloads a file from Box to your workflow's /tmp
directory. See the documentation
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
Searches for files, folders, web links, and shared files across the users content or across the entire enterprise. See the documentation.
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.
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}`,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}