with PersistIQ and Gainsight?
Emit new events when a new prospect was created. See the docs
Create or update a company record. See the documentation
Create or update a custom object record. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gainsight_nxt: {
type: "app",
app: "gainsight_nxt",
}
},
async run({steps, $}) {
const data = {
"includeTotal": true,
"limit": 25,
"page": 0,
"orderBy": {
"ModifiedDate": "desc"
},
"select": [
"Name",
"SFDCUserName",
"Email",
"IsSuperAdmin",
"ModifiedDate",
"LicenseType"
]
}
return await axios($, {
method: "post",
url: `${this.gainsight_nxt.$auth.customer_domain}/v1/users/services/list`,
headers: {
"content-type": `application/json`,
"accept": `application/json, text/plain, */*`,
"accept-language": `en-GB,en-US;q=0.9,en;q=0.8`,
"accesskey": `${this.gainsight_nxt.$auth.access_key}`,
},
data,
})
},
})