with RepliQ and Brevo?
Retrieve the total number of credits left for the month. See the documentation
Launch a Repliq process by deploying the selected template. See the documentation
Send transactional email. See the docs for more information.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
repliq: {
type: "app",
app: "repliq",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.repliq.co/v2/getCreditsCount`,
headers: {
Authorization: `Bearer ${this.repliq.$auth.api_key}`,
},
})
},
})
The Brevo API lets you automate and integrate your user and access management tasks right within Pipedream. With Brevo's API, you can manage users, groups, permissions, and more, streamlining how you control access to your resources. By crafting workflows on Pipedream, you can connect Brevo with other apps to create custom, automated processes that suit your specific business needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
brevo: {
type: "app",
app: "brevo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.brevo.com/v3/contacts`,
headers: {
"api-key": `${this.brevo.$auth.api_key}`,
},
})
},
})