with Booqable and Data Stores?
Emits a new event anytime there is a new customer. See the documentation
Emits an event when an order changes status to reserved in Booqable. See the documentation
Add or update a single record in your Pipedream Data Store
Add or update multiple records to your Pipedream Data Store
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
Updates the details of an existing customer in Booqable. See the documentation
The Booqable API provides programmatic access to rental shop functions such as inventory management, orders, and customers. Within Pipedream, you can leverage this API to automate tasks, sync data across platforms, and create custom workflows. The API's endpoints allow you to programmatically check item availability, manage bookings, and update customer information, making it suitable for integrating with a wide range of other apps and services to streamline operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
booqable: {
type: "app",
app: "booqable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.booqable.$auth.company_slug}.booqable.com/api/1/customers`,
params: {
api_key: `${this.booqable.$auth.api_key}`,
page: `1`,
per: `1`,
},
})
},
})
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")
},
})