with Vend and EasySendy?
Adds a new subscriber to an EasySendy list. See the documentation
The Vend API offers programmatic access to retail management features, enabling users to automate processes related to inventory, sales, products, customers, and more within their retail business. Through Pipedream, you can harness this API to create custom workflows that trigger on various events within Vend, process data, integrate with other apps, and automate actions to streamline retail operations, enhance customer engagement, and optimize sales strategies.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vend: {
type: "app",
app: "vend",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.vend.$auth.domain_prefix}.vendhq.com/api/2.0/security_events`,
headers: {
Authorization: `Bearer ${this.vend.$auth.oauth_access_token}`,
},
})
},
})
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`,
},
})
},
})