Sync Closed Won donations to Salesforce journal entries

CRMMarketingSales

What it does

When a donation reaches Closed Won in Salesforce, this automation adds it to a daily journal entry with individual credit line items and a rolled-up debit. Each donation creates a separate credit record so the ledger stays detailed and balanced.

Who it's for

Finance teams who need donations recorded in Salesforce journals without manual entry for each gift.

Apps used

How teams use this

Record individual gifts in the ledger

Each donation becomes its own credit line in the journal entry so the finance team can see which gifts funded which accounts. The rolled-up debit keeps the entry balanced without extra steps.

Batch daily donations into one entry

Multiple Closed Won donations on the same day go into a single journal entry with separate credit lines. This reduces clutter in Salesforce while keeping each gift traceable.

Map donations to specific funds or accounts

Add a filter to route donations to different G/L accounts based on the designation so restricted gifts land in the right ledger bucket. The credit and debit structure stays the same.

How it works

  1. Monitor for Closed Won donations. Watch Salesforce for opportunities where the stage changes to Closed Won, the amount is greater than zero, and no journal entry items exist yet.
  2. Retrieve designation and G/L details. Look up the designation record to find the related general ledger accounts and journal that will receive the donation entry.
  3. Find or create the daily journal. Search Salesforce for an existing journal entry for that day. If none exists, create a new one to batch the donations together.
  4. Add credit and debit line items. Create a credit line item for the donation amount and a debit line item rolled up from all credits so the journal entry balances.