Official documentation
How Salesforce fits the workflow
We define explicit field mappings, API patterns, bulk handling and API-limit monitoring for each build. Salesforce Flow is paired with an outside worker only where a documented requirement needs it.
How data moves through Salesforce
Starts in
Inbound lead sources
Each scored batch
- Sends: Records, scores, territory rules and consent
Salesforce, in the Aristral build
Deduplicates and bulk-upserts into the right owner queue within API limits
- Writes: Lead records in owner queues
Written to
Salesforce
Where a person checks Validation failures are quarantined for your Salesforce administrator.
Use cases for Salesforce
- Bulk-upsert AI-scored leads from inbound sources into the correct owner queue. Source records, scores, territory rules and consent go in; deduplicated Salesforce records come out. Validation failures are quarantined, and API limits trigger controlled retry batches.
- Start a Python pipeline when an Opportunity reaches Proposal stage and generate a draft proposal from approved CRM fields and templates. Missing fields stop generation, and a failed write leaves the Opportunity unchanged.
- Feed a BI tool from Salesforce reports through the REST API. Report rows and a sync cursor become a normalised dataset; rate limits back off, and a failed batch replays from the last confirmed cursor.
When Salesforce is the right choice
Salesforce suits builds where it is the governed source of truth and the work depends on established objects, profiles, territories and validation rules. The scope includes the relevant API and security controls.
Related guides: CRM automation examples, Salesforce included
Scope and boundaries
- Supported: REST and bulk APIs, objects, reports, events, Flow hand-offs and explicit mappings. Not supported: bypassing validation, profiles or territory ownership.
- Data and consent: respect field-level security, retention and contact preferences. AI outputs are treated as proposed data until approved.
- Errors and retries: batches tracked with cursors, backoff and idempotency. Validation context is returned, and auth or schema failures raise an alert.
- Handover: Aristral documents mappings, API behaviour, tests and runbooks. Your administrator owns permissions, schema and governance.
Typical implementation
- Week 1: review objects, profiles, validation, territories, limits and ownership.
- Week 2: define mappings and build a controlled read and write path.
- Week 3: add bulk handling, cursors, deduplication, retries and monitoring.
- Week 4: test normal, rejected, duplicate, delayed and rate-limited records.
- Week 5: release queue by queue, monitor jobs and hand over the runbook.
Frequently asked questions
Can you integrate a customised Salesforce org?
Yes. We start from the live schema, profiles, validation rules and ownership model.
How do you handle API limits?
We work to your org's platform limits with a batch or cursor strategy and defined recovery behaviour.
Can AI update Salesforce?
Yes, where the fields and approval rules allow it. Fields governed by approval rules are reviewed before any update.