with Dart and EasySendy?
Adds a new subscriber to an EasySendy list. See the documentation
Checks for an existing task within a dartboard using the 'task-name'. If it doesn't exist, a new task is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dart: {
type: "app",
app: "dart",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.itsdart.com/api/v0/users`,
headers: {
Authorization: `Bearer ${this.dart.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
The EasySendy API interfaces with a flexible email marketing solution, allowing users to manage, segment, and engage with their subscribers efficiently. With Pipedream, you can harness this API to automate your email campaigns, synchronize subscriber lists, or trigger event-based email flows. It's perfect for fine-tuning your email outreach strategy with minimal manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
easysendy: {
type: "app",
app: "easysendy",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `http://api.easysendy.com/ver1/listAPI`,
params: {
"Content-Type": `application/x-www-form-urlencoded`,
api_key: `${this.easysendy.$auth.api_key}`,
req_type: `allLists`,
},
})
},
})