with Ragie and RudderStack Transformation?
Emit new event whenever a new connection is created in Ragie. See the documentation
Emit new event whenever a new document is created in Ragie. See the documentation
Updates an existing document file in Ragie. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ragie: {
type: "app",
app: "ragie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ragie.ai/documents`,
headers: {
Authorization: `Bearer ${this.ragie.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
The RudderStack Transformation API enables you to process and transform data before it's delivered to your data warehouse or other analytics tools. Within Pipedream, you can harness this API to customize the shape and structure of your data, apply business logic, filter out unnecessary information, or enrich data with additional attributes before forwarding it.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rudderstack_transformation: {
type: "app",
app: "rudderstack_transformation",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rudderstack.com/transformations`,
auth: {
username: `${this.rudderstack_transformation.$auth.email_address}`,
password: `${this.rudderstack_transformation.$auth.personal_access_token}`,
},
})
},
})