with Alphamoon and Rize?
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: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rize: {
type: "app",
app: "rize",
}
},
async run({steps, $}) {
const data = {
"query": `query CurrentUser {
currentUser {
email
}
}`,
}
return await axios($, {
method: "post",
url: `https://api.rize.io/api/v1/graphql`,
headers: {
Authorization: `Bearer ${this.rize.$auth.api_key}`,
},
data,
})
},
})