with LifterLMS and ServiceNow?
The LifterLMS API allows you to leverage a powerful learning management system within your Pipedream workflows, enabling automation of course-related tasks, user management, and more. With this API, you can create new courses, enroll students, track progress, and trigger actions based on course events. Integrating LifterLMS with Pipedream can streamline operations, enhance student engagement, and provide personalized learning experiences by connecting to various other services like email platforms, CRMs, or analytics tools.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lifterlms: {
type: "app",
app: "lifterlms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.lifterlms.$auth.url}/wp-json/llms/v1/courses`,
auth: {
username: `${this.lifterlms.$auth.consumer_key}`,
password: `${this.lifterlms.$auth.consumer_secret}`,
},
})
},
})
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}`,
},
})
},
})