with ClickHelp and Diffchecker?
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
Compares two PDFs and returns the result. 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}`,
},
})
},
})
The Diffchecker API allows you to compare differences between texts, images, PDFs, and other files programmatically, providing an automated way to spot changes or inconsistencies. Leveraging this API within Pipedream workflows can automate diff tasks, alerting you to changes, syncing content across platforms, or maintaining consistency in code or document versions. Pipedream's ability to connect to various services and trigger workflows based on numerous events makes it an excellent tool for integrating Diffchecker in a variety of scenarios.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
diffchecker: {
type: "app",
app: "diffchecker",
}
},
async run({steps, $}) {
const data = {
"left": `roses are red violets are blue`,
"right": `roses are green violets are purple`,
"diff_level": `word`,
}
return await axios($, {
method: "post",
url: `https://${this.diffchecker.$auth.environment}.diffchecker.com/public/text`,
headers: {
"Content-Type": `application/json`,
},
params: {
output_type: `json`,
email: `${this.diffchecker.$auth.email}`,
},
data,
})
},
})