with Gmail and Senta?
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.
Suspend the workflow until approved by email. See the documentation
Create a draft from your Google Workspace email account. 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 Senta API allows you to automate and integrate practice management tasks within the Senta platform. Leveraging Pipedream's capabilities, you can create workflows that streamline client onboarding, automate communication, task management, and synchronize data with other services. With Pipedream's serverless platform, these workflows can be triggered by various events, such as incoming emails, schedule timings, or actions from other apps, offering a seamless way to enhance your practice management operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
senta: {
type: "app",
app: "senta",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.senta.$auth.subdomain}.senta.co/api/jobs`,
headers: {
"x-auth": `${this.senta.$auth.api_key}`,
"accept": `application/json`,
},
params: {
cid: `{{your_client_id}}`,
},
})
},
})