ZeroBounce is an email validation and deliverability platform helping more than 150,000 customers reduce bounces and land their emails in the inbox.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS