The ultimate course platform to help you easily your own online courses in just 5 steps.
Emit new event when a new webhook event is received. Needs webhook registration in Miestro UI using the http endpoint of this source. See the documentation
Miestro is a robust platform designed for creating and managing online courses. Leveraging the Miestro API on Pipedream allows you to automate interactions with your online courses, such as enrolling students, tracking progress, and analyzing engagement. With the automation workflows on Pipedream, you can streamline your educational platform's operations, react to student activity in real time, and integrate with other services to enhance the e-learning experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
miestro: {
type: "app",
app: "miestro",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.miestro.com/api/v1.0/users`,
headers: {
"X-Forward-Api-Key": `${this.miestro.$auth.api_key}`,
"X-Forward-Api-Secret": `${this.miestro.$auth.api_secret}`,
},
})
},
})
Jotform’s API is a powerhouse for automating form and survey data management. With Pipedream, harness this API to trigger workflows from new form submissions, manipulate and analyze your form data, and sync it across various platforms. Think streamlined data entry to CRMs, instant notifications for new leads or feedback, and timely data backups to cloud storage.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jotform: {
type: "app",
app: "jotform",
}
},
methods: {
_getBaseUrl() {
let baseUrl = `https://${this.jotform.$auth.region}.jotform.com/`;
const standardSubdomains = [
"api",
"eu-api",
"hipaa-api",
];
if (!standardSubdomains.includes(this.jotform.$auth.region)) {
baseUrl += "API/";
}
return baseUrl;
},
},
async run({steps, $}) {
const baseUrl = this._getBaseUrl();
return await axios($, {
url: `${baseUrl}user`,
params: {
apiKey: `${this.jotform.$auth.api_key}`,
},
})
},
})