pCloud

Secure encrypted cloud storage

Integrate the pCloud API with the Bash API

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

Run Bash Code with Bash API on Watch Folder from pCloud API
pCloud + Bash
 
Try it
Watch Folder from the pCloud API

Emit new event when a file is created or modified in the specified folder.

 
Try it
Copy File with the pCloud API

Copy a file to the specified destination. See the docs here

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it
Copy Folder with the pCloud API

Copy a folder to the specified folder. See the docs here

 
Try it
Create Folder with the pCloud API

Create a folder in the specified folder. See the docs here

 
Try it
Download File(s) with the pCloud API

Download one or more files to a folder. See the docs here

 
Try it

Overview of pCloud

The pCloud API allows for direct interaction with your pCloud account, providing access to files and folders within your cloud storage. With Pipedream, you can automate file management tasks such as uploading, downloading, and synchronizing files. Additionally, you can create workflows to organize your cloud storage, share files with team members, or back up important data from various sources.

Connect pCloud

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: {
    pcloud: {
      type: "app",
      app: "pcloud",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://${this.pcloud.$auth.hostname}/userinfo`,
      headers: {
        Authorization: `Bearer ${this.pcloud.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS