with Big Cartel and Plain?
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
Creates or updates customer with customer details. 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`,
},
})
},
})
The Plain API provides functionality for automating customer support tasks, such as managing conversations, customers, and team inboxes. Within Pipedream, you can leverage these features to create custom workflows that respond to events from your app or external services, triggering actions in Plain. By integrating the Plain API with Pipedream, you can enhance customer support efficiency, streamline communication, and keep customer data synchronized across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
plain: {
type: "app",
app: "plain",
}
},
async run({steps, $}) {
const data = {
"query": `query Workspace {
workspace(workspaceId: "${this.plain.$auth.workspace_id}") {
id
publicName
}
}`,
}
return await axios($, {
method: "post",
url: `https://core-api.uk.plain.com/graphql/v1`,
headers: {
Authorization: `Bearer ${this.plain.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})