sf-integration

Generate and validate Salesforce integration credentials, services, and event patterns.

6|Updated Dec 20, 2023
One-click install
npx skills add https://github.com/ronitnuguru/Package-Visualizer --skill sf-integration-ronitnuguru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sf-integration
Source: https://github.com/ronitnuguru/Package-Visualizer/tree/main/.cursor/skills/sf-integration
Command: npx skills add https://github.com/ronitnuguru/Package-Visualizer --skill sf-integration-ronitnuguru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sf, jq, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Salesforce integration work is complex and error-prone, requiring careful management of credentials, services, and event-driven workflows. This skill provides a structured approach to generating and validating credentials (Named Credentials and External Credentials), registering External Services, implementing REST/SOAP callouts, Platform Events, and Change Data Capture, and it scores implementations for quality and reliability.

Core Features & Use Cases

  • Named Credential generation and usage for secure authentication
  • External Credential and External Service creation from OpenAPI specs
  • REST/SOAP callout patterns with synchronous and asynchronous variants
  • Platform Events and Change Data Capture patterns for event-driven integrations
  • 120-point scoring rubric guiding security, error handling, bulkification, architecture, best practices, and documentation
  • Helper scripts to automate credential deployment and configuration

Quick Start

Provide a practical integration scenario to start, and the skill will generate credentials, services, and event wiring for your Salesforce org.

Frequently Asked Questions about sf-integration

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

FAQPage Schema
How do I create Named Credentials and External Credentials for Salesforce callouts?

Salesforce credentialing automates Named and External Credentials generation to secure REST and SOAP callouts. You provide an integration scenario, and the skill generates the necessary authentication metadata, external services, and deployment configurations for your org.

How does Change Data Capture and Platform Events work for Salesforce integrations?

Change Data Capture and Platform Events enable event-driven Salesforce integrations by automatically publishing record changes to event channels. This skill generates the metadata wiring and Apex patterns required to subscribe to these events and trigger downstream asynchronous workflows reliably.

What is the best way to register External Services from an OpenAPI spec in Salesforce?

Registering External Services from an OpenAPI spec involves generating external credentials, validating the schema, and deploying the service metadata. This skill automates that end-to-end flow, creating the service registration and invocable actions for direct use in Salesforce flows.

Do I need Salesforce CLI and metadata API access to automate integration deployment?

Yes, you need Salesforce CLI tooling, specifically the sf command, and metadata API access to deploy credentials, external services, and event configurations. The skill also requires jq for processing JSON outputs during automated validation and deployment across environments.

How do I validate and score the reliability of my Salesforce REST callout architecture?

Validating Salesforce callout architecture requires checking error handling, bulkification, and security. This skill applies a 120-point scoring rubric to evaluate your REST and SOAP implementations against best practices, ensuring robust and reliable synchronous and asynchronous integration patterns.

Can I use this skill for both synchronous and asynchronous Salesforce integration patterns?

Yes, this skill supports both synchronous and asynchronous Salesforce integration patterns. It generates REST and SOAP callout frameworks for direct requests, alongside Platform Events and Change Data Capture configurations for event-driven, decoupled asynchronous architectures.