with Mailrelay and BrandMentions?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailrelay: {
type: "app",
app: "mailrelay",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.mailrelay.$auth.domain}/api/v1/package`,
headers: {
"x-auth-token": `${this.mailrelay.$auth.api_key}`,
},
})
},
})
The BrandMentions API lets you monitor and engage with online conversations about your brand in real-time. It provides insights into brand mentions across various channels, including social media, blogs, forums, and news sites. Pipedream serves as a powerful platform, enabling you to build automated workflows that respond to brand mentions, giving you the ability to track sentiment, identify influencers, and manage your brand’s online reputation efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
brandmentions: {
type: "app",
app: "brandmentions",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.brandmentions.com/command.php`,
params: {
command: `ListProjects`,
api_key: `${this.brandmentions.$auth.api_key}`,
},
})
},
})