with Quipu and Data Stores?
Add or update a single record in your Pipedream Data Store
Add or update multiple records to your Pipedream Data Store
Quipu is an API designed to simplify invoicing and accounting for freelancers and small businesses. By integrating Quipu with Pipedream, you unlock the potential of automating financial tasks, syncing data across platforms, and streamlining invoicing operations. Pipedream's serverless platform provides the flexibility to connect Quipu with a myriad of other apps and services, enabling you to craft custom workflows that fit your exact business needs. Whether it's triggering actions based on invoice statuses, syncing contacts between platforms, or generating financial reports, Quipu's API and Pipedream's orchestration can together build a robust financial automation system.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
quipu: {
type: "app",
app: "quipu",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://getquipu.com/contacts`,
headers: {
Authorization: `Bearer ${this.quipu.$auth.oauth_access_token}`,
"Accept": `application/vnd.quipu.v1+json`,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})