with Bloom Growth and Bash?
Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.
The Bloom Growth API provides a suite of tools for business management and growth, focusing on customer relationships, project management, and data analysis. With Pipedream, you can leverage this API to create automated workflows that integrate Bloom Growth's functionalities with other apps, streamline processes, and enhance data-driven decision-making.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bloom_growth: {
type: "app",
app: "bloom_growth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.bloomgrowth.com/api/v1/users/mine`,
headers: {
Authorization: `Bearer ${this.bloom_growth.$auth.oauth_access_token}`,
"Accept": `application/json`,
},
})
},
})
# $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