with Axonaut and ChatPDF?
Creates a company. See documentation (Go to POST /api/v2/companies
)
Adds a PDF from a publicly accessible URL to ChatPDF, returning a source ID for interactions. See the documentation
Creates a employee. See documentation (Go to POST /api/v2/employees
)
Sends messages to interact with a specific PDF using its source ID. Can handle single or multiple messages for complex queries. See the documentation
Updates a company. See documentation (Go to PATCH /api/v2/companies/{companYid}
)
The Axonaut API enables interaction with Axonaut's CRM and ERP features, allowing you to manage customers, invoices, quotes, and more. By building workflows on Pipedream with the Axonaut API, you can automate repetitive tasks, sync data between different systems, and create custom, scalable solutions for your business needs. Connect Axonaut to numerous other services via Pipedream to streamline your sales, accounting, and operational processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
axonaut: {
type: "app",
app: "axonaut",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://axonaut.com/api/v2/me`,
headers: {
"userApiKey": `${this.axonaut.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
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,
})
},
})