with Showpad and Transloadit?
Emit new event when a Transloadit assembly finishes processing. See the documentation
Emit new event when a failed occurs during assembly processing. See the documentation
Cancel a running assembly by its assembly ID. Useful for aborting processing jobs that are no longer needed. See the documentation
Create a new assembly to process files using a specified template and steps. See the documentation
Retrieve the current status and results of an existing assembly. See the documentation
The Showpad API opens up a world of possibilities for enhancing sales enablement and content management. With it, you can streamline content sharing, track engagement, and integrate sales coaching into various platforms. It offers programmatic access to manage users, groups, permissions, and content, enabling automated processes that save time and boost productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
showpad: {
type: "app",
app: "showpad",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.showpad.$auth.subdomain}.api.showpad.com/v4/users`,
headers: {
Authorization: `Bearer ${this.showpad.$auth.oauth_access_token}`,
},
})
},
})
import Transloadit from 'transloadit';
export default defineComponent({
props: {
transloadit: {
type: "app",
app: "transloadit",
}
},
async run({ steps, $ }) {
const transloadit = new Transloadit({
authKey: this.transloadit.$auth.auth_key,
authSecret: this.transloadit.$auth.auth_secret
})
const options = {
params: {
steps: {
"encoded": {
"use": ":original",
"robot": "/video/encode",
"preset": "iphone-high"
},
"thumbed": {
"use": "encoded",
"robot": "/video/thumbs",
"count": 8
}
}
},
waitForCompletion: true,
}
return await transloadit.createAssembly(options);
},
})