with n8n.io and Cloudmersive?
Convert Office Word Documents (docx) to PDF See the documentation
The n8n.io API provides a platform for automating workflows in a node-based structure that allows for integrations across various services and apps. Leveraging this API within Pipedream enables you to orchestrate complex operations, connect disparate systems, and trigger actions conditionally, transforming and passing data between services without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
n8n_io: {
type: "app",
app: "n8n_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.n8n_io.$auth.domain}.app.n8n.cloud/api/v1/workflows`,
headers: {
"Accept": `application/json`,
"X-N8N-API-KEY": `${this.n8n_io.$auth.api_key}`,
},
})
},
})
The Cloudmersive API provides powerful tools for handling tasks like document conversion, data validation, virus scanning, and natural language processing. Integrating Cloudmersive with Pipedream allows you to automate complex processes with these abilities as triggers or steps in multi-stage workflows. This integration empowers you to streamline operations like sanitizing uploads before they hit your storage, parsing and converting user-submitted documents on-the-fly, or enhancing user engagement by leveraging language utilities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cloudmersive: {
type: "app",
app: "cloudmersive",
}
},
async run({steps, $}) {
const data = {
"value": `support@cloudmersive.com`,
}
return await axios($, {
method: "post",
url: `https://api.cloudmersive.com/validate/email/address/syntaxOnly`,
headers: {
"Apikey": `${this.cloudmersive.$auth.api_key}`,
},
data,
})
},
})