Next-generation software for garment decorators and promotional product printers.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The YoPrint API offers a suite of functionalities to streamline printing business operations, allowing users to automate tasks related to order management, customer interactions, and production processes. By integrating YoPrint with Pipedream, businesses can create automated workflows to connect their print management with other services, enhancing efficiency and data consistency. With Pipedream's serverless platform, you can trigger actions based on various events, process data, and integrate with countless other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
yoprint: {
type: "app",
app: "yoprint",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://secure.yoprint.com/v1/api/store/${this.yoprint.$auth.team_id}/setting/user`,
headers: {
"Authorization": `${this.yoprint.$auth.api_key}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS