Skip to content

docs(salesforce-faqs): clarify CreatedBy is immutable and reconnect only fixes future records - #2344

Open
george-dilthey wants to merge 1 commit into
mainfrom
docsbot/doc-2099-intercom-tag-0826-f7139f1a
Open

docs(salesforce-faqs): clarify CreatedBy is immutable and reconnect only fixes future records#2344
george-dilthey wants to merge 1 commit into
mainfrom
docsbot/doc-2099-intercom-tag-0826-f7139f1a

Conversation

@george-dilthey

Copy link
Copy Markdown
Contributor

What changed

Added two clarifications to the "Why do records created or updated by Clay show my name (or another user's name) in Salesforce's Created By or Last Modified By field?" FAQ in docs/salesforce-integration-faqs.md:

  1. Explicitly states that CreatedBy is immutable in Salesforce — set at record creation and cannot be changed afterward by any tool. The previous wording said "Clay does not have a mechanism to override this," which incorrectly framed this as a Clay design choice rather than a fundamental Salesforce database constraint.
  2. Clarifies that reconnecting the integration only affects future records — CreatedBy on existing records cannot be retroactively updated.
  3. Adds a sentence connecting the admin-permission concern (connected user has excessive Salesforce admin access) to the existing restricted-user guidance, so customers understand that reconnecting under a dedicated integration user solves both the audit-trail issue and the access-scope issue at once.

Why

Intercom conversation #215475657045862 (https://app.intercom.com/a/apps/w28k1kwz/inbox/inbox/conversation/215475657045862): An enterprise customer asked why all Salesforce records created by Clay showed a specific person (Chris Wade) as CreatedBy and Lead Owner, and whether Clay was running through that person's account as a service account. A human support rep had to answer because the existing docs didn't make clear that:

  • CreatedBy is a Salesforce-immutable field (a Salesforce constraint, not a Clay limitation)
  • Reconnecting only helps for future records — existing CreatedBy fields cannot be changed
  • The recommended fix for admin-permission concerns is to reconnect under a restricted integration user

The human's answer: "Clay's Salesforce integration authenticates through the OAuth connection of whoever connected it, so every record Clay creates shows that user as CreatedBy. CreatedBy can't be changed after the fact, it's set by Salesforce at creation. The owner is controllable though: map the Lead Owner field in your Salesforce action to the Salesforce user ID you want. For the admin-level concern, reconnect the Salesforce integration under a dedicated integration user with only the permissions Clay needs."

The Lead Owner coverage was already complete in the existing FAQ ("Why is the owner on a new Salesforce lead or contact set to the Clay integration user?"). Only the CreatedBy immutability and "future records only" scope were missing.

Source link(s)

Uncertainties

None. All three behavioral claims verified PASS by the verifier sub-agent with file:line evidence. The CreatedBy immutability is a documented Salesforce API contract.

Related observations

Closes DOC-2099

@linear-code

linear-code Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

DOC-2099

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant