executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
salesforce-core-workflow-bAnalyze and run the correct Salesforce high-volume operation using Bulk API 2.0, Composite, Graph, or sObject Collections with reconciliation. Use when handling large or dependent batches. Trigger with "run a Salesforce bulk workflow".
Independent GitHub snapshot · Automated classification · Original documentation governs
Choose an API from workload evidence, make every batch restartable, and prove final state across partial, asynchronous, and dependent outcomes.
Use Read, Glob, and Grep to inspect approved repository and evidence files, WebFetch to re-check current first-party Salesforce documentation, and Write or Edit only for secretless plans, fixtures, configuration, and redacted receipts.
Bulk API 2.0 performs asynchronous CSV ingest and large queries. Composite APIs combine supported REST subrequests with documented dependency and limit semantics; the best choice depends on volume, dependency graph, latency, and atomicity needs.
Use a dedicated approved principal with only the required API, object, and field permissions. Keep tokens and payload data out of logs, plans, fixtures, and support bundles.
Do not start high-volume jobs, select serial or parallel behavior, bypass automation, or retry uncertain writes without data, platform, and change-owner approval.
Return the API decision, capacity plan, batch manifest, job identifiers, success and failure ledgers, reconciliation evidence, and rollback or resume point.
| Condition | Response |
|---|---|
| Job completes with failed records | Quarantine exact failures and preserve source keys; never replay the whole dataset blindly. |
| Dependent composite request fails | Use documented response status and dependency semantics to determine what committed before compensation. |
| Locks or automation exceed the stop threshold | Pause intake, preserve job state, and revise ordering, concurrency, or window with owners. |
A redacted completion receipt might look like this:
mode=bulk-v2-upsert; rows=120000; key=Legacy_Id__c; canary=100-pass; success=119980; quarantine=20; reconciled=yes
Run the workflow first in the lowest-risk authorized org and preserve its redacted receipt. Schedule a review against the next Salesforce seasonal release and the customer change calendar.