with VectorShift and DocuMerge?
Emit new event when a knowledge base is created in Vectorshift.
Emit new event when a merged document is created in documerge.
Emit new event when a new pipeline is created in VectorShift.
Emit new event when a merged route is created in documerge.
Adds data to a knowledge base in VectorShift. See the documentation
Merges multiple user-specified files into a single PDF or DOCX. See the documentation
Creates a new pipeline in VectorShift. 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: {
vectorshift: {
type: "app",
app: "vectorshift",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vectorshift.ai/v1/pipelines`,
headers: {
Authorization: `Bearer ${this.vectorshift.$auth.api_key}`,
},
})
},
})
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`,
},
})
},
})