with Agrello and Trunkrs?
Emit new event when a user adds a document to a specific folder. See the documentation
Emit new event when a signature is added to a container.
Emit new event when a given document is signed by all parties.
Emit new event when a new shipment is created. See the documentation
Emit new event when a shipment is cancelled. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agrello: {
type: "app",
app: "agrello",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.agrello.io/public/v3/workspace`,
headers: {
Authorization: `Bearer ${this.agrello.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trunkrs: {
type: "app",
app: "trunkrs",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.trunkrs.$auth.environment}/api/v2/shipments`,
headers: {
"x-api-key": `${this.trunkrs.$auth.api_key}`,
},
})
},
})