with Brevo and Heyy?
Emit new event when triggered by a marketing event
Emit new event when a business gets a new incoming message. See the documentation
Emit new event when triggered by a transactional event
Send transactional email. See the docs for more information.
Updates the details of a contact under your business. See the documentation
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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
heyy: {
type: "app",
app: "heyy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.hey-y.io/api/v2.0/business`,
headers: {
Authorization: `Bearer ${this.heyy.$auth.api_token}`,
},
})
},
})