with Salesloft and Blackbaud?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
salesloft: {
type: "app",
app: "salesloft",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.salesloft.com/v2/me`,
headers: {
Authorization: `Bearer ${this.salesloft.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
The Blackbaud API offers programmable access to a suite of services for educational institutions, nonprofits, and foundations, focusing on fundraising, relationship management, marketing, and financial functions. Leveraging this API on Pipedream allows for automated interactions with donor records, campaign metrics, and financial data, simplifying tasks like synchronizing donor information, triggering communications based on donations, or reporting financial insights to stakeholders.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
blackbaud: {
type: "app",
app: "blackbaud",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sky.blackbaud.com/webhook/v1/subscriptions`,
headers: {
Authorization: `Bearer ${this.blackbaud.$auth.oauth_access_token}`,
"Bb-Api-Subscription-Key": `${this.blackbaud.$auth.bb_api_subscription_key}`,
},
})
},
})