with YouCanBook.Me and Mailchimp?
Adds a new note to an existing subscriber. See docs here
Adds a new subscriber to an audience or updates existing subscriber. See docs here
Adds an email address to a tag within an audience. See docs here
The YouCanBook.Me API allows for automating appointment scheduling by integrating with your calendar. It can trigger actions when new bookings are made, modified, or canceled. Building on Pipedream's platform enables developers to create robust workflows that can interact with other services. For example, you can confirm appointments, sync with other calendars, send custom emails, or update CRM records based on booking activities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
youcanbook_me: {
type: "app",
app: "youcanbook_me",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.youcanbook.me/v1/${this.youcanbook_me.$auth.account_id}/profiles`,
auth: {
username: `${this.youcanbook_me.$auth.username}`,
password: `${this.youcanbook_me.$auth.api_key}`,
},
})
},
})
The Mailchimp API taps into the heart of your email marketing efforts, allowing you to manage subscribers, campaigns, and reports. With the API, you can automate tasks like syncing subscriber lists, segmenting contacts based on behavior, and personalizing email content to match user profiles. It's a powerful tool for marketers looking to fine-tune their email strategy and maximize engagement.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailchimp: {
type: "app",
app: "mailchimp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://login.mailchimp.com/oauth2/metadata`,
headers: {
Authorization: `Bearer ${this.mailchimp.$auth.oauth_access_token}`,
},
})
},
})