Gmail offers private and secure email by Google at no cost, for business and consumer accounts.
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)
Create a PDF document based on selected template identifier and defined payload. 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 Pdfless API provides a suite of tools for creating and manipulating PDF documents, enabling users to generate PDFs from HTML, merge multiple PDFs into one, split a PDF into separate files, and convert PDFs to other formats. By incorporating the Pdfless API into Pipedream workflows, you can automate document processing tasks, streamline data extraction, and integrate with other services to manage documents as part of larger business processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pdfless: {
type: "app",
app: "pdfless",
}
},
async run({steps, $}) {
const data = {
"template_id": `[your_template_id]`,
"payload": `{ "Company": "Company & co" } }`,
}
return await axios($, {
method: "post",
url: `https://api.pdfless.com/v1/pdfs`,
headers: {
"apikey": `${this.pdfless.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})