with Timeular and Customer.io?
Add people to a manual segment by ID. You are limited to 1000 customer IDs per request. See the docs here
Creates a new tag within the given space and scope. See the documentation
The Timeular API lets you track, analyze, and manage your time directly, integrating your time tracking activities with other apps and automations. With Pipedream, you can harness the API to create custom workflows, such as triggering events based on time tracking data, syncing time entries with project management tools, or even automating invoicing processes based on tracked time. It's about connecting Timeular's detailed time tracking capabilities with other services to streamline productivity and reporting.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
timeular: {
type: "app",
app: "timeular",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.timeular.com/api/v3/me`,
headers: {
Authorization: `Bearer ${this.timeular.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})