with Ratecard and ServiceNow?
The Ratecard API allows you to automate the feedback collection and reputation management process. With its endpoints, you can send out surveys, collect responses, and analyze customer satisfaction metrics. Integrating Ratecard with Pipedream opens up possibilities to trigger workflows based on events, sync customer data with your CRM, or even escalate issues based on feedback scores, all in real time and without managing servers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ratecard: {
type: "app",
app: "ratecard",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ratecard.io/v1/accounts`,
headers: {
Authorization: `Bearer ${this.ratecard.$auth.access_token}`,
"Accept": `application/json`,
"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}`,
},
})
},
})