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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})