with Codat and ProveSource?
Emit new event when a specified event type is produced by Codat. See the documentation
The Codat API provides a way to seamlessly integrate and automate financial data processes for businesses. With Codat, you can connect to accounting software, extract company financials, and reconcile transactions in real-time. Whether it's for pulling recent invoices, syncing payment information, or consolidating financial reports, Codat's API acts as a bridge between various accounting platforms and your applications, enabling more efficient financial operations and decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
codat: {
type: "app",
app: "codat",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.codat.io/profile`,
headers: {
"Authorization": `${this.codat.$auth.authorization_header}`,
"Accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
provesource: {
type: "app",
app: "provesource",
}
},
async run({steps, $}) {
const data = {
"email": `{{your_email}}`,
"name": `{{your_name}}`,
}
return await axios($, {
method: "POST",
url: `${this.provesource.$auth.webhook_url}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})