with Kustomer and Agentset?
Emit new event when a conversation is created in Kustomer.
Emit new event when a new customer is added to Kustomer.
Emit new event when a new document is created. See the documentation
Emit new event when a new message is created in a conversation.
Emit new event when a ingest job is created. See the documentation
Creates a new conversation in Kustomer. See the documentation
Complete retrieval pipeline for RAG with semantic search, filtering, and reranking. See the documentation
Create an ingest job for the authenticated organization. See the documentation
Creates a namespace for the authenticated organization. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kustomer: {
type: "app",
app: "kustomer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.kustomer.$auth.subdomain}.api.kustomerapp.com/v1/customers`,
headers: {
Authorization: `Bearer ${this.kustomer.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agentset: {
type: "app",
app: "agentset",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.agentset.ai/v1/namespace`,
headers: {
Authorization: `Bearer ${this.agentset.$auth.api_key}`,
},
})
},
})