Bulk Email Verification & List Cleaning Service
Neverbounce is a nifty email verification tool that ensures your email lists are clean and your messages reach real people. By leveraging the Neverbounce API on Pipedream, you can automate the process of validating emails in real-time or in batches, directly within your workflows. This means you can maintain high deliverability rates, decrease bounce rates, and preserve your sender reputation without breaking a sweat.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
neverbounce: {
type: "app",
app: "neverbounce",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.neverbounce.com/v4/single/check`,
params: {
key: `${this.neverbounce.$auth.api_key}`,
email: `demo@test.com`,
},
})
},
})
The Browserless API on Pipedream allows you to automate browser actions without the overhead of managing your own browser infrastructure. This service provides a way to run Chrome browser sessions programmatically, making it ideal for web scraping, automated testing, and screenshot capture. Leveraging this on Pipedream, you can create serverless workflows that interact with web pages, extract data, and perform actions as a human would, all in a scalable and efficient manner.
import puppeteer from 'puppeteer-core@14.1.0';
export default defineComponent({
props: {
browserless: {
type: "app",
app: "browserless",
}
},
async run({steps, $}) {
// See the browserless docs for more info:
// https://www.browserless.io/docs/
const browser = await puppeteer.connect({
browserWSEndpoint: `wss://chrome.browserless.io?token=${this.browserless.$auth.api_key}`
})
const page = await browser.newPage()
const url = "https://example.com"
const type = "png"
await page.goto(url)
const screenshot = await page.screenshot()
// export the base64-encoded screenshot for use in future steps,
// along with the image type and filename
$.export("screenshot", Buffer.from(screenshot, 'binary').toString('base64'))
$.export("type", type)
$.export("filename",`${url.replace(/[&\/\\#, +()$~%.'":*?<>{}]/g, '_')}-${+new Date()}.${type}`)
await browser.close()
},
})