docs(audiences): expand field mapping intent best practice to cover SFDC import sync path - #2323
Open
george-dilthey wants to merge 1 commit into
Open
docs(audiences): expand field mapping intent best practice to cover SFDC import sync path#2323george-dilthey wants to merge 1 commit into
george-dilthey wants to merge 1 commit into
Conversation
…FDC import sync path
Contributor
george-dilthey
marked this pull request as ready for review
August 25, 2026 23:28
This was referenced Aug 26, 2026
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Expanded the "Check your field mapping intent before hitting
Start Run" best practice indocs/audiences.mdfrom a one-sentence note into a three-bullet decision guide. The new third bullet explains that when a bulk enrichment writes data back to Salesforce and those Salesforce fields are already mapped in the import field mapping, bulk-enrich field mapping is not required — updated values will appear in the Audience record on the next import sync automatically. If the fields are not in the import field mapping, the user must either enable bulk-enrich field mapping or add those fields to the import field mapping.Why
An Amplitude Enterprise customer (Matt Kahan) asked: "Is there any reason I should be including field mapping to audiences on if we're using this enrichment to update the SFDC records that feed into the audiences anyways? Currently have it turned off." The existing best practice only covered two scenarios (write-directly-to-Audiences and action-only runs) and was silent on this common third pattern — enrichment writes to SFDC, SFDC import sync brings it back into Audiences. A human support agent (Ariana) had to explain the nuance; the answer belongs in the doc so Fin can surface it next time.
Source link(s)
Verifier sub-agent returned PASS on all four behavioral claims with code evidence:
importSync.fieldMapping:clay-base/services/audiences/src/utils/field-mapping-helpers.ts:105-146clay-base/services/audiences/src/materialization/services/big-source-import-handler.ts:49-55clay-base/apps/frontend/src/components/SettingsEditor/SendToAudiences/SendToAudiencesSettingsEditor.tsx:217-220Uncertainties
None — all behavioral claims verified PASS against code.
Related observations
Several other open PRs touch
docs/audiences.mdbut none cover the import-field-mapping vs. bulk-enrich-field-mapping decision point: PRs #2321, #2320, #2317, #2312, #2311, #2305, #2303, #2298, #2295, #2291, #2288, #2280, #2277, #2272, #2261, #2251, #2245, #2232, #2231, #2228, #2227, #2225, #2224. Each was reviewed for overlap; none address this scenario. Reviewers merging those PRs should verify no merge conflicts arise with the best-practice section near the end of the file.Closes DOC-2078