with Richpanel and Vida?
Emit new events after completion of any communication handled by your Vida AI agent, be it a call, text, or email.
Emit new event when a new message is sent on an existing or new ticket.
Emit new event when an incoming call or message is received before answered by an agent. Useful for providing context about the caller or messenger to your agent before response.
Adds a message to an existing ticket. See the documentation
Uploads additional context for a conversation with your AI agent. Helpful when integrating data from external CRMs. See the documentation
Creates a new support ticket in Richpanel. See the documentation
Updates the status of an existing ticket in Richpanel. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
richpanel: {
type: "app",
app: "richpanel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.richpanel.com/v1/users`,
headers: {
"accept": `application/json`,
"x-richpanel-key": `${this.richpanel.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vida: {
type: "app",
app: "vida",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vida.dev/api/v2/listAccounts`,
params: {
token: `${this.vida.$auth.api_token}`,
},
})
},
})