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.
Create a HTML or a plain text email template. See the docs
Send an email using Amazon SES. Supports simple email messaging. See the docs
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`,
},
})
},
})
Amazon Simple Email Service (SES) is a powerful cloud-based email sending service designed to help digital marketers and application developers send marketing, notification, and transactional emails. With the SES API, you can reliably send emails at scale, manage sender reputations, view email sending statistics, and maintain a high deliverability rate. Leveraging Pipedream's capabilities, you can integrate SES seamlessly into serverless workflows, automate email responses based on triggers from other apps, and analyze the effectiveness of your email campaigns by connecting to data analytics platforms.
module.exports = defineComponent({
props: {
amazon_ses: {
type: "app",
app: "amazon_ses",
}
},
async run({steps, $}) {
const AWS = require("aws-sdk")
const { accessKeyId, secretAccessKey } = this.amazon_ses.$auth
const ses = new AWS.SES({
accessKeyId,
secretAccessKey,
region: 'us-east-1',
})
const sesParams = {
Destination: {
ToAddresses: ["<your email here>"],
},
Message: {
Body: {
Html: {
Charset: "UTF-8",
Data: "<h1>This is a test</h1>",
},
Text: {
Charset: "UTF-8",
Data: "This is a test",
}
},
Subject: {
Charset: "UTF-8",
Data: "Test email",
}
},
Source: "<your from address here",
};
this.resp = await ses.sendEmail(sesParams).promise()
},
})