with Trakt and lemlist?
Emit new event when a recipient unsubscribes. See docs here
This action adds a lead in the unsubscribed list. See the docs here
This action adds a lead in a specific campaign. If the lead doesn't exist, it'll be created, then inserted to the campaign. The creator of the lead is the campaign's sender See the docs here
This action deletes a lead in the unsubscribed list. See the docs here
Remove one of more items from watchlist. See the documentation
The Trakt API provides an interface to track and discover movies and TV shows, allowing you to manage watchlists, get personalized recommendations, and engage with a social community of film and TV enthusiasts. On Pipedream, you can harness this API to create custom workflows that automate your media activities, sync your watch status with other apps, or even analyze your viewing habits.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
trakt: {
type: "app",
app: "trakt",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.trakt.tv/users/me`,
headers: {
Authorization: `Bearer ${this.trakt.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
"trakt-api-version": `2`,
"trakt-api-key": `${this.trakt.$auth.oauth_client_id}`,
},
})
},
})
The lemlist API allows for the automation of personalized email outreach campaigns. With it, users can manage campaigns, leads, and handle email interactions programmatically. When utilized within Pipedream, this API enables the creation of seamless workflows that can bridge the gap between lead generation, email marketing, and follow-up processes, leading to more efficient engagement strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
lemlist: {
type: "app",
app: "lemlist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.lemlist.com/api/team`,
auth: {
username: ``,
password: `${this.lemlist.$auth.api_key}`,
},
})
},
})