with Utopian Labs and Ironclad?
Emit new event when a fresh approval event is generated.
Emit new event when a workflow document event is freshly established.
Emit new event when a new workflow event is created.
Updates the metadata of an existing workflow. See the documentation
import { UtopianLabs } from "utopianlabs";
export default defineComponent({
props: {
utopian_labs: {
type: "app",
app: "utopian_labs",
}
},
async run({ steps, $ }) {
const utopianLabs = new UtopianLabs({ apiKey: this.utopian_labs.$auth.api_key });
return await utopianLabs.agents.runs.create({
agent: "r1",
lead: {
company: {
website: "https://pipedream.com",
},
},
});
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ironclad: {
type: "app",
app: "ironclad",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ironcladapp.com/scim/v2/Users`,
headers: {
Authorization: `Bearer ${this.ironclad.$auth.oauth_access_token}`,
},
params: {
startIndex: `1`,
count: `25`,
},
})
},
})