ChatPDF Backend API - extract information and chat with PDFs.
Adds a PDF from a publicly accessible URL to ChatPDF, returning a source ID for interactions. See the documentation
Adds a contact to a specific static list. 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
Create or update a batch of contacts by its ID or email. See the documentation
Deletes one or more PDFs from ChatPDF using their source IDs. See the documentation
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,
})
},
})
The HubSpot API enables developers to integrate into HubSpots CRM, CMS, Conversations, and other features. It allows for automated management of contacts, companies, deals, and marketing campaigns, enabling custom workflows, data synchronization, and task automation. This streamlines operations and boosts customer engagement, with real-time updates for rapid response to market changes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hubspot: {
type: "app",
app: "hubspot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hubapi.com/integrations/v1/me`,
headers: {
Authorization: `Bearer ${this.hubspot.$auth.oauth_access_token}`,
},
})
},
})