Sync Salesforce and Raiser's Edge IDs in both systems

UtilitiesCRMMarketingSalesFundraising

What it does

When someone calls the Set IDs in both systems endpoint, this automation links a Salesforce contact to a Raiser's Edge constituent. It writes each system's ID into the other and logs conflicts to Google Sheets when a record is already linked to a different ID.

Who it's for

Operations teams who maintain donor data in both Salesforce and Raiser's Edge and need records to stay linked.

How teams use this

Link a new donor across both systems

Set the IDs when a donor is created in one system and needs to be connected to an existing record in the other. The link ensures data syncs correctly between Salesforce and Raiser's Edge going forward.

Catch duplicate linking mistakes

When someone tries to link a contact to a constituent that is already linked to a different record, the automation logs the conflict to Google Sheets. The team can then review and fix the mistake before data gets corrupted.

Audit linking history in a spreadsheet

Add a step to log every successful link to Google Sheets as well, so the team has a record of when and how records were connected. Include a separate sheet for audit purposes only.

How it works

  1. Receive IDs to link. Someone calls the Set IDs in both systems endpoint with a Salesforce ID and a Raiser's Edge ID to link the two records together.
  2. Fetch the Salesforce contact. Look up the contact in Salesforce by ID to check if a Raiser's Edge ID is already set on that record.
  3. Fetch the Raiser's Edge constituent. Look up the constituent in Raiser's Edge by ID to check if a Salesforce ID is already set on that record.
  4. Log conflicts to Google Sheets. When a record is already linked to a different ID in either system, add a row to the sheet so the team can review the conflict.
  5. Return the result. Send back a success or error response so the caller knows whether the IDs were linked or a conflict was found.