with Fibery and OpenRouter?
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
Returns a list of models available through the API. See the documentation
Send a chat completion request to a selected model. See the documentation
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]
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openrouter: {
type: "app",
app: "openrouter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openrouter.ai/api/v1/parameters/openai/o1`,
headers: {
Authorization: `Bearer ${this.openrouter.$auth.api_key}`,
},
params: {
provider: `OpenAI`,
},
})
},
})