Confection collects, stores, and distributes data in a way that's unaffected by client-side disruptions involving cookies, cross-domain scripts, and device IDs. It's also compliant with global privacy laws so it’s good for people too.
Watches for changes to specific files, emitting an event any time 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.
Emit new event when a UUID receives a value for the configured Event Name. The latest value as well a history of all values ever received for that Event Name will be returned.
Watches for changes to specific files in a shared drive, emitting an event any time a change is made to one of those files
Emit new event when the UUID is significant enough to be classified as a lead. You define the field of significance and if a UUID gets a value for this field, it will trigger.
Emit new event when any UUID is created or updated. To learn more about how Confection handles UUIDs, visit https://confection.io/main/demo/#uuid.
This action will retrieve the full details of a specified UUID.
Add a sharing permission to the sharing preferences of a file and provide a sharing URL. See the docs for more information
This action will retrieve all UUIDs that have a likeness score of at least 50 (default) with the provided UUID. The likeness score can be customized in configuration.
Create a copy of the specified file. See the docs for more information
Create a new file from a URL or /tmp/filepath. See the docs for more information
Confection is an API that enables you to easily create and manage serverless
functions. Using Confection, you can deploy your functions to any number of
providers, including AWS Lambda, Google Cloud Functions, and Azure Functions.
Confection also provides a convenient command-line interface, making it easy to
manage your functions from your terminal.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
confection: {
type: "app",
app: "confection",
}
},
async run({steps, $}) {
const data = {
"key": `${this.confection.$auth.secret_key}`,
}
return await axios($, {
url: `https://transmission.confection.io/${this.confection.$auth.account_id}/account/`,
data,
})
},
})
Using the Google Drive API, you can build applications that:
Google Advanced Protection Program must be disabled in order to use the Google Drive app on Pipedream.
If you encounter the error "Google cannot give this app access to your account data because Advanced Protection is turned on for your Google Account", you will need to disable this setting as it blocks third-party apps from accessing Google Drive.
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/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.google_drive.$auth.oauth_access_token}`,
},
})
},
})