salesforce-core-workflow-b

v2026.09.24

Analyze 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".

GitHub
安装命令
npx skhub add jeremylongshore/salesforce-core-workflow-b
Markdown
SKILL.md

Salesforce High-Volume and Composite Operation

Overview

Choose an API from workload evidence, make every batch restartable, and prove final state across partial, asynchronous, and dependent outcomes.

Prerequisites

  • Dataset classification, object dependencies, operation, expected counts, external IDs, and owners
  • Current Bulk API 2.0, Composite, Graph, and sObject Collections documentation
  • Org limits, automation cost, error budget, maintenance window, quarantine, and rollback plans

Tool Discipline

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.

Current Contract

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.

Authentication

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.

Instructions

  1. Profile row count, payload size, dependencies, ordering, latency, atomicity, retry, and reconciliation requirements.
  2. Inspect org entitlements, current API versions, limits, object metadata, automation, external IDs, and lock risks.
  3. Select Bulk API 2.0 for suitable asynchronous volume or the documented Composite resource for bounded dependent requests.
  4. Normalize and validate data, split deterministic batches, assign stable source keys, and create a quarantine ledger.
  5. Run a synthetic or read-only proof, then a small approved non-production write canary.
  6. Execute within the approved capacity window while recording job, graph, batch, request, and result identifiers.
  7. Download successes and failures, re-query target state, reconcile counts and keys, and retry only classified safe subsets.

Approval Boundaries

Do not start high-volume jobs, select serial or parallel behavior, bypass automation, or retry uncertain writes without data, platform, and change-owner approval.

Output

Return the API decision, capacity plan, batch manifest, job identifiers, success and failure ledgers, reconciliation evidence, and rollback or resume point.

Error Handling

ConditionResponse
Job completes with failed recordsQuarantine exact failures and preserve source keys; never replay the whole dataset blindly.
Dependent composite request failsUse documented response status and dependency semantics to determine what committed before compensation.
Locks or automation exceed the stop thresholdPause intake, preserve job state, and revise ordering, concurrency, or window with owners.

Example

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

Resources

Next Steps

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.

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

MIT

源路径

skills/.curated/salesforce-core-workflow-b

默认分支

main

最新提交

e5a6c3b

Tree SHA

c2dc8e8