with DEAR Systems and Data Stores?
Emit new event when a purchase order is created and authorized
Emit new event when a sale order is created and authorized
Emit new event when a sale quote is created and authorized
Emit new event when the available stock level changes. See the documentation
Emit new event when a customer is updated. 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.
Check if a key exists in your Pipedream Data Store or create one if it doesn't exist.
DEAR Systems offers an API that provides programmatic access to its inventory management platform, allowing for seamless integration with other apps for automating various business processes. Leveraging this API within Pipedream, you can create custom workflows to synchronize inventory levels, manage sales and purchase orders, and automate financial reporting among other tasks. By connecting DEAR Systems to Pipedream’s vast array of supported apps, you can achieve a high degree of automation, reducing manual entry and data errors, and gaining insights from real-time data processing.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dear: {
type: "app",
app: "dear",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://inventory.dearsystems.com/ExternalApi/v2/me`,
headers: {
"api-auth-accountid": `${this.dear.$auth.account_id}`,
"api-auth-applicationkey": `${this.dear.$auth.application_key}`,
},
})
},
})
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")
},
})