with Spydra and ServiceNow?
The Spydra API lets you automate interactions with the Spydra search engine, enabling developers to query various databases and information repositories. With Spydra's API on Pipedream, one can build powerful serverless workflows that respond to events, process data, and integrate with countless other services. You could create triggers that kick off actions whenever specific conditions are met, or schedule searches to ensure you're always informed with the latest data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
spydra: {
type: "app",
app: "spydra",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.spydra.$auth.membership_id}.spydra.app/tokenize/${this.spydra.$auth.app_id}/status`,
headers: {
"X-API-KEY": `${this.spydra.$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}`,
},
})
},
})