with HeyLibby and Formatting?
Emit new event when a new qualified lead is created.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
heylibby: {
type: "app",
app: "heylibby",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://3wsq3v2kgg.execute-api.us-east-1.amazonaws.com/prod/zapier/trigger`,
params: {
zapierAPI: `${this.heylibby.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})