with Bridge Interactive Platform and Utopian Labs?
Emit new event when a new listing is created. See the documentation
Get MLS listings from a dataset. See the documentation
Retrieve the status of an initiated run. See the documentation
Initiate a classification run of the R1-Classification agent. See the documentation
Initiate a copywriting run of the R1-Copywriting agent. See the documentation
Initiate a qualification run of the R1-Qualification agent. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bridge_interactive_platform: {
type: "app",
app: "bridge_interactive_platform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bridgedataoutput.com/api/v2/test/listings`,
params: {
access_token: `${this.bridge_interactive_platform.$auth.access_token}`,
},
})
},
})
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",
},
},
});
},
})