Actions102
- Activity Actions
- Agreement Actions
- Company Actions
- Configuration Actions
- Contact Actions
- Document Actions
- Expense Actions
- Invoice Actions
- Member Actions
- Opportunity Actions
- Product Catalog Actions
- Project Actions
- Purchase Order Actions
- Schedule Actions
- Service Ticket Actions
- Time Actions
Overview
This node integrates with the ConnectWise Manage API to perform various operations on different resources within ConnectWise Manage. Specifically, for the Purchase Order resource and the Delete operation, it allows users to delete a purchase order by its ID.
Common scenarios where this node is beneficial include automating procurement workflows, such as removing obsolete or incorrect purchase orders from ConnectWise Manage directly from an n8n workflow. For example, after validating purchase order data in another system, you could automatically delete corresponding purchase orders in ConnectWise Manage that are no longer needed.
Properties
| Name | Meaning |
|---|---|
| Purchase Order ID | The unique identifier of the purchase order to delete. This is a required string input. |
Output
- The output JSON contains the response from the ConnectWise Manage API after attempting to delete the specified purchase order.
- Typically, a successful delete operation returns an empty object or confirmation message.
- If the deletion fails, the output may contain error details.
- This node does not output binary data for the delete operation.
Example output JSON (success):
{}
Example output JSON (error):
{
"error": "API request failed"
}
Dependencies
- Requires an active connection to the ConnectWise Manage API via an API key credential configured in n8n.
- The node uses the base URL of the ConnectWise Manage instance (
siteUrl) provided by the credential. - No additional external dependencies beyond the ConnectWise Manage API and proper authentication.
Troubleshooting
- Missing or invalid Purchase Order ID: The node requires a valid purchase order ID to delete. Ensure the ID is correct and exists in ConnectWise Manage.
- Authentication errors: If the API key or credentials are invalid or expired, the node will fail. Verify the API credentials in n8n.
- API endpoint errors: If the purchase order does not exist or has already been deleted, the API may return a 404 or similar error.
- Permission issues: The API user must have sufficient permissions to delete purchase orders in ConnectWise Manage.
- Error messages: The node surfaces API error messages. Common errors include "Operation 'delete' is not supported for resource 'purchaseOrder'" if the resource or operation is misconfigured.
To resolve errors:
- Double-check the Purchase Order ID.
- Confirm API credentials and permissions.
- Review API error messages for specific causes.