with MailboxValidator and Amazon Selling Partner?
MailboxValidator is a precision tool for email verification that checks email lists for bad or invalid addresses. It helps maintain hygiene in your mailing list by ensuring that emails are deliverable, reducing bounce rates significantly. By integrating MailboxValidator with Pipedream, you can automate the cleanse of email lists, validate emails in real-time during sign-up processes, and improve the reliability of email marketing campaigns. Pipedream's platform provides the flexibility to trigger workflows with events, schedule tasks, and connect to numerous other services to enrich data or take actions based on the results of an email validation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailboxvalidator: {
type: "app",
app: "mailboxvalidator",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mailboxvalidator.com/v1/validation/single`,
params: {
key: `${this.mailboxvalidator.$auth.api_key}`,
format: `json`,
email: `{enter_email_to_validate_here}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
amazon_selling_partner: {
type: "app",
app: "amazon_selling_partner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://sellingpartnerapi-na.amazon.com/inbound/fba/2024-03-20/inboundPlans`,
headers: {
"x-amz-access-token": `${this.amazon_selling_partner.$auth.oauth_access_token}`,
},
})
},
})