with Gmail and ScheduleOnce?
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.
Emit new event for each new email sent. (Maximum of 100 events emited per execution)
Suspend the workflow until approved by email. See the documentation
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 ScheduleOnce API enables the automation of scheduling processes, allowing you to integrate your booking flow into custom applications or services. By leveraging this API on Pipedream, you can create dynamic workflows that react to booking events, synchronize with other calendar services, and streamline communications based on the scheduling data. This interaction opens up numerous possibilities for creating efficient, time-saving automations that keep your scheduling in sync with your business operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scheduleonce: {
type: "app",
app: "scheduleonce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.oncehub.com/v2/users`,
headers: {
"Content-type": `application/json`,
"API-Key": `${this.scheduleonce.$auth.api_key}`,
},
})
},
})