Gmail offers private and secure email by Google at no cost, for business and consumer accounts.
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
Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.
Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.
Create a draft from your Google Workspace email account. See the documentation
Download an attachment by attachmentId to the /tmp directory. See the documentation
By connecting your personal Gmail account to Pipedream, you'll be able to incorporate email into whatever you're building with any of the thousands of apps that are available on Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gmail: {
type: "app",
app: "gmail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/oauth2/v1/userinfo`,
headers: {
Authorization: `Bearer ${this.gmail.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})