with Customer Fields and Gainsight PX?
Trigger when a new customer is added to the database. See the documentation
Trigger when a profile of a customer has been updated or changed. See the documentation
Create a new customer with detailed attributes using the provided data. See the documentation
Create a new account with the given data. See the documentation
Deletes a user with he specified identifyId. See the documentation
Update an existing customer's information with new provided data. See the documentation
The Customer Fields API provides a suite of tools for managing customer data in e-commerce platforms, including custom form fields and data automation. With it, you can efficiently tailor customer interactions, streamline data collection, and enhance the shopping experience. Integrating Customer Fields with Pipedream allows for seamless automation of tasks like syncing data to other platforms, triggering personalized communications, or managing customer segments based on custom field data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
customer_fields: {
type: "app",
app: "customer_fields",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.customerfields.com/api/v2/shop.json`,
headers: {
Authorization: `Bearer ${this.customer_fields.$auth.oauth_access_token}`,
"accept": `application/json`,
"content-type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gainsight_px: {
type: "app",
app: "gainsight_px",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.gainsight_px.$auth.base_endpoint}/accounts`,
headers: {
"X-APTRINSIC-API-KEY": `${this.gainsight_px.$auth.api_key}`,
},
})
},
})