with Affinity and Crunchbase?
Retrieve details about an organization. See the documentation
Search for organizations based on specified criteria. See the documentation
The Affinity API allows for deep integration with Affinity's CRM platform, providing access to a relationship intelligence system that helps you manage relationships, prioritize opportunities, and automate administrative tasks. Utilize the API on Pipedream to create custom, automated workflows that respond to various triggers, such as new leads or interactions, and connect with other apps to enhance data flow and functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
affinity: {
type: "app",
app: "affinity",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.affinity.co/persons`,
auth: {
username: ``,
password: `${this.affinity.$auth.api_key}`,
},
params: {
term: `doe`,
},
})
},
})
The Crunchbase API grants access to a trove of information on companies, investors, and the key players steering them. With Pipedream, you can harness this data to enrich CRM leads, track investments, or automate market research. By marrying the Crunchbase API with Pipedream's serverless platform, you unlock a realm of possibilities, creating workflows that respond dynamically to events like funding rounds or acquisitions, or that periodically aggregate data for analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
crunchbase: {
type: "app",
app: "crunchbase",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.crunchbase.com/v3.1/organizations?user_key=${this.crunchbase.$auth.user_key}`,
})
},
})