import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
poper: {
type: "app",
app: "poper",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.poper.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://api.poper.ai/general/v1/ping`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
data,
})
},
})
Emit new event when a new lead is obtained from Poper popups.
Poper uses API keys for authentication. When you connect your Poper account, Pipedream securely stores the keys so you can easily authenticate to Poper APIs in both code and no-code steps.