with Little Green Light and Data Stores?
Adds a new gift to a constituent in Little Green Light. See the documentation
Add or update a single record in your Pipedream Data Store
Adds a constituent to an account along with related objects. See the documentation
Add or update multiple records to your Pipedream Data Store
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
The Little Green Light API provides access to a robust donor management platform, allowing for the creation, retrieval, update, and deletion of donor data. With the API, you can automate tasks related to fundraising, event management, and donor engagement. On Pipedream, you can harness this API to construct serverless workflows that trigger on various events, integrate with other apps, and automate repetitive tasks without managing infrastructure.
Note: Little Green Light strongly recommends against connecting your LGL account with any AI services like ChatGPT, as that could lead to unintended use of personal data.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
little_green_light: {
type: "app",
app: "little_green_light",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.littlegreenlight.com/api/v1/constituents`,
headers: {
Authorization: `Bearer ${this.little_green_light.$auth.api_key}`,
},
})
},
})
Data Stores are a key-value store that allow you to persist state and share data across workflows. You can perform CRUD operations, enabling dynamic data management within your serverless architecture. Use it to save results from API calls, user inputs, or interim data; then read, update, or enrich this data in subsequent steps or workflows. Data Stores simplify stateful logic and cross-workflow communication, making them ideal for tracking process statuses, aggregating metrics, or serving as a simple configuration store.
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})