with Customer Fields and Dropbox?
Emit new event when a new file is added to your account or a specific folder. Make sure the number of files/folders in the watched folder does not exceed 4000.
Trigger when a new customer is added to the database. See the documentation
Emit new event when a new folder is created. Make sure the number of files/folders in the watched folder does not exceed 4000.
Trigger when a profile of a customer has been updated or changed. See the documentation
Emit new event when a file or folder is added or modified. Make sure the number of files/folders in the watched folder does not exceed 4000.
Create a new customer with detailed attributes using the provided data. See the documentation
Creates a brand new text file from plain text content you specify. See the documentation
Update an existing customer's information with new provided data. See the documentation
Adds a new line to an existing text file, or creates a file if it doesn't exist. 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`,
},
})
},
})
The Dropbox API on Pipedream enables you to automate file and folder operations, streamlining workflows that involve storing, syncing, and sharing content. With this API, you can programmatically manage files, set up event-driven triggers based on changes within Dropbox, and leverage Pipedream's capabilities to connect with hundreds of other apps for extended automation scenarios. It's ideal for building custom file management solutions, archiving systems, or collaborative content workflows without writing extensive code.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dropbox: {
type: "app",
app: "dropbox",
}
},
async run({steps, $}) {
const data = {
"account_id": `${this.dropbox.$auth.oauth_uid}`,
}
return await axios($, {
method: "post",
url: `https://api.dropboxapi.com/2/users/get_account`,
headers: {
Authorization: `Bearer ${this.dropbox.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
data,
})
},
})