ZeroBounce is an email validation and deliverability platform helping more than 150,000 customers reduce bounces and land their emails in the inbox.
Delay the execution of your workflow for a specific amount of time (does not count against your compute time).
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}`,
},
})
},
})
The Delay API in Pipedream is a built-in function that allows you to pause a workflow for a specified amount of time. This can be incredibly useful when you need to stagger API calls to avoid rate limits, wait for an external process to complete, or simply introduce a delay between actions in a sequence. With precision up to milliseconds, the Delay API provides a simple yet powerful tool for managing timing in automation workflows.
export default defineComponent({
async run({steps, $}) {
// Specify the amount of time to delay your workflow in milliseconds
return $.flow.delay(5000)
},
})