with Glide and ServiceNow?
The Glide API allows you to create feature-rich, mobile-friendly apps directly from data sources like Google Sheets or Excel. On Pipedream, you can harness this seamless bridge between your data and the app interface to automate tasks, sync data in real time, and dynamically control your Glide apps. Combine Glide with other apps on Pipedream to enhance functionality, like triggering notifications, processing payments, or managing user data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
glide: {
type: "app",
app: "glide",
}
},
async run({steps, $}) {
const data = {
"appID": `{{your_app_id}}`,
"queries": `[
{
"tableName": "{{your_table_name}}"
}
]`,
}
return await axios($, {
method: "POST",
url: `https://api.glideapp.io/api/function/queryTables`,
headers: {
Authorization: `Bearer ${this.glide.$auth.secret_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})
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}`,
},
})
},
})