with SalesLens and ServiceNow?
Uploads a conversation recording. See the documentation
Uploads a transcript of the conversation. See the documentation
Retrieves the record identified by the specified sys_id from the specified table.
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`,
},
})
},
})
The ServiceNow API lets developers access and manipulate records, manage workflows, and integrate with other services on its IT service management platform. These capabilities support automating tasks, syncing data across platforms, and boosting operational efficiencies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
servicenow: {
type: "app",
app: "servicenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.servicenow.$auth.instance_name}.service-now.com/api/now/table/incident`,
headers: {
Authorization: `Bearer ${this.servicenow.$auth.oauth_access_token}`,
},
})
},
})