with Big Cartel and Langfuse?
Emit new events when a new order is created. See the docs here
Emit new events when a new product is created. See the docs here
Emit new event when user feedback (score) is submitted on a trace in Langfuse. See the documentation
Emit new event when a new trace is recorded in Langfuse. See the documentation
Attach user feedback to an existing trace in Langfuse. See the documentation
The Big Cartel API unlocks the power to automate and integrate your e-commerce operations, enabling you to seamlessly manage products, orders, and store settings. With Pipedream, you can harness this functionality within serverless workflows to trigger actions based on store events, sync data across platforms, or personalize customer interactions—all without the need for dedicated infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
big_cartel: {
type: "app",
app: "big_cartel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bigcartel.com/v1/accounts`,
headers: {
Authorization: `Bearer ${this.big_cartel.$auth.oauth_access_token}`,
"Accept": `application/vnd.api+json`,
"Content-type": `application/vnd.api+json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
langfuse: {
type: "app",
app: "langfuse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.langfuse.$auth.region}.langfuse.com/api/public/observations`,
auth: {
username: `${this.langfuse.$auth.public_key}`,
password: `${this.langfuse.$auth.secret_key}`,
},
})
},
})