with Survser and ServiceNow?
Emit new event when a new survey response is received. See the documentation
The Survser API is designed to streamline survey management and analysis, providing a set of tools to create, distribute, and analyze surveys. On Pipedream, you can automate survey distribution, sync responses with other data systems, and trigger actions based on survey outcomes. This enables seamless integration with other apps for advanced data processing, notifications, and more, enhancing decision-making processes and response times.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
survser: {
type: "app",
app: "survser",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.survser.com/api/public/survey/list`,
params: {
key: `${this.survser.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})