Customer data platform
Creates a new recipient in a specified group. See the Stannp 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 Stannp API integrates with Pipedream to automate direct mail campaigns. You can create, manage, and send personalized postcards, letters, or flyers using Stannp's services. With Pipedream's serverless platform, you can connect Stannp to various triggers and actions, creating workflows that handle everything from customer outreach to event-triggered mailings. This combination is powerful for businesses looking to blend digital and physical marketing strategies seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
stannp: {
type: "app",
app: "stannp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.stannp.$auth.region}.stannp.com/api/v1/users/me`,
auth: {
username: `${this.stannp.$auth.api_key}`,
password: ``,
},
})
},
})