Gmail offers private and secure email by Google at no cost, for business and consumer accounts.
Emit new event when a specific event occurs in your Printify shop.
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
Places an order of an existing product on Printify. 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 Printify API, accessible within Pipedream's platform, offers a suite of operations to streamline your print-on-demand business. It allows you to create products, manage orders, sync inventory, and handle a variety of other e-commerce functions programmatically. With Pipedream's serverless execution environment, you can tap into the Printify API to automate workflows, integrate with other apps, and manipulate data without the need to manage infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
printify: {
type: "app",
app: "printify",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.printify.com/v1/shops.json`,
headers: {
Authorization: `Bearer ${this.printify.$auth.oauth_access_token}`,
},
})
},
})