with Lightspeed eCom (C-Series) and Anthropic (Claude)?
Emit new event when a customer is updated.
Emit new event when an invoice is updated.
Emit new event when a customer is created.
Emit new event when an invoice is created.
Emit new event when an order is created.
The Chat API. See the documentation
Find a customer by ID. See the documentation
Find an invoice by ID. See the documentation
Find an order by ID. See the documentation
Find an product by ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lightspeed_ecom_c_series: {
type: "app",
app: "lightspeed_ecom_c_series",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.${this.lightspeed_ecom_c_series.$auth.cluster}.com/${this.lightspeed_ecom_c_series.$auth.lang}/account.json`,
auth: {
username: `${this.lightspeed_ecom_c_series.$auth.api_key}`,
password: `${this.lightspeed_ecom_c_series.$auth.api_secret}`,
},
})
},
})
The Anthropic (Claude) API offers a conversational AI that can be leveraged for a variety of applications, ranging from answering questions to generating content or providing customer support. In Pipedream, you can create powerful workflows that utilize the capabilities of Claude to automate responses, analyze text, or enhance data with AI-generated insights. Pipedream's serverless platform simplifies integrating Claude into your processes with other apps and services for seamless automation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
anthropic: {
type: "app",
app: "anthropic",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.anthropic.com/v1/models`,
headers: {
"x-api-key": `${this.anthropic.$auth.api_key}`,
"anthropic-version": `2023年06月01日`,
},
})
},
})