with ClickHelp and DocRaptor?
Emit new event when a topic is created. See the documentation
Generates a backup of the specified project. This action ensures you have a safe copy of your project in case of any unpredicted data loss. See the documentation
Creates a new publication from the designated project. This action allows you to share your content with others in various formats. See the documentation
Produces a new topic in the existing project. A useful action for starting a new chapter or section within your project. See the documentation
The ClickHelp API allows technical writers to automate and interact with the ClickHelp documentation platform programmatically. With this API, Pipedream users can create, update, retrieve, and manage documentation projects, topics, and users within ClickHelp. It opens up opportunities to streamline documentation workflows, integrate with content management systems, and trigger notifications based on documentation changes or reviews.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clickhelp: {
type: "app",
app: "clickhelp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.clickhelp.$auth.portal_domain}/api/v1/users`,
auth: {
username: `${this.clickhelp.$auth.email}`,
password: `${this.clickhelp.$auth.api_key}`,
},
})
},
})
DocRaptor is an API that converts HTML to PDF or XLS(X). Using DocRaptor with Pipedream allows you to automate document generation within your custom workflows. With Pipedream's serverless platform, you can trigger document creation from a multitude of events, process the data, and integrate it with countless apps to create dynamic, on-demand documents. Whether you need to generate invoices, reports, or any other documents, you can set up a pipeline that does the heavy lifting for you.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
docraptor: {
type: "app",
app: "docraptor",
}
},
async run({steps, $}) {
const data = {
"type": `pdf`,
"document_content": `<html><body>Hello World!</body></html>`,
}
return await axios($, {
method: "post",
url: `https://api.docraptor.com/docs`,
auth: {
username: `${this.docraptor.$auth.api_key}`,
password: ``,
},
data,
})
},
})