with PersistIQ and Formatting?
Emit new events when a new prospect was created. See the docs
PersistIQ is a sales automation platform that streamlines outbound sales processes with personalized email campaigns and task management. By leveraging the PersistIQ API on Pipedream, you can craft intricate automation workflows that enhance lead management, align sales communications, and improve team productivity. This API interaction enables real-time synchronization of lead data, automated campaign actions, and analytics integration, fostering a seamless sales operation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
persistiq: {
type: "app",
app: "persistiq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.persistiq.com/v1/users`,
headers: {
"x-api-key": `${this.persistiq.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})