with Landbot and LeadDyno?
Emit new events when a new message is sent in a channel. See the documentation
Emit new event when a new affiliate is created in LeadDyno. See the documentation
Emit new event when a new lead is created in LeadDyno. See the documentation
Emit new event when a new purchase is created in LeadDyno. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
landbot: {
type: "app",
app: "landbot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.landbot.io/v1/agents/`,
headers: {
"Content-Type": `application/json`,
"Authorization": `Token ${this.landbot.$auth.api_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
leaddyno: {
type: "app",
app: "leaddyno",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.leaddyno.com/v1/visitors`,
params: {
key: `${this.leaddyno.$auth.api_key}`,
},
})
},
})