with Webflow and ChatPDF?
Emit new event when a form is submitted. See the documentation
Emit new event when a collection item is created. See the documentation
Emit new event when a collection item is deleted. See the documentation
Emit new event when a collection item is changed. See the documentation
Emit new event when an e-commerce inventory level changes. See the documentation
Adds a PDF from a publicly accessible URL to ChatPDF, returning a source ID for interactions. See the documentation
Sends messages to interact with a specific PDF using its source ID. Can handle single or multiple messages for complex queries. See the documentation
Deletes one or more PDFs from ChatPDF using their source IDs. See the documentation
The Webflow API empowers developers to programmatically interact with their Webflow site, enabling automation, data synchronization, and complex integrations with other apps and services. With Pipedream's serverless platform, you can harness this API to craft custom workflows that react to events, manage content dynamically, or extend the capabilities of your Webflow projects by linking them with a vast array of other applications.
You can connect your Webflow account in a few different ways:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
webflow: {
type: "app",
app: "webflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.webflow.com/v2/token/authorized_by`,
headers: {
Authorization: `Bearer ${this.webflow.$auth.oauth_access_token}`,
"accept-version": `1.0.0`,
},
})
},
})
The ChatPDF API enables you to convert chat histories from various messaging platforms into PDFs. This utility can be a game-changer for archiving conversations, legal documentation, or creating backups of critical chats. With Pipedream, you can automate the conversion process and integrate it with countless apps to streamline chat management tasks. Think of pulling chat data from messaging apps, converting them to PDF, and then saving or sharing them—all set up to run on autopilot.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
chatpdf: {
type: "app",
app: "chatpdf",
}
},
async run({steps, $}) {
const data = {
"url": `https://www.learningcontainer.com/wp-content/uploads/2019/09/sample-pdf-file.pdf`,
}
return await axios($, {
method: "post",
url: `https://api.chatpdf.com/v1/sources/add-url`,
headers: {
"x-api-key": `${this.chatpdf.$auth.api_key}`,
},
data,
})
},
})