with Riku.AI and Miro Developer App?
Emit new event when an item's position changes in a Miro Custom App.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
riku_ai: {
type: "app",
app: "riku_ai",
}
},
async run({steps, $}) {
const data = {
"Name": `YOUR NAME`,
"Secret": `${this.riku_ai.$auth.secret_key}`,
"Prompt ID": `YOUR PROMPT`,
"Input 1": `SaaS`,
"n": `1`,
}
return await axios($, {
method: "post",
url: `https://prompts.riku.ai/webhook/run`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
The Miro Developer App API lets you extend the functionality of Miro, an online collaborative whiteboarding platform. On Pipedream, you can automate interactions with Miro boards, such as creating or updating content, and extracting data for reporting or integration purposes. This can streamline collaboration and project management by automating repetitive tasks and connecting Miro with other tools and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
miro_custom_app: {
type: "app",
app: "miro_custom_app",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.miro.com/v2/boards`,
headers: {
Authorization: `Bearer ${this.miro_custom_app.$auth.access_token}`,
},
})
},
})