with Clearbit and Go?
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
Run any Go code and use any Go package available with a simple import. Refer to the Pipedream Go docs to learn more.
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}`,
},
})
},
})
You can execute custom Go scripts on-demand or in response to various triggers and integrate with thousands of apps supported by Pipedream. Writing with Go on Pipedream enables backend operations like data processing, automation, or invoking other APIs, all within the Pipedream ecosystem. By leveraging Go's performance and efficiency, you can design powerful and fast workflows to streamline complex tasks.
package main
import (
"fmt"
pd "github.com/PipedreamHQ/pipedream-go"
)
func main() {
// Access previous step data using pd.Steps
fmt.Println(pd.Steps)
// Export data using pd.Export
data := make(map[string]interface{})
data["name"] = "Luke"
pd.Export("data", data)
}