with Attio and Mailercloud?
Emit new event when a list entry is deleted (i.e. when a record is removed from a list).
Emit new event when an existing list entry is updated (i.e. when a list attribute is changed for a specific list entry, e.g. when setting "Owner")
Emit new event when a record, such as person, company, or deal, is added to a list
Emit new event when an object attribute is created (e.g. when defining a new attribute "Rating" on the company object)
Creates a new note for a given record. The note will be linked to the specified record. See the documentation
Adds a new contact to a selected list in the user's Mailercloud account. See the documentation
Creates or updates a specific record such as a person or a deal. If the record already exists, it's updated. Otherwise, a new record is created. See the documentation
Creates a new list in the user's Mailercloud account. See the documentation
Deletes an existing entry from a specific list. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
attio: {
type: "app",
app: "attio",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.attio.com/v2/self`,
headers: {
Authorization: `Bearer ${this.attio.$auth.oauth_access_token}`,
},
})
},
})
Mailercloud API opens the door to robust email marketing and automation possibilities. Within Pipedream's serverless environment, you can leverage this API to create, send, and track email campaigns, manage subscriber lists, and analyze performance metrics. It fits seamlessly into workflows that require communication with customers or internal teams, growing and nurturing leads, or automating email-based tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mailercloud: {
type: "app",
app: "mailercloud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://cloudapi.mailercloud.com/v1/client/plan`,
headers: {
"Authorization": `${this.mailercloud.$auth.api_key}`,
},
})
},
})