with GetAccept and Zip Archive API?
Create a new contact in the database for the current entity See the documentation
Compress files provided through URLs into a zip folder. See the documentation
Create a document to be able to send it to a recipient. See the documentation
The GetAccept API offers a suite of capabilities for automating and enhancing document workflow and e-signature processes. Within Pipedream's serverless environment, you can leverage the GetAccept API to create documents, send them for e-signature, track their status, and manage recipients. By integrating GetAccept with other apps on Pipedream, you can build powerful workflows to streamline how your business handles agreements, sales proposals, and contracts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
getaccept: {
type: "app",
app: "getaccept",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getaccept.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.getaccept.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})
The Zip Archive API allows you to manage zip archives programmatically. You can create, extract, and modify zip files, making it ideal for automating routine file management tasks. Integrating this API with Pipedream enables you to automate workflows that involve file compression or decompression, combine it with triggers from other apps, and process large batches of files efficiently, saving time and reducing manual effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zip_archive_api: {
type: "app",
app: "zip_archive_api",
}
},
async run({steps, $}) {
const data = {
"file": `https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-zip-file.zip`,
}
return await axios($, {
method: "post",
url: `https://api.archiveapi.com/extract`,
headers: {
"Accept": `text/plain`,
},
params: {
secret: `${this.zip_archive_api.$auth.secret}`,
},
data,
})
},
})