Customer-Facing Analytics
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Datawaves is a powerful API that enables developers to easily and efficiently
access data from a variety of sources. With Datawaves, you can easily connect
to and query data from popular data sources such as Amazon Redshift, Google
BigQuery, and Microsoft SQL Server.
In addition, Datawaves provides a number of features that make it easy to work
with data, including:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
datawaves: {
type: "app",
app: "datawaves",
}
},
async run({steps, $}) {
const data = {
"id": `123`,
"product": `iPhone Charger`,
}
return await axios($, {
method: "post",
url: `https://datawaves.io/api/v1.0/projects/${this.datawaves.$auth.project_id}/events/test`,
headers: {
"Authorization": `${this.datawaves.$auth.secret_key}`,
},
data,
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})