with Benchmark Email and IBM Cloud - Natural Language Understanding?
Benchmark Email API lets you automate your email marketing efforts. You can manage subscribers, send emails, and track campaign results. With Pipedream's serverless platform, tapping into this API means you can create custom, automated workflows that respond to events in real time across various apps and services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
benchmark_email: {
type: "app",
app: "benchmark_email",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://clientapi.benchmarkemail.com/Client/ProfileDetails`,
headers: {
"AuthToken": `${this.benchmark_email.$auth.api_key}`,
"Content-Type": `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`,
},
})
},
})