with Bidsketch 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 Bidsketch API offers a gateway to streamline your proposal creation and management process. It empowers users to automate the drafting of proposals, maintain client data, and track proposal statuses without the manual hassle. With Pipedream, you can connect Bidsketch to a multitude of other apps, crafting workflows that trigger actions based on events such as proposal acceptance or comment additions, thus ensuring timely follow-ups and efficient client interaction.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bidsketch: {
type: "app",
app: "bidsketch",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://bidsketch.com/api/v1/clients`,
headers: {
"Authorization": `Token token=${this.bidsketch.$auth.api_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);
},
})