with Riku.AI and SalesLens?
Uploads a conversation recording. See the documentation
Uploads a transcript of the conversation. See the documentation
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,
})
},
})
SalesLens is an analytics platform designed to help you understand and engage with your customers. By analyzing customer interactions, SalesLens provides insights that can lead to more effective sales strategies and improved customer engagement. With the SalesLens API, you can access customer data, manage accounts, and trigger personalized actions based on customer behavior. In Pipedream, you can leverage this capability to create automated workflows that respond to data events in real-time, integrate with other apps, or process large datasets asynchronously.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
saleslens: {
type: "app",
app: "saleslens",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.saleslens.io/api/access_token/employees`,
headers: {
"Authorization": `${this.saleslens.$auth.api_token}`,
"Content-Type": `application/json`,
},
})
},
})