with WaiverFile and DigitalOcean Spaces?
Emit new event when an existing event in WaiverFile is edited. See the documentation
Emit new event when a file is deleted from a DigitalOcean Spaces bucket
Emit new event when a new event is created in Waiverfile. See the documentation
Emit new event each time a new waiver is collected in WaiverFile. See the documentation
Emit new event when a file is uploaded to a DigitalOcean Spaces bucket
Creates a new event category in WaiverFile. See the documentation
Searches for waivers in WaiverFile based on specific keywords. See the documentation
Accepts a file path starting from /tmp, then uploads as a file to DigitalOcean Spaces. See the docs
With the WaiverFile API, you can automate interactions with your WaiverFile account directly from Pipedream. This API provides access to manage and retrieve waivers, customer data, and events, allowing you to integrate WaiverFile with other services for streamlined workflows. You could automate the sending of waiver links, synchronize signed waivers with a database, or trigger actions based on waiver completions. The flexibility of the WaiverFile API means you can create powerful automations tailored to your business needs on Pipedream's serverless platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
waiverfile: {
type: "app",
app: "waiverfile",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.waiverfile.com/api/v1/GetSiteDetails`,
headers: {
"Accept": `application/json`,
},
params: {
apiKey: `${this.waiverfile.$auth.site_key}`,
siteID: `${this.waiverfile.$auth.site_id}`,
},
})
},
})
DigitalOcean Spaces API permits you to manage object storage, allowing for the storage and serving of massive amounts of data. This API is great for backing up, archiving, and providing public access to data or assets. On Pipedream, you can use this API to automate file operations like uploads, downloads, and deletions, as well as manage permissions and metadata. You can integrate it with other services for end-to-end workflow automation.
import { S3 } from "@aws-sdk/client-s3";
import { ListBucketsCommand } from "@aws-sdk/client-s3";
export default defineComponent({
props: {
digitalocean_spaces: {
type: "app",
app: "digitalocean_spaces"
}
},
async run({ steps, $ }) {
console.log(this.digitalocean_spaces.$auth)
const s3Client = new S3({
forcePathStyle: false, // Configures to use subdomain/virtual calling format.
endpoint: `https://${this.digitalocean_spaces.$auth.region}.digitaloceanspaces.com`,
region: "us-east-1",
credentials: {
accessKeyId: this.digitalocean_spaces.$auth.key,
secretAccessKey: this.digitalocean_spaces.$auth.secret
}
});
const data = await s3Client.send(new ListBucketsCommand({}));
return data.Buckets;
},
})