Customer data platform
Send events to a webhook. Requires a Team or Business account.
Subscribe customer to a plan. See the documentation
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 Acelle Mail API opens doors for you to engage with your audience through crafted email campaigns, subscriber management, and analytics directly through Pipedream. By leveraging Pipedream's capabilities, you can automate workflows that respond to new subscribers, trigger campaigns based on external events, and analyze the performance of your email marketing efforts, all in real-time.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
acelle_mail: {
type: "app",
app: "acelle_mail",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.acelle_mail.$auth.api_endpoint}/api/v1/plans`,
params: {
api_token: `${this.acelle_mail.$auth.api_token}`,
},
})
},
})