with Samsara and Maestra?
Emit new event when a new file is added to a project in Maestra. See the documentation
Emit new event when a job is completed on a Samsara route.
Adds a new address to the organization. The user must provide the necessary props such as formatted address, geofence, and name. See the documentation
Translates an existing file in the Maestra system. See the documentation
Generates a new route to an existing address. As a prerequisite, the user must create an address using the 'create-address' action if the location is not already available in the address book. The user must provide the necessary props such as destination address.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
samsara: {
type: "app",
app: "samsara",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.samsara.$auth.base_url}/users`,
headers: {
Authorization: `Bearer ${this.samsara.$auth.api_token}`,
},
})
},
})
The Maestra API lets you automate the transcription, captioning, and voiceover of videos and audios, crucial for creating accessible and localized content. With Pipedream, you can build workflows that trigger on various events to streamline media processing, integrate with other services, and manage content efficiently. Pipedream's serverless platform offers a code-free way to connect the Maestra API with hundreds of other apps, enabling you to create custom automation without the heavy lifting.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
maestra: {
type: "app",
app: "maestra",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.maestra.$auth.base_url}/api/getCredits`,
headers: {
"apiKey": `${this.maestra.$auth.api_key}`,
},
})
},
})