View as Markdown
Donately icon

Donately ACTION

List Donations

List donations for an account. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Donately account once, then configure and run List Donations 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: "donately-list-donations",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    donately: { authProvisionId: "apn_xxxxxxx" },
    accountId: "Account ID",
    status: "Status",
  },
})

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.

List Donations inputs
Property Type Description
accountId Account ID string
The ID of the account to get. Use the List Accounts action to get a list of account IDs.
Required
status Status string
Filter donations by status.
Optional
personId Person ID string
Filter by donor. Use the List People action to get a list of person IDs.
Optional
campaignId Campaign ID string
The ID of a campaign. Use the List Campaigns action to get a list of campaign IDs.
Optional
fundraiserId Fundraiser ID string
Filter by fundraiser. Use the List Fundraisers action to get a list of fundraiser IDs.
Optional
donationType Donation Type string
Filter by donation type.
Optional
recurring Recurring boolean
Filter by recurring donations.
Optional
anonymous Anonymous boolean
Filter by anonymous donations.
Optional
currency Currency string
ISO currency code (e.g. usd, cad).
Optional
keyword Keyword string
Text search.
Optional
amountInCents Amount in Cents integer
Filter by donation amount in cents.
Optional
created Created object
Date range filter for when donations were created. Use gt and/or lt with Unix timestamps (e.g. {"gt": 1704067200, "lt": 1706745600}).
Optional
updated Updated object
Date range filter for when donations were updated. Use gt and/or lt with Unix timestamps (e.g. {"gt": 1704067200, "lt": 1706745600}).
Optional
maxResults Max Results integer
The maximum number of results to get.
Optional
sort Sort string
Sort order. Either ASC or DESC.
Optional
orderBy Order By string
Field to sort by (e.g. created_at, amount_in_cents).
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
donately-list-donations
Version
0.0.2
App
Donately
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes