SuiteCRM icon

SuiteCRM

Generic node to operate with any SuiteCRM (SuiteCRM API) module.

Overview

This node provides generic operations to interact with any module in a SuiteCRM instance via its API. It supports common CRUD (Create, Read, Update, Delete) operations and relationship retrieval for SuiteCRM modules. The "Delete" operation specifically allows users to delete a record from a selected SuiteCRM module by specifying the record's ID.

Typical use cases include automating data management tasks such as removing outdated or incorrect records from SuiteCRM modules like Contacts, Accounts, Leads, etc., directly within an n8n workflow. For example, when a customer unsubscribes, you could automatically delete their contact record from SuiteCRM.

Properties

Name Meaning
Module Select the SuiteCRM module where the record exists (e.g., Contacts, Accounts).
Record ID The unique identifier of the record to delete within the selected module.

Output

The output is a JSON object indicating the success of the deletion operation. It contains:

  • success: A boolean value (true) confirming the record was deleted.
  • id: The ID of the deleted record.

Example output:

{
  "success": true,
  "id": "record-id-value"
}

No binary data is produced by this operation.

Dependencies

  • Requires valid credentials for authenticating with the SuiteCRM API (an API authentication token).
  • The node uses the SuiteCRM REST API endpoint to perform operations.
  • The SuiteCRM instance URL and access token are obtained during execution via authentication helper methods.

Troubleshooting

  • Common issues:

    • Invalid or missing record ID: The node requires a valid record ID; otherwise, the API will return an error.
    • Incorrect module name: Selecting a non-existent or misspelled module will cause the API call to fail.
    • Authentication failure: If the API token is invalid or expired, requests will be unauthorized.
    • Network connectivity problems to the SuiteCRM server.
  • Error messages and resolutions:

    • 404 Not Found: The specified record or module does not exist. Verify the module name and record ID.
    • 401 Unauthorized: Authentication failed. Check that the API credentials are correct and have sufficient permissions.
    • 400 Bad Request: The request payload or parameters are malformed. Ensure the record ID is correctly formatted.

To resolve these errors, verify input parameters, ensure proper credentials, and confirm network access to the SuiteCRM API.

Links and References

Discussion