with GPTZero: Detect AI and Crunchbase?
This endpoint takes in file(s) input and returns the model's result. See the documentation
Retrieve details about an organization. See the documentation
This endpoint takes in a single text input and runs AI detection. The document will be truncated to 50,000 characters. See the documentation
Search for organizations based on specified criteria. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gptzero_detect_ai: {
type: "app",
app: "gptzero_detect_ai",
}
},
async run({steps, $}) {
const data = {
"document": `Pipedream is the fastest way to automate any process that connects APIs. Build and run workflows with code-level control when you need it, and no code when you don't.`,
"multilingual": `false`,
}
return await axios($, {
method: "post",
url: `https://api.gptzero.me/v2/predict/text`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
"x-api-key": `${this.gptzero_detect_ai.$auth.api_key}`,
},
data,
})
},
})
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}`,
})
},
})