Automated Document Generation.
Merges multiple user-specified files into a single PDF or DOCX. See the documentation
Converts a specified file into a PDF. See the documentation
Extracts and returns data from fields in a given document. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
documerge: {
type: "app",
app: "documerge",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.documerge.ai/api/documents`,
headers: {
Authorization: `Bearer ${this.documerge.$auth.api_token}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})