with Campaign Cleaner and IBM Cloud - Natural Language Understanding?
Check the status of your campaign. See the documentation
Send in a campaign to be processed and analyzed. See the documentation
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ibm_cloud_natural_language_understanding: {
type: "app",
app: "ibm_cloud_natural_language_understanding",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.ibm_cloud_natural_language_understanding.$auth.instance_url}/v1/models`,
auth: {
username: `apikey`,
password: `${this.ibm_cloud_natural_language_understanding.$auth.api_key}`,
},
params: {
version: `2022-04-07`,
},
})
},
})