with Consulta Única and Zoho Expense?
Activate when an expense report approval takes place. See the Documentation
Activate when an expense report submission takes place. See the Documentation
Activate after approval of a travel request. See the Documentation
Generate a new expense entry in the Zoho Expense system. See the Documentation
Disapprove a pending travel request in the system. See the Documentation
Alter details in an existing expense report. See the Documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
consulta_unica: {
type: "app",
app: "consulta_unica",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://consultaunica.mx/api/v2/user-stats`,
headers: {
"x-api-key": `${this.consulta_unica.$auth.api_key}`,
},
params: {
userEmail: `${this.consulta_unica.$auth.email}`,
},
})
},
})
The Zoho Expense API allows for streamlined management of expense reporting and tracking. With Pipedream, you can automate various tasks like submitting expenses, approving reports, or syncing expense data with other accounting tools. Pipedream's serverless platform enables you to create workflows that react to new expense submissions, scheduled report generation, and much more, without the hassle of managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zoho_expense: {
type: "app",
app: "zoho_expense",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.zoho_expense.$auth.api_domain}/expense/v1/organizations`,
headers: {
"Authorization": `Zoho-oauthtoken ${this.zoho_expense.$auth.oauth_access_token}`,
},
})
},
})