YoPrint

Next-generation software for garment decorators and promotional product printers.

Integrate the YoPrint API with the Bash API

Setup the YoPrint API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate YoPrint and Bash remarkably fast. Free for developers.

Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of YoPrint

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.

Connect YoPrint

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $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