with SendinBlue and Cogmento?
Emit new event when triggered by a marketing event
Emit new event when triggered by a transactional event
Emit new event when a new contact is added in Cogmento. See the documentation
Emit new event when a new deal is created in Cogmento. See the documentation
Emit new event when a new task is created in Cogmento. See the documentation
The SendinBlue API offers a suite of email marketing tools, including campaign creation, contact list management, and transactional email sending. It's designed for crafting personalized messages, automating marketing workflows, and tracking the performance of email campaigns. With Pipedream, you can harness the power of SendinBlue by automating interactions with other services, reacting to events with custom code, and stitching together complex workflows with minimal effort.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendinblue: {
type: "app",
app: "sendinblue",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendinblue.com/v3/account`,
headers: {
"api-key": `${this.sendinblue.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cogmento: {
type: "app",
app: "cogmento",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.cogmento.com/api/1/auth/user/`,
headers: {
"accept": `application/json`,
"authorization": `Token ${this.cogmento.$auth.oauth_access_token}`,
},
})
},
})