with Gatekeeper and Browserbase?
Emit new event when a new session is created. See the documentation
Creates a new browser session with specified settings. See the documentation
The Gatekeeper API empowers users to streamline vendor and contract management through its robust suite of features on Pipedream. With this API, you can automate processes like vendor approvals, contract renewals, and compliance checks. By integrating Gatekeeper with other apps on Pipedream, you get the power to create custom, automated workflows that can save time, reduce human error, and ensure timely actions on vendor-related activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gatekeeper: {
type: "app",
app: "gatekeeper",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.gatekeeper.$auth.subdomain}.gatekeeperhq.com/api/suppliers`,
headers: {
Authorization: `Bearer ${this.gatekeeper.$auth.auth_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
browserbase: {
type: "app",
app: "browserbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.browserbase.com/v1/projects`,
headers: {
"x-bb-api-key": `${this.browserbase.$auth.api_key}`,
},
})
},
})