with GetAccept and GPTZero: Detect AI?
Create a new contact in the database for the current entity See the documentation
This endpoint takes in file(s) input and returns the model's result. See the documentation
Create a document to be able to send it to a recipient. 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
The GetAccept API offers a suite of capabilities for automating and enhancing document workflow and e-signature processes. Within Pipedream's serverless environment, you can leverage the GetAccept API to create documents, send them for e-signature, track their status, and manage recipients. By integrating GetAccept with other apps on Pipedream, you can build powerful workflows to streamline how your business handles agreements, sales proposals, and contracts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
getaccept: {
type: "app",
app: "getaccept",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getaccept.com/v1/users/me`,
headers: {
Authorization: `Bearer ${this.getaccept.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})
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,
})
},
})