with Google Drive and Paazl?
Emit new event when a change is made to one of the specified files. See the documentation
Watches for changes to specific files, emitting an event when a change is made to one of those files. To watch for changes to shared drive files, use the Changes to Specific Files (Shared Drive) source instead.
Watches for changes to specific files in a shared drive, emitting an event when a change is made to one of those files
Emit new event when a new access proposal is requested in Google Drive
Emit new event when a new file is added in your linked Google Drive
Add an unanchored comment to a Google Doc (general feedback, no text highlighting). See the documentation
Returns an access token for a checkout session. This enables the Paazl checkout widget to access Paazl resources. See the documentation
Generates a shipment at the carrier for the shipping option specified in POST order. See the documentation
Gets your reference for a checkout session. See the documentation
The Google Drive API on Pipedream allows you to automate various file management tasks, such as creating, reading, updating, and deleting files within your Google Drive. You can also share files, manage permissions, and monitor changes to files and folders. This opens up possibilities for creating workflows that seamlessly integrate with other apps and services, streamlining document handling, backup processes, and collaborative workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_drive: {
type: "app",
app: "google_drive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/drive/v3/about?fields=user`,
headers: {
Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paazl: {
type: "app",
app: "paazl",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.paazl.$auth.environment}/v1/checkout`,
headers: {
Authorization: `Bearer ${this.paazl.$auth.api_key}:${this.paazl.$auth.api_secret}`,
},
params: {
reference: `${this.paazl.$auth.reference}`,
},
})
},
})