with Elastic Email and Customer.io?
Emit new event when a new contact is added to a mailing list. See the documentation
Emit new event when a recipient clicks a link in an email. See the documentation
Emit new event when a recipient opens an email. See the documentation
Adds a new contact to a mailing list. See the documentation
Add people to a manual segment by ID. You are limited to 1000 customer IDs per request. See the docs here
Sends, tracks a customer event to Customer io. See the docs here
The Elastic Email API allows you to integrate a robust email sending platform into your Pipedream workflows. Use it to send emails, manage contacts, and track campaign statistics. With this API, you can automate email notifications, synchronize subscriber lists, or trigger marketing campaigns based on user actions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
elastic_email: {
type: "app",
app: "elastic_email",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.elasticemail.com/v2/account/profileoverview`,
headers: {
"X-ElasticEmail-ApiKey": `${this.elastic_email.$auth.api_key}`,
},
})
},
})
Customer.io is a versatile automation tool that allows you to harness the power of email, SMS, and push notifications to create personalized customer experiences. With its comprehensive API, Customer.io enables you to track customer interactions, segment audiences, and trigger targeted communications based on user behavior and data. By leveraging Pipedream, you can easily connect Customer.io to various other services and APIs to automate complex workflows, synthesize data, and respond to events in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
customer_io: {
type: "app",
app: "customer_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://track.customer.io/api/v1/accounts/region`,
auth: {
username: `${this.customer_io.$auth.site_id}`,
password: `${this.customer_io.$auth.api_key}`,
},
})
},
})