with Rumi AI and INDIEFUNNELS?
Emit new events when a session is completed. See the documentation
Add access to a session for specific email addresses or domains. See the documentation
Stream an AI query against session memories. See the documentation
Get information about the current authenticated user. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rumi_ai: {
type: "app",
app: "rumi_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rumi.ai/v1.0/users/me`,
headers: {
Authorization: `Bearer ${this.rumi_ai.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
indiefunnels: {
type: "app",
app: "indiefunnels",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.indiefunnels.$auth.api_url}/api/site/products`,
headers: {
Authorization: `Bearer ${this.indiefunnels.$auth.api_key}`,
"user-agent ": `@PipedreamHQ/pipedream v0.1`,
},
})
},
})