with iSpring Learn and Elastic Email?
Emit new event when a new contact is added to a mailing list. See the documentation
Emit new event when courses or materials in a course are completed successfully.
Emit new event when a recipient clicks a link in an email. See the documentation
Emit new event when learners are enrolled in courses.
Emit new event when a recipient opens an email. See the documentation
Enrolls users to the specified courses on iSpring Learn.
Adds a new contact to a mailing list. See the documentation
Fetches the list of user enrollments on iSpring Learn. See the documentation
Sends an email to one or more recipients. See the documentation
Allows to modify the properties of a specific user on iSpring Learn.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ispring_learn: {
type: "app",
app: "ispring_learn",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-learn.ispringlearn.com/content`,
headers: {
Authorization: `Bearer ${this.ispring_learn.$auth.oauth_access_token}`,
"X-Target-Locale": `en-US`,
},
})
},
})
The Elastic Email API allows you to integrate a robust email sending platform into your Pipedream workflows. Use it to send emails, manage contacts, and track campaign statistics. With this API, you can automate email notifications, synchronize subscriber lists, or trigger marketing campaigns based on user actions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
elastic_email: {
type: "app",
app: "elastic_email",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.elasticemail.com/v2/account/profileoverview`,
headers: {
"X-ElasticEmail-ApiKey": `${this.elastic_email.$auth.api_key}`,
},
})
},
})