with Stripe and Campaign Cleaner?
Check the status of your campaign. See the documentation
Send in a campaign to be processed and analyzed. See the documentation
Cancel a pending payout or reverse a paid payout. See the documentation here and here
The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.
import stripe from 'stripe'
export default defineComponent({
props: {
stripe: {
type: "app",
app: "stripe",
}
},
async run({steps, $}) {
const client = stripe(this.stripe.$auth.api_key)
return await client.accounts.list({ limit: 1 })
},
})
The Campaign Cleaner API offers tools to clean and verify email lists, improving email campaign performance and sender reputation. By integrating with Pipedream, you can automate workflows that enhance your email marketing efforts. Use the API to check the validity of email addresses, remove duplicates, and classify email types. Pipedream's serverless platform allows you to trigger these processes from various events, schedule them, or manually invoke them as needed.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
campaign_cleaner: {
type: "app",
app: "campaign_cleaner",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.campaigncleaner.com/v1/get_credits`,
headers: {
"X-CC-API-Key": `${this.campaign_cleaner.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})