with Loops.so and Encharge?
The Loops.so API enables you to automate repetitive tasks, create custom integrations, and manage video campaigns directly from Pipedream. It offers endpoints to manage videos, incorporate user-generated content, and track metrics. On Pipedream, you can connect Loops.so with a multitude of other services for seamless data flow across platforms, enabling efficient automation of content distribution, marketing analytics, and customer engagement workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
loops_so: {
type: "app",
app: "loops_so",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.loops.so/api/v1/api-key`,
headers: {
Authorization: `Bearer ${this.loops_so.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
The Encharge API lets you automate your marketing by managing contacts, sending emails, and tracking user actions. Using Pipedream's serverless platform, you can connect Encharge with other apps to create custom workflows. Trigger actions based on events, update user segments, or synchronize data across your marketing stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
encharge: {
type: "app",
app: "encharge",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.encharge.io/v1/accounts/info`,
headers: {
Authorization: `Bearer ${this.encharge.$auth.oauth_access_token}`,
},
})
},
})