with Twenty and Bloomerang?
Emit new event when a record is created, updated, or deleted.
Emit new event when a new constituent profile is created in Bloomerang.
Emit new event when a new interaction is logged for a constituent.
Create, update, or delete a single record in Twenty. This action allows for dynamic handling of records based on specified action type. See the documentation
Adds an interaction to an existing constituent in Bloomerang. See the documentation
Creates a new constituent in Bloomerang. See the documentation
Creates a new donation record in Bloomerang. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
twenty: {
type: "app",
app: "twenty",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.twenty.com/rest/people`,
headers: {
Authorization: `Bearer ${this.twenty.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bloomerang: {
type: "app",
app: "bloomerang",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bloomerang.co/v2/user/current`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.bloomerang.$auth.api_key}`,
},
})
},
})