with PersistIQ and Data Stores?
Emit new events when a new prospect was created. See the docs
Add or update a single record in your Pipedream Data Store
Add or update multiple records to your Pipedream Data Store
Creates a prospect. Updates if there is already a prospect with the given email
. See docs here
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}`,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})