ConnectWise Manage icon

ConnectWise Manage

Consume ConnectWise Manage API

Overview

The ConnectWise Manage node for n8n allows you to interact with the ConnectWise Manage API.
For the Expense resource and the Delete operation, this node enables users to delete an expense record from their ConnectWise Manage system by specifying its unique Expense ID.

Common scenarios:

  • Automating the removal of obsolete or incorrect expense entries.
  • Integrating expense management workflows where expenses are deleted based on business logic or approval processes.

Practical example:
You might use this node in a workflow that reviews expenses and deletes those flagged as duplicates or errors, ensuring your accounting records remain accurate.


Properties

Name Type Meaning
Expense ID String The unique identifier of the expense to be deleted in ConnectWise Manage

Output

  • json:
    • If the deletion is successful, the output will typically be an empty object ({}) or may contain minimal confirmation data, depending on the API's response.
    • If an error occurs (and "Continue On Fail" is enabled), the output will include an error field with the error message.

Example output (success):

{}

Example output (failure, with Continue On Fail):

{
  "error": "Expense not found"
}

Dependencies

  • External Service: Requires access to a ConnectWise Manage instance with API enabled.
  • API Credentials: You must configure the connectWiseManageApi credential in n8n, which includes:
    • Site URL
    • Public Key
    • Private Key
    • Company ID

Troubleshooting

Common issues:

  • Invalid Expense ID: If the provided Expense ID does not exist, the node will throw an error such as "Expense not found".
  • Missing Credentials: If the required credentials are not set up, the node will fail to authenticate.
  • Insufficient Permissions: The API user must have permission to delete expenses; otherwise, the request will be denied.

Error messages and resolutions:

  • "Operation 'delete' is not supported": Ensure you selected the correct resource and operation.
  • "Resource 'expense' is not supported": Double-check the resource selection.
  • "Expense not found": Verify the Expense ID is correct and exists in ConnectWise Manage.
  • "API request failed": Check network connectivity, credentials, and API endpoint configuration.

Links and References

Discussion