with Grist and ServiceNow?
Emit new event once a record is updated or newly created in Grist. See the documentation
Emit new event when a record is just created. See the documentation
Grist API on Pipedream enables you to automate data management tasks in your Grist documents. This might mean syncing data across different platforms, triggering notifications based on data changes, or processing data through custom logic. With Pipedream, you can use the Grist API to build workflows that react to events in real-time, connect to hundreds of other services, manipulate data in sophisticated ways, and create custom endpoints to integrate with your Grist data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
grist: {
type: "app",
app: "grist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://docs.getgrist.com/api/orgs`,
headers: {
Authorization: `Bearer ${this.grist.$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}`,
},
})
},
})