with Segment and Flodesk?
Emit new event when a subscriber is added to a segment in Flodesk. See the documentation
Emit new event when a subscriber is created in Flodesk. See the documentation
Emit new event when a subscriber is unsubscribed in Flodesk. See the documentation
Send events to a webhook. Requires a Team or Business account.
Add a subscriber to one or more segments in Flodesk. See the documentation
Creates or updates a subscriber in Flodesk. 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 Flodesk API on Pipedream allows you to streamline email marketing efforts by enabling automation of subscriber management and email campaign triggers. With this integration, you can create workflows to sync subscriber data, send personalized emails based on customer actions, and analyze campaign performance, all in a serverless environment. Pipedream's ability to connect with hundreds of apps opens the door to craft custom automation sequences that fit your specific marketing needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
flodesk: {
type: "app",
app: "flodesk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.flodesk.com/v1/subscribers`,
headers: {
Authorization: `Bearer ${this.flodesk.$auth.oauth_access_token}`,
},
})
},
})