with Campaign Monitor and Backlog (API)?
Creates a new subscriber on a specific list. See the documentation
Sends an intelligent transactional email to a specified recipient. See the documentation
Removes a subscriber from a mailing list given their email address. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
campaign_monitor: {
type: "app",
app: "campaign_monitor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.createsend.com/api/v3.3/primarycontact.json`,
headers: {
Authorization: `Bearer ${this.campaign_monitor.$auth.oauth_access_token}`,
"Content-Type": `application/json; charset=utf-8`,
},
})
},
})
The Backlog API provides a suite of functions for developers to integrate with and automate their project management needs. Through Pipedream, you can harness this API to create workflows that respond to events in Backlog, manipulate issues, track progress, and sync with other tools. This seamless integration allows you to streamline project management tasks, keep your team informed in real-time, and connect Backlog with other apps to enhance your productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
backlog_api: {
type: "app",
app: "backlog_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://xx.backlog.com/api/v2/users/myself`,
params: {
apiKey: `${this.backlog_api.$auth.api_key}`,
},
})
},
})