Automate data extraction with AI parsers. Extract Invoices from PDFs and Images to Excel & more using AI.
Emit new event when a file request status changes. You can only create one webhook in a parser at a time.
Uploads a document to DocumentPro's parser. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
documentpro: {
type: "app",
app: "documentpro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.documentpro.ai/v1/templates`,
headers: {
"x-api-key": `${this.documentpro.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})