with KVstore.io and ServiceNow?
The KVstore.io API lets users store and retrieve key-value pairs over a simple REST API, making it an ideal tool for serverless data storage and retrieval. On Pipedream, you can integrate this API into workflows to manage state, cache data, or coordinate information between different steps or services. Its simplicity and ease of use make it a versatile component in creating efficient and scalable serverless applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
kvstore_io: {
type: "app",
app: "kvstore_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.kvstore.io/users/me`,
headers: {
"kvstoreio_api_key": `${this.kvstore_io.$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}`,
},
})
},
})