Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides expert Salesforce patterns covering LWC, Apex, REST/Bulk APIs, External Client Apps, and Salesforce DX with 2GP packages.
77% 100%+23 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 17 of 22 without it.
We have a legacy backend integration using the SOAP API login() method with username and password to obtain session IDs. We are planning an upgrade. What is the status of SOAP login() in recent API versions, and what auth pattern should we adopt instead?
The response notes that SOAP login() is scheduled for retirement.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
This file contains the detailed procedure and reference material extracted from
SKILL.mdfor focused loading. The root skill defines activation, examples, safety constraints, and limitations.
For current Apex development, make the intended data-access mode explicit.
WITH USER_MODE for SOQL/SOSL that should enforce the running user's object permissions, FLS, sharing, and other supported security controls.Database methods when the operation should enforce user permissions.WITH SECURITY_ENFORCED is legacy guidance and should not be used for new API 67.0+ code.Choose an integration pattern based on latency, volume, ownership, and reliability requirements:
| Requirement | Preferred pattern |
|---|---|
| Synchronous request/response | REST or Composite API |
| Large asynchronous data movement | Bulk API 2.0 |
| Publish business events | Platform Events |
| Detect Salesforce record changes | Change Data Capture |
| High-scale event consumption | Pub/Sub API |
| Salesforce outbound authentication | Named Credentials / External Credential |
| New OAuth client configuration | External Client App |
Do not select an API only because a record-count threshold is crossed. Evaluate data volume, latency, transaction boundaries, retry behavior, error handling, and monitoring.
Prefer events over continuous polling when the platform and integration support it.
Bulk API 2.0 supports event-driven job status and result notifications through Pub/Sub API, including partial query results. Use polling only when event-driven processing is unavailable or unnecessary.
For asynchronous external calls, design for idempotency. A timeout does not prove that the remote operation failed; retrying a non-idempotent request can create duplicates.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.