with Agility CMS and RudderStack Transformation?
Retrieve content models for the Agility instance. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
agility_cms: {
type: "app",
app: "agility_cms",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.agility_cms.$auth.api_url}/${this.agility_cms.$auth.guid}/${this.agility_cms.$auth.api_type}/contentmodels`,
headers: {
"APIKey": `${this.agility_cms.$auth.api_key}`,
},
})
},
})
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}`,
},
})
},
})