import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nextlead: {
type: "app",
app: "nextlead",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.nextlead.$auth.api_url}/identify-user`,
headers: {
Authorization: `Bearer ${this.nextlead.$auth.api_key}`,
},
})
},
})
Emit new event when a lead is added to a list in NextLead. See the documentation
Emit new event when a new lead is captured in NextLead. See the documentation
Emit new event when a lead is updated in NextLead. See the documentation
Nextlead uses API keys for authentication. When you connect your Nextlead account, Pipedream securely stores the keys so you can easily authenticate to Nextlead APIs in both code and no-code steps.