with Alegra and Paigo?
Emit new event when customers' usage reaches a threshold of 80% or 100% of their offerings. See the documentation
Emit new event when a customer account is created. See the documentation
Increments the credit balance of a specific customer. See the documentation
Creates a new dimension inside the Paigo platform. See the documentation
Search for an existing contact in Alegra based on name or identification. See the documentation
Alegra API allows for the automation and integration of accounting and financial tasks within Alegra's software platform. Through the API, developers can create, read, update, and delete information related to invoices, clients, products, services, and more. Essentially, it's a way to streamline financial operations, ensure data accuracy, and free up time from manual data entry by connecting Alegra to other business tools and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
alegra: {
type: "app",
app: "alegra",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.alegra.com/api/v1/users/self`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.alegra.$auth.user_email}`,
password: `${this.alegra.$auth.access_token}`,
},
})
},
})
The Paigo API offers a suite of financial tools for expense tracking, budgeting, and financial planning. In Pipedream, you can utilize these capabilities to automate personal finance management, analyze spending habits, and receive real-time notifications on financial events. Paigo's API can be integrated with various apps on Pipedream to streamline financial operations, from syncing transactions with accounting software to triggering alerts when budgets are nearing their limits.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
paigo: {
type: "app",
app: "paigo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.prod.paigo.tech/customers`,
headers: {
Authorization: `Bearer ${this.paigo.$auth.oauth_access_token}`,
},
})
},
})