BrandMentions is the most effective method of monitoring your brand or product on the Internet.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
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}`,
},
})
},
})
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id
# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS