End-to-End Customer Journey Analytics Platform.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
woopra: {
type: "app",
app: "woopra",
}
},
async run({steps, $}) {
return await axios($, {
url: `http://www.woopra.com/track/ce/`,
auth: {
username: `${this.woopra.$auth.app_id}`,
password: `${this.woopra.$auth.secret}`,
},
params: {
host: `pipedream.com`,
response: `json`,
cookie: `{your_cookie}`,
event: `{your_event_name}`,
},
})
},
})
The Filter API is a great way to build powerful workflows that can manipulate
and transform data. Here are some examples of what you can build using the
Filter API:
export default defineComponent({
async run({ steps, $ }) {
let condition = false
if (condition == false) {
$.flow.exit("Ending workflow early because the condition is false")
} else {
$.export("$summary", "Continuing workflow, since condition for ending was not met.")
}
},
})