sugar-external-resource-client

Automates outbound HTTP requests from SugarCRM PHP using ExternalResourceClient.

6|3|Updated Oct 27, 2025
One-click install
npx skills add https://github.com/sugarcrm-developers/ai-for-sugar-devs --skill sugar-external-resource-client
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sugar-external-resource-client
Source: https://github.com/sugarcrm-developers/ai-for-sugar-devs/tree/main/skills/sugar-external-resource-client
Command: npx skills add https://github.com/sugarcrm-developers/ai-for-sugar-devs --skill sugar-external-resource-client

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies making outbound HTTP requests from SugarCRM PHP, ensuring secure and efficient communication with external APIs and services.

Core Features & Use Cases

  • Secure HTTP Requests: Utilizes Sugarcrm\Sugarcrm\Security\HttpClient\ExternalResourceClient for secure communication.
  • Customizable Request Options: Supports various options such as JSON payloads, headers, timeouts, and query parameters.
  • Error Handling: Provides robust error handling and response validation.
  • Use Case: Automate webhooks, integrate with external APIs, and execute HTTP requests within logic hooks or schedulers.

Quick Start

Execute an HTTP POST request to 'https://api.example.com/webhook' with JSON payload using the sugar-external-resource-client skill.

Frequently Asked Questions about sugar-external-resource-client

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

FAQPage Schema
How do I make outbound HTTP requests from SugarCRM PHP?

To make outbound HTTP requests from SugarCRM PHP, use the ExternalResourceClient to automate secure API communication with customizable options for JSON payloads, headers, and timeouts.

What is the best way to automate webhooks in SugarCRM logic hooks?

Automating webhooks in SugarCRM logic hooks is best handled by executing outbound HTTP requests to external URLs using the ExternalResourceClient, which supports JSON payloads and robust error handling.

Can I use ExternalResourceClient to integrate external APIs with SugarCRM schedulers?

Yes, you can use ExternalResourceClient to integrate external APIs within SugarCRM schedulers, as it is specifically designed for customizations and workflows requiring secure HTTP communication and response validation.

Does SugarCRM support secure HTTP requests with custom headers and timeouts?

SugarCRM supports secure HTTP requests with custom headers and timeouts through the ExternalResourceClient, which provides customizable request options and robust error handling for external API integration.

Why do my SugarCRM outbound API calls fail when passing JSON payloads?

Outbound API calls passing JSON payloads in SugarCRM may fail due to improper request configuration; ExternalResourceClient provides customizable request options and robust error handling to validate responses and resolve failures.