with Alchemy and Zip Archive API?
Emit new event when a new GraphQL query is uploaded to Alchemy's Custom Webhook service. See the documentation
Compress files provided through URLs into a zip folder. See the documentation
The Alchemy API provides a robust platform for sending and managing faxes programmatically, giving you the power to integrate fax capabilities into automated workflows. With Pipedream, you can tap into these capabilities to build event-driven serverless workflows. Automate the sending of faxes when certain triggers occur, receive status updates, and connect with countless other services to streamline document management, notifications, and data synchronization tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alchemy: {
type: "app",
app: "alchemy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.g.alchemy.com/prices/v1/${this.alchemy.$auth.api_key}/tokens/by-symbol?symbols=ETH`,
})
},
})
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,
})
},
})