Lead generation platform that gives you real-time info about companies and people that visit your website. Turning anonymous web traffic into actionable data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
leadboxer: {
type: "app",
app: "leadboxer",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://kibana.leadboxer.com/api/views/c_view_leads`,
headers: {
"Content-Type": `application/json`,
},
params: {
apiKey: `${this.leadboxer.$auth.api_key}`,
site: `${this.leadboxer.$auth.dataset_id}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})