Customer data platform
Allows you to add one or more email addresses to the global suppressions group. See the docs here
Identify lets you tie a user to their actions and record traits about them. It includes a unique User ID and any optional traits you know about them (note requires userId or anonymousId). See the docs here
The Segment API enables you to collect, manage, and route your customer analytics data to various tools for marketing, analytics, and data warehousing. By harnessing the Segment API on Pipedream, you can automate the ingestion and syncing of user events and properties to multiple destinations, allowing you to create seamless data pipelines without manual intervention. Pipedream's serverless platform empowers you to build custom workflows that react to events in real-time, enrich data, or trigger actions across your tech stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
segment: {
type: "app",
app: "segment",
}
},
async run({steps, $}) {
const data = {
"event": `PipedreamTestOrder`,
"anonymousId": `019mr8mf4r`,
}
return await axios($, {
method: "post",
url: `https://api.segment.io/v1/track`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.segment.$auth.write_key}`,
password: ``,
},
data,
})
},
})
The Twilio SendGrid API opens up a world of possibilities for email automation, enabling you to send emails efficiently and track their performance. With this API, you can programmatically create and send personalized email campaigns, manage contacts, and parse inbound emails for data extraction. When you harness the power of Pipedream, you can connect SendGrid to hundreds of other apps to automate workflows, such as triggering email notifications based on specific actions, syncing email stats with your analytics, or handling incoming emails to create tasks or tickets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendgrid: {
type: "app",
app: "sendgrid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendgrid.com/v3/user/account`,
headers: {
Authorization: `Bearer ${this.sendgrid.$auth.api_key}`,
},
})
},
})