with Xperiencify and Formatting?
Emit new event when a student enrolls into a course.
Xperiencify is a platform designed to create engaging online courses that motivate students through gamification and psychological triggers. The Xperiencify API allows course creators to manage and automate tasks related to courses, students, and their progress. With Pipedream, you can harness this API to create dynamic workflows that respond to course enrollments, progress milestones, and other student interactions. Automate notifications, gather analytics, synchronize with other platforms, and more, creating a seamless integration between Xperiencify and your digital ecosystem.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
xperiencify: {
type: "app",
app: "xperiencify",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.xperiencify.io/api/public/coach/courses/`,
params: {
api_key: `${this.xperiencify.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})