with StoryScale and ServiceNow?
Emit new event when a new tour is created. See the documentation
Emit new event when a tour gets published. See the documentation
The StoryScale API enables the creation, management, and retrieval of storytelling content. Integrated within Pipedream's ecosystem, you can automate interactions with the StoryScale API to streamline content workflows, react to events, and sync data across various platforms. Pipedream's serverless platform simplifies the process of setting up event-driven workflows, making it straightforward to harness the capabilities of the StoryScale API without writing complex infrastructure code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
storyscale: {
type: "app",
app: "storyscale",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://prodapi.storyscale.com/api/v1/user/profile`,
headers: {
Authorization: `Bearer ${this.storyscale.$auth.oauth_access_token}`,
"accept": `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}`,
},
})
},
})