with Mistral AI and ZeroBounce?
Emit new event when a new batch job is completed. See the Documentation
Emit new event when a new batch job fails. See the Documentation
Emit new event when a new AI model is registered or becomes available. See the Documentation
Create a new batch job, it will be queued for processing. See the Documentation
Estimates a reliability score based on ZeroBounce's AI for the provided email. See the documentation
Downloads the validation results for a file submitted using sendfile API. See the documentation
Download a batch job results file to the /tmp directory. See the Documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mistral_ai: {
type: "app",
app: "mistral_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mistral.ai/v1/models`,
headers: {
Authorization: `Bearer ${this.mistral_ai.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
The ZeroBounce API provides email verification services that help improve email deliverability by removing invalid or risky email addresses from your lists. When integrated with Pipedream, you can automate workflows to clean your mailing lists, validate subscribers in real-time, and enrich your contacts. Pipedream's serverless platform facilitates the running of code that interacts with the ZeroBounce API to execute these tasks based on various triggers and actions from other integrated services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zerobounce: {
type: "app",
app: "zerobounce",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.zerobounce.net/v2/getcredits`,
params: {
api_key: `${this.zerobounce.$auth.api_key}`,
},
})
},
})