with Clearbit and Function?
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
The Company API allows you to look up a company by their domain. See the docs here
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}`,
},
})
},
})
The Function API allows you to run code snippets in various programming languages directly through API calls. This capability can extend Pipedream workflows by enabling custom logic processing, data transformation, or any operation that requires server-side code execution without deploying or managing servers. By using the Function API, you can incorporate code that's beyond the native actions available within Pipedream, offering a flexible and powerful way to handle complex tasks in your automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
function: {
type: "app",
app: "function",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.fxn.ai/user`,
headers: {
Authorization: `Bearer ${this.function.$auth.api_key}`,
},
})
},
})