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 allows interaction with the SugarCRM API, enabling users to perform various operations on different SugarCRM resources. Specifically for the "Other" resource with the "Create" operation, it lets you create records in custom SugarCRM modules by specifying a custom endpoint and providing JSON payloads.
Common scenarios include:
- Creating records in custom or less common SugarCRM modules not covered by standard resource options.
- Sending complex or customized JSON data structures to SugarCRM endpoints.
- Automating data entry into SugarCRM for bespoke modules or extensions.
Practical example:
- You have a custom module named
CustomModule_cin SugarCRM and want to create new entries programmatically. Using this node, you specifyCustomModule_cas the custom endpoint and provide the JSON payload representing the record fields to create new records seamlessly.
Properties
| Name | Meaning |
|---|---|
| Custom Endpoint | The specific custom SugarCRM module endpoint where the record will be created (e.g., CustomModule_c). |
| Custom JSON Payload | A JSON object containing additional custom fields or data to include in the request body. |
| Send JSON Body | Boolean flag indicating whether to send a JSON body with the request. |
| JSON Body | The actual JSON content to send in the request body if "Send JSON Body" is enabled. |
Output
The node outputs an array of JSON objects representing the created records returned from the SugarCRM API. Each item corresponds to one created record and contains all fields as returned by SugarCRM after creation.
No binary data output is produced by this node.
Dependencies
- Requires valid credentials for SugarCRM API access, including base URL and authentication details.
- Needs an API authentication token obtained via OAuth2 password grant flow using provided credentials.
- Relies on SugarCRM REST API v11_11 endpoints.
Troubleshooting
Error: No records found or unexpected API response structure
This error may occur if the API returns an empty or malformed response. Verify that the custom endpoint is correct and that the JSON payload matches the expected schema for the custom module.Authentication errors
Ensure that the API credentials are correct and have sufficient permissions. Check that the base URL and login details are accurate.JSON parsing errors
When entering JSON in "Custom JSON Payload" or "JSON Body," ensure the JSON syntax is valid. Invalid JSON will cause the node to fail.Missing required fields
The custom module might require certain mandatory fields. Make sure these are included either in the additional fields or the custom JSON payload.