View as Markdown
Little Green Light icon

Little Green Light ACTION

Create Constituent

Adds a constituent to an account along with related objects. 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 Create Constituent 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-create-constituent",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    little_green_light: { authProvisionId: "apn_xxxxxxx" },
    externalConstituentId: "External Constituent Id",
    isOrg: true,
  },
})

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.

Create Constituent inputs
Property Type Description
externalConstituentId External Constituent Id string
The external identifier to the new constituent.
Optional
isOrg Is Org boolean
This constituent is an organization or company.
Optional
firstName First Name string
The first name of the constituent.
Required
middleName Middle Name string
The middle name of the constituent.
Optional
lastName Last Name string
The last name of the constituent.
Required
email Email string
Email Address of the constituent.
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-create-constituent
Version
0.0.2
App
Little Green Light
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes