integration-patterns

Automate Salesforce REST/SOAP callouts with Named Credentials and retry logic.

2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/bhanu91221/claude-sfdx-iq --skill integration-patterns-bhanu91221
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-patterns
Source: https://github.com/bhanu91221/claude-sfdx-iq/tree/main/skills/integration-patterns
Command: npx skills add https://github.com/bhanu91221/claude-sfdx-iq --skill integration-patterns-bhanu91221

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines building robust Salesforce integrations by offering proven patterns for external callouts, credential management, retry logic, and asynchronous processing.

Core Features & Use Cases

  • Named Credentials configuration and external credential handling for secure, centralized authentication.
  • REST and SOAP callout patterns with structured error handling, timeouts, and retry strategies.
  • Retry with exponential backoff, circuit breaker, and queueable/batch approaches to handle high-volume or unreliable external services.
  • Triggers and event-driven guidance for safe callouts, including best practices around governor limits and error recovery.
  • Decision matrices and governance guidance to choose the appropriate integration pattern per scenario.

Quick Start

Provide a real-world Salesforce integration scenario to generate applicable patterns and sample Apex code.

Frequently Asked Questions about integration-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle Salesforce callouts and retry logic when external services are unreliable?

Salesforce callouts and retry logic are handled using patterns like exponential backoff and circuit breaking to manage unreliable external services. Queueable and batch approaches process high-volume requests safely within governor limits.

What is the best way to secure external credentials for Salesforce REST and SOAP integrations?

Securing external credentials for Salesforce REST and SOAP integrations is best achieved using Named Credentials. This pattern centralizes authentication, separates code from credential storage, and simplifies secure external endpoint configuration.

How do I make asynchronous HTTP callouts from Salesforce triggers without hitting governor limits?

Asynchronous HTTP callouts from Salesforce triggers are handled using queueable patterns to avoid governor limits. This event-driven approach defers execution, enabling safe external requests and robust error recovery away from synchronous trigger contexts.

When should I use circuit breaker patterns in Salesforce external integrations?

Circuit breaker patterns in Salesforce external integrations are used when dependent external services experience downtime or high latency. This pattern temporarily halts callouts, preventing cascading failures and preserving system resources during outages.

How do I choose between real-time and batch integration patterns for Salesforce?

Choosing between real-time and batch integration patterns for Salesforce requires evaluating scenario volume and latency needs. Decision matrices and governance guidance compare REST, SOAP, and queueable approaches to recommend the appropriate scalable architecture.