Sendloop is a full-featured, easy-to-use email marketing service. You create, send and track your email marketing campaigns without any stress.
Sendloop is a robust email marketing platform designed to help businesses engage with their audience. With Sendloop's API on Pipedream, you can automate email campaigns, manage subscribers, and track the performance of your emails. Pipedream's serverless platform enables you to connect Sendloop with hundreds of other apps, creating powerful workflows that save time and enhance productivity.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendloop: {
type: "app",
app: "sendloop",
}
},
async run({steps, $}) {
const data = {
"APIKey": `${this.sendloop.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://${this.sendloop.$auth.account}.sendloop.com/api/v3/Account.Info.Get/json`,
headers: {
"Content-Type": `application/x-www-form-urlencoded`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})