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 integrates with the SugarCRM API to perform various operations on CRM resources, including Meters. Specifically, the Update Meter operation allows users to update an existing meter record in SugarCRM by specifying its ID and the fields to modify.
Common scenarios for this node include:
- Synchronizing meter data from external systems into SugarCRM.
- Updating meter attributes such as name or description after changes.
- Automating updates to meters based on workflow triggers.
For example, you could use this node to update the description of a meter when new information becomes available or to rename a meter based on user input.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the meter record to update. |
| Additional Fields | Optional fields to update on the meter record. Includes: |
| - Name: The name of the meter. | |
| - Description: A textual description of the meter. | |
| Custom JSON Payload | A JSON object allowing custom fields or complex structures to be added to the update request body. |
| Send JSON Body | Boolean flag indicating whether to send a JSON body with the request. |
| JSON Body | The raw JSON body to send with the request if "Send JSON Body" is enabled. |
Output
The node outputs the updated meter record as a JSON object in the json output field. This object reflects the state of the meter after the update operation, including any fields that were modified.
If multiple items are processed, the output will be an array of such JSON objects, each corresponding to one input item.
The node does not output binary data.
Dependencies
- Requires connection to a SugarCRM instance via its REST API.
- Needs an API authentication token (OAuth2) configured through credentials in n8n.
- The base URL and credentials for SugarCRM must be set up in n8n's credential manager.
Troubleshooting
Error: No records found or unexpected API response structure
This can occur if the specified meter ID does not exist or the API returns an unexpected format. Verify the meter ID is correct and that the SugarCRM instance is accessible.Authentication errors
Ensure the API credentials (client ID, client secret, username, password) are valid and have sufficient permissions to update meter records.Invalid JSON in Custom JSON Payload or JSON Body
If the JSON provided is malformed, the node will throw an error. Validate JSON syntax before running the node.Empty or missing ID property
The update operation requires a valid meter ID. Make sure the ID field is populated.