with Bridge and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Bridge API by Dandelion provides text analysis through natural language processing, enabling you to extract meaning, categorize content, and understand sentiments in large volumes of text. Integrating Bridge with Pipedream opens a realm of possibilities for automating content analysis across various apps, aiding in decision making, content organization, and customer feedback analysis.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bridge: {
type: "app",
app: "bridge",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bridgeapi.io/v2/banks`,
headers: {
"Client-Id": `${this.bridge.$auth.client_id}`,
"Client-Secret": `${this.bridge.$auth.client_secret}`,
"Bridge-Version": `2021-06-01`,
},
})
},
})
# $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