View as Markdown
Little Green Light icon

Little Green Light ACTION

Add Gift

Adds a new gift to a constituent in Little Green Light. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Little Green Light account once, then configure and run Add Gift from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "little_green_light-add-gift",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    little_green_light: { authProvisionId: "apn_xxxxxxx" },
    constituentId: "Constituent ID",
    externalId: "External Id",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add Gift inputs
Property Type Description
constituentId Constituent ID string
The ID of the constituent in Little Green Light.
Required Dynamic
externalId External Id string
The external identifier to the new gift.
Optional
isAnon Is Anon boolean
Gift is anonymous?
Optional
giftTypeId Gift Type ID string
The ID of the gift type.
Optional Dynamic
giftCategoryId Gift Category ID string
The ID of the gift category.
Optional Dynamic
fundId Fund ID string
The ID of the fund.
Optional Dynamic
appealId Appeal ID string
The ID of the appeal.
Optional Dynamic
receivedAmount Received Amount string
The amount of the gift in cents.
Optional
receivedDate Received Date string
The date of the gift. Format YYYY-MM-DD
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
little_green_light-add-gift
Version
0.0.2
App
Little Green Light
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes