Datumbox offers an innovative Machine Learning platform specialized in Natural Language Processing.
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Datumbox API offers a robust suite of Machine Learning services that can enrich your applications with advanced text analysis, sentiment analysis, classification, and more. Leveraging this API on Pipedream allows you to create powerful serverless workflows that connect Datumbox's capabilities with numerous other apps and services. Automate content categorization, extract insights from user feedback, or monitor social media sentiment in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
datumbox: {
type: "app",
app: "datumbox",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://api.datumbox.com/1.0/SentimentAnalysis.json`,
params: {
api_key: `${this.datumbox.$auth.api_key}`,
text: `YOUR_TEXT`,
},
})
},
})
# $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