AI-Based Document Automation & Data Extraction
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Alphamoon API taps into advanced AI-driven text processing, offering services like document understanding, information extraction, and automated data entry. With this API, you can transform unstructured text into actionable data within your Pipedream workflows. It's a potent tool for automating document-heavy processes, making it invaluable for tasks ranging from data analysis to integrating extracted info into databases or other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alphamoon: {
type: "app",
app: "alphamoon",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://workspace.alphamoon.ai/api/v0.3/processes`,
auth: {
username: `${this.alphamoon.$auth.api_key}`,
password: ``,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})