Gmail offers private and secure email by Google at no cost, for business and consumer accounts.
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}`,
},
})
},
})
The Wistia API lets you dive deep into video analytics, manage your media library, and automate video workflows. It's great for developers aiming to extend the functionality of their Wistia-hosted content. When used within Pipedream, you can integrate Wistia with countless other apps and services to create robust automations. You could, for instance, update a CRM with video view data, send custom email alerts based on viewer behavior, or even synchronize video uploads with a content management system.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wistia: {
type: "app",
app: "wistia",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.wistia.com/v1/account.json`,
auth: {
username: `api`,
password: `${this.wistia.$auth.api_token}`,
},
})
},
})