Create customer sign-up forms as unique as your business, and save custom data to customer accounts.
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.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
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`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})