Scoro icon

Scoro

Interact with the Scoro API

Overview

This node integrates with the Scoro API to perform various operations on different resources within a Scoro account. Specifically, for the Company - Delete operation, it allows users to delete a company record by specifying its unique ID. This is useful in scenarios where companies are no longer relevant or were created erroneously and need to be removed from the system.

Practical examples include:

  • Automating cleanup of outdated or duplicate company records.
  • Integrating with other systems to synchronize company data by removing entries that no longer exist elsewhere.
  • Managing company lifecycle within workflows that handle client onboarding and offboarding.

Properties

Name Meaning
Company ID The unique identifier of the company to delete

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the deletion was successful or provide details about the deleted company. The exact structure depends on the Scoro API response but generally includes status information and possibly metadata about the deleted entity.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Scoro API via an API key credential.
  • Needs configuration of the base URL and authentication credentials for the Scoro API within n8n.
  • The node uses internal routing logic to map resource-operation combinations to specific API calls.

Troubleshooting

  • Common issues:

    • Invalid or missing Company ID: The node requires a valid company identifier; providing an incorrect or empty ID will cause errors.
    • Authentication failures: Incorrect API keys or misconfigured credentials will prevent the node from connecting to the Scoro API.
    • Unsupported operations: Attempting to use an operation not supported for the "Company" resource will throw an error.
  • Error messages:

    • "Operation 'delete' for resource 'company' is not supported." β€” indicates the operation-resource pair is invalid or not implemented.
    • API errors returned from Scoro (e.g., 404 Not Found if the company does not exist) should be handled by checking the input parameters and ensuring the company ID is correct.

Links and References

Discussion