With Fibery, you can build:
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]
},
})
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
Creates a new entity or updates if it exists. See the docs here
Get an entity or create one if it doesn't exist. See the docs here
Fibery uses API keys for authentication. When you connect your Fibery account, Pipedream securely stores the keys so you can easily authenticate to Fibery APIs in both code and no-code steps.
First, enter your Fibery account name. Your account name is the host portion of your workspace URL: [ACCOUNT NAME].fibery.io
.
See the Fibery API docs to generate your API key. Enter that key below, as well.