with LeadDyno and 302.AI?
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
Retrieves information about a lead from LeadDyno. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
_302_ai: {
type: "app",
app: "_302_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.302.ai/v1/models`,
headers: {
Authorization: `Bearer ${this._302_ai.$auth.api_key}`,
},
})
},
})