with Typeform and Lightspeed eCom (C-Series)?
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.
The Typeform API furnishes you with the means to create dynamic forms and collect user responses in real-time. By leveraging this API within Pipedream's serverless platform, you can automate workflows to process this data, integrate seamlessly with other services, and react to form submissions instantaneously. This empowers you to craft tailored responses, synchronize with databases, trigger email campaigns, or even manage event registrations without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
typeform: {
type: "app",
app: "typeform",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.typeform.com/me`,
headers: {
Authorization: `Bearer ${this.typeform.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})