Databox

Connect your data from any tool and track it from any device. No more logging into dozens of different tools to understand performance — now you and your team can easily connect your data, build and share reports, monitor trends, and discover insights.

Integrate the Databox API with the Bash API

Setup the Databox API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Databox and Bash remarkably fast. Free for developers.

Send Custom Data with the Databox API

Sends custom data. See docs here

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of Databox

The Databox API enables you to create custom dashboards, integrating various data sources to track performance metrics in real-time. With Pipedream, you can leverage this API to automate the flow of data between Databox and other applications, creating bespoke monitoring solutions and data-driven workflows that save time and enhance insights.

Connect Databox

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Databox from 'databox'

export default defineComponent({ 
  props: {
    databox: {
      type: "app",
      app: "databox",
    },
  },
  async run({steps, $}) {
    const client = new Databox({
      push_token: `${this.databox.$auth.token}`
    })
    return await new Promise((resolve) => client.metrics((metrics) => resolve(metrics)))
  }
})

Connect Bash

1
2
3
4
5
6
7
# $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