with Plain and People Data Labs?
The Company Enrichment API provides a one-to-one match, retrieving up-to-date information on a unique company. See the docs here
The Person Enrichment API provides a one-to-one match, retrieving up-to-date information on a unique individual. See the docs here
The Plain API provides functionality for automating customer support tasks, such as managing conversations, customers, and team inboxes. Within Pipedream, you can leverage these features to create custom workflows that respond to events from your app or external services, triggering actions in Plain. By integrating the Plain API with Pipedream, you can enhance customer support efficiency, streamline communication, and keep customer data synchronized across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plain: {
type: "app",
app: "plain",
}
},
async run({steps, $}) {
const data = {
"query": `query Workspace {
workspace(workspaceId: "${this.plain.$auth.workspace_id}") {
id
publicName
}
}`,
}
return await axios($, {
method: "post",
url: `https://core-api.uk.plain.com/graphql/v1`,
headers: {
Authorization: `Bearer ${this.plain.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
The People Data Labs API provides access to a rich database of profiles, offering granular data on individuals such as employment history, education, skills, and more. Leveraging Pipedream's capabilities, you can automate personalized outreach, enrich contact lists, validate professional information, and sync data across platforms in real-time. These automations can power recruitment, sales, and networking efforts by providing up-to-date and comprehensive data points.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
people_data_labs: {
type: "app",
app: "people_data_labs",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.peopledatalabs.com/v5/person/enrich`,
params: {
api_key: `${this.people_data_labs.$auth.api_key}`,
email: `sean@peopledatalabs.com`,
},
})
},
})