salesforce-rate-limits

Featured

Implement Salesforce API limit management, backoff, and quota monitoring. Use when handling REQUEST_LIMIT_EXCEEDED errors, implementing retry logic, or optimizing API request throughput for Salesforce. Trigger with phrases like "salesforce rate limit", "salesforce API limit", "salesforce 403", "salesforce retry", "salesforce governor limits", "API quota".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Salesforce Rate Limits ## Overview Handle Salesforce API limits gracefully. Salesforce uses a 24-hour rolling limit (not per-minute), plus concurrent request limits and Bulk API quotas. ## Prerequisites - jsforce connection configured - Understanding of your org's edition and license count - Access to Setup > Company Information ## Instructions ### Step 1: Understand Salesforce API Limits | Limit Type | Calculation | Example (Enterprise, 50 users) | |-----------|-------------|-------------------------------| | Daily API Requests | Base + (per-user * licenses) | 100,000 + (1,000 * 50) = 150,000 | | Concurrent API (long-running) | 25 per org | 25 | | Bulk API 2.0 Ingest Jobs | 15,000/day | 15,000 | | Bulk API 2.0 Query Jobs | 15,000/day | 15,000 | | Composite Subrequests | 25 per call | 25 | | SOQL Query Row Limit | 50,000 per query | 50,000 | | sObject Collections | 200 records per call | 200 | **Key difference from most SaaS APIs:** Salesforce limits are per-org, not per-user or per-key. All integrations sharing the same org share the same pool. ### Step 2: Monitor Remaining Quota ```typescript import { getConnection } from './salesforce/connection'; async function checkApiLimits(): Promise<{ used: number; remaining: number; max: number; percentUsed: number; }> { const conn = await getConnection(); const limits = await conn.request('/services/data/v59.0/limits/'); const daily = limits.DailyApiRequests; const used = daily.Max - daily.Remaining; co...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

salesforce-cost-tuning

Optimize Salesforce costs through API call reduction, edition selection, and license management. Use when analyzing Salesforce costs, reducing API consumption, or choosing the right Salesforce edition for your integration needs. Trigger with phrases like "salesforce cost", "salesforce pricing", "reduce salesforce costs", "salesforce license", "salesforce API usage", "salesforce budget".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesforce-observability

Set up observability for Salesforce integrations with API limit monitoring, error tracking, and alerting. Use when implementing monitoring for Salesforce operations, tracking API consumption, or configuring alerting for Salesforce integration health. Trigger with phrases like "salesforce monitoring", "salesforce metrics", "salesforce observability", "monitor salesforce", "salesforce alerts", "salesforce API usage dashboard".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesforce-load-scale

Implement Salesforce load testing, API limit capacity planning, and Bulk API scaling. Use when running performance tests against Salesforce, planning API consumption, or scaling high-volume Salesforce integrations. Trigger with phrases like "salesforce load test", "salesforce scale", "salesforce performance test", "salesforce capacity planning", "salesforce high volume".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesforce-known-pitfalls

Identify and avoid Salesforce anti-patterns including SOQL N+1, governor limit violations, and API waste. Use when reviewing Salesforce code for issues, onboarding new developers, or auditing existing Salesforce integrations for best practices violations. Trigger with phrases like "salesforce mistakes", "salesforce anti-patterns", "salesforce pitfalls", "salesforce what not to do", "salesforce code review".

2,266 Updated today
jeremylongshore
AI & Automation Featured

salesloft-rate-limits

Handle SalesLoft cost-based rate limiting with backoff and request budgeting. Use when hitting 429 errors, optimizing API throughput, or implementing pagination-aware rate limit strategies. Trigger: "salesloft rate limit", "salesloft 429", "salesloft throttling".

2,266 Updated today
jeremylongshore