Overview
This node integrates with SinergiaCRM, a CRM system based on SuiteCRM API, allowing users to perform various operations on any module within SinergiaCRM. Specifically, the Get Relationships operation retrieves related records linked to a specific record in a chosen module by specifying the type of relationship.
Common scenarios where this node is beneficial include:
- Fetching associated contacts, opportunities, or activities related to a particular account or lead.
- Retrieving linked data such as notes, attachments, or custom relationships for detailed insights.
- Automating workflows that depend on related records without manual lookup.
For example, you might use this node to get all contacts related to an Account record by selecting the "Accounts" module, providing the Account's record ID, and choosing the "contacts" relationship type.
Properties
| Name | Meaning |
|---|---|
| Module | Select the SinergiaCRM module to operate on (e.g., Accounts, Contacts, Leads). |
| Record ID | The unique identifier of the record within the selected module to retrieve relationships for. |
| Relationship | The type of relationship to retrieve from the specified record (e.g., contacts, opportunities). |
Output
The output is an array of JSON objects representing the related records fetched from SinergiaCRM. Each item corresponds to one related record under the specified relationship type.
The structure of each JSON object matches the data format returned by the SinergiaCRM API for related records, typically including fields like id, type, and attributes describing the related entity.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to SinergiaCRM via an API authentication credential (an API key or token).
- The node uses the SinergiaCRM SuiteCRM-compatible REST API v8 endpoints.
- Proper configuration of the SinergiaCRM domain URL and credentials in n8n is necessary.
Troubleshooting
Common issues:
- Invalid or missing Record ID: Ensure the provided record ID exists in the selected module.
- Incorrect Relationship name: The relationship must be valid and available for the given module and record.
- Authentication errors: Verify that the API credentials are correct and have sufficient permissions.
- Network or connectivity problems: Confirm that the SinergiaCRM instance is reachable from n8n.
Error messages:
"error": "Record not found": The specified record ID does not exist; double-check the ID."error": "Unauthorized"or similar: Authentication failed; reconfigure credentials."error": "Relationship not found": The requested relationship type is invalid for the record/module.
Resolving these usually involves verifying input parameters, checking API credentials, and ensuring the SinergiaCRM instance is operational.
Links and References
- SinergiaCRM API Documentation (hypothetical link as no direct link was provided)
- SuiteCRM REST API v8 Reference
- n8n Documentation on Creating Custom Nodes