with MurList and Microbilt Developer?
MurList API offers the ability to manage and automate email lists and campaigns, streamlining the processes of subscriber management, email sending, and performance tracking. With MurList, you can create, update, and delete subscriber data, design personalized email campaigns, and analyze metrics to enhance your marketing strategies. Pipedream, as a serverless integration and compute platform, supercharges these capabilities by enabling you to connect MurList with an array of other apps and services, creating sophisticated workflows that can run on triggers or schedules.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
murlist: {
type: "app",
app: "murlist",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.murlist.com/campaign/all`,
headers: {
"X-API-KEY": `${this.murlist.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microbilt_developer: {
type: "app",
app: "microbilt_developer",
}
},
async run({steps, $}) {
const data = {
"Address": {
"Addr1": "1640 Airport Road #115",
"City": "Kennesaw",
"State": "GA",
"Zip": "30144"
}
}
return await axios($, {
method: "post",
url: `https://${this.microbilt_developer.$auth.environment}.microbilt.com/AddressStandardization`,
headers: {
Authorization: `Bearer ${this.microbilt_developer.$auth.oauth_access_token}`,
"content-type": `application/json`,
"accept": `application/json`,
},
data,
})
},
})