with Holded and ifthenpay?
Emit new event when an existing contact is created in Holded. See the docs
Emit new event when invoice is generated in Holded. See the docs
Deliver an email with a document to a contact through Holded. See the docs
The Holded API offers access to a versatile platform that combines accounting, invoicing, inventory, and project management. It's designed to streamline various business processes. With Pipedream, you can connect Holded to hundreds of other apps to automate workflows. This means you can sync invoices with your CRM, get real-time alerts for new sales, or even automate inventory updates. The API's endpoints allow you to manage contacts, products, accounting, and more, enabling your business to stay organized and efficient.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
holded: {
type: "app",
app: "holded",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.holded.com/api/invoicing/v1/contacts`,
headers: {
"Accept": `application/json`,
"key": `${this.holded.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ifthenpay: {
type: "app",
app: "ifthenpay",
}
},
async run({steps, $}) {
const data = {
"boKey": `${this.ifthenpay.$auth.backoffice_key}`,
"dateStart": `21-10-2024 00:00:00`,
"dateEnd": `30-04-2025 00:00:00`,
}
return await axios($, {
method: "post",
url: `https://api.ifthenpay.com/v2/payments/read`,
headers: {
"accept": `application/json`,
},
data,
})
},
})