with Fibery and Data Stores?
Emit new event for every updated entity of a certain type. See the docs here
Emit new event for every created entity of a certain type. See the docs here
Add or update a single record in your Pipedream Data Store
Add or update multiple records to your Pipedream Data Store
Creates a new entity or updates if it exists. See the docs here
Fibery is a versatile work management platform, and its API amplifies this versatility within Pipedream's environment. Leveraging the Fibery API on Pipedream, you can automate complex workflows that span across project management, product development, and collaborative functions. This includes actions like syncing issues across platforms, aggregating feedback into product roadmaps, or updating project timelines based on external triggers. With Pipedream, you can listen for webhooks, schedule tasks, and seamlessly connect Fibery with other apps to create a dynamic, interconnected workspace.
module.exports = defineComponent({
props: {
fibery: {
type: "app",
app: "fibery",
}
},
async run({steps, $}) {
return (await require("@pipedream/platform").axios($, {
method: "post",
url: `https://${this.fibery.$auth.account_name}.fibery.io/api/commands`,
headers: {
"Authorization": `Token ${this.fibery.$auth.api_key}`,
"Content-Type": `application/json`,
},
data: [
{
"command": "fibery.entity/query",
"args": {
"query": {
"q/from": "fibery/user",
"q/select": ["fibery/id", "user/name"],
"q/limit": 1
}
}
}
],
}))[0]
},
})
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")
},
})