Trigger workflows on an interval or cron schedule.
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.
The Uscreen API lets you programmatically access your video on demand and OTT (over-the-top) service. With this API, you can pull data about videos, users, and sales, and carry out actions like creating and updating users, and more. By leveraging the Uscreen API on Pipedream, you can automate workflows involving video content management, user engagement tracking, and sales monitoring. This can significantly cut down manual effort and streamlines operations within your Uscreen account.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
uscreen: {
type: "app",
app: "uscreen",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.uscreen.io/publisher_api/v1/customers`,
headers: {
"Accept": `application/json`,
"Authorization": `${this.uscreen.$auth.publisher_api_key}`,
},
})
},
})