Printavo is an easy to use, cloud-based tool for print, embroidery, promotional product and sign shops to manage their shop.
The Printavo API allows for the automation of print shop management tasks, enabling users to streamline their operations by integrating their Printavo account with various other apps and services. With Pipedream's serverless platform, you can create workflows that trigger actions in Printavo or respond to events from Printavo, such as updating order statuses, syncing customer data, or automating notifications and reminders, all without writing complex code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
printavo: {
type: "app",
app: "printavo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.printavo.com/api/v1/accounts`,
params: {
token: `${this.printavo.$auth.api_token}`,
email: `${this.printavo.$auth.email}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})