Actions40
- Account Actions
- Contact Actions
- Meter Actions
- Opportunity Actions
- Other Actions
- Purchase Line Item Actions
- Revenue Line Item Actions
- Website Registration Actions
Overview
This node interacts with the SugarCRM API to retrieve a single Opportunity record by its ID. It is useful when you need to fetch detailed information about a specific sales opportunity stored in SugarCRM, such as for reporting, data synchronization, or further processing within an automation workflow.
Typical use cases include:
- Retrieving an Opportunity's details before updating or analyzing it.
- Fetching Opportunity data to display or use in other systems.
- Integrating SugarCRM Opportunity data into custom dashboards or reports.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the Opportunity record to retrieve. |
| Send Query Parameters | Whether to send additional query parameters with the request (true/false). |
| Specify Query Parameters | How to specify query parameters if sending them: "Using Fields Below" or "JSON". |
| Query Parameters | A collection of key-value pairs representing query parameters to send (used if "Using Fields Below" is selected). |
| Query Parameters (JSON) | Query parameters specified as a JSON object (used if "JSON" option is selected). |
Output
The output is a JSON object representing the retrieved Opportunity record from SugarCRM. This includes all fields returned by the SugarCRM API for that Opportunity, such as name, description, status, amount, and any custom fields configured in SugarCRM.
The output structure is:
{
"id": "string",
"name": "string",
"description": "string",
// ... other Opportunity fields as provided by SugarCRM
}
If multiple records were requested (not applicable for this operation), the output would be an array of such objects. No binary data is output by this node.
Dependencies
- Requires a valid SugarCRM API credential with appropriate permissions to access Opportunity records.
- The node uses OAuth2 password grant flow to authenticate with SugarCRM.
- The SugarCRM instance URL and credentials must be configured in n8n credentials for this node to function.
Troubleshooting
- No records found or unexpected API response structure: This error may occur if the provided Opportunity ID does not exist or the API response format has changed. Verify the ID is correct and the SugarCRM API is accessible.
- Authentication errors: Ensure the API credentials are valid and have permission to access Opportunities. Check client ID, secret, username, and password.
- Invalid query parameters: If using query parameters, ensure they are correctly formatted and supported by the SugarCRM API for the get operation.
- Network or connectivity issues: Confirm that the SugarCRM instance is reachable from the n8n environment.