with Doppler and Nextlead?
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
import { providers } from 'gitops-secrets'
export default defineComponent({
props: {
doppler_secretops: {
type: "app",
app: "doppler_secretops",
}
},
async run({steps, $}) {
process.env.DOPPLER_TOKEN = `${this.doppler_secretops.$auth.service_token}`;
const secrets = await providers.doppler.fetch();
$.export('secrets', secrets);
},
})
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}`,
},
})
},
})