Trigger workflows on an interval or cron schedule.
Adds an asset track (for example, subtitles) to an asset. See the documentation
Returns an Asset or Livestream ID from a Playback ID. See the documentation
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.
Mux is a powerful API that simplifies the process of working with video and audio data. By leveraging Mux on Pipedream, you unlock the potential to automate video and audio streaming workflows, analyze media performance, and integrate seamlessly with other services to enrich your media content strategy. With Mux's ability to manage video assets, including uploading, encoding, and delivering content across devices, combined with Pipedream's serverless execution model, you can create dynamic, scalable, and highly customized media operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mux: {
type: "app",
app: "mux",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mux.com/video/v1/assets`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.mux.$auth.access_key}`,
password: `${this.mux.$auth.secret_key}`,
},
})
},
})