with Clearbit and Data Stores?
The Company Name to Domain action lets you convert the exact name of a company to a website domain, and a logo. See the docs here
Add or update a single record in your Pipedream Data Store
The Company API allows you to look up a company by their domain. See the docs here
Add or update multiple records to your Pipedream Data Store
This endpoint retrieves a person by email address. See the docs here
Clearbit API offers robust data enrichment capabilities, allowing you to seamlessly integrate comprehensive business intelligence into your applications. By leveraging Clearbit, you can append real-time insights to your leads, automate personalized outreach, and gain a deeper understanding of your customers. With insights ranging from company profiles, contact details, to employment information, the possibilities to enhance your marketing, sales, and customer support efforts are vast.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
clearbit: {
type: "app",
app: "clearbit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://person.clearbit.com/v1/people/email/alex@alexmaccaw.com`,
headers: {
Authorization: `Bearer ${this.clearbit.$auth.secret_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")
},
})