with Nextlead and Unbounce?
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
Emit new event when a new form submit is received.
Retrieve a list of all leads for a given page (including AMP), pop-up, or sticky-bar. See the documentation
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}`,
},
})
},
})
The Unbounce API lets you tap into the powerful landing page platform to automate tasks and sync data with other services. Use it within Pipedream workflows to capture, analyze, and act on leads generated through your landing pages. Think of fetching form submissions, updating leads in a CRM, or dynamically modifying landing page content.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
unbounce: {
type: "app",
app: "unbounce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.unbounce.com/users/self`,
headers: {
Authorization: `Bearer ${this.unbounce.$auth.oauth_access_token}`,
"Accept": `application/vnd.unbounce.api.v0.4+json`,
},
})
},
})