MOCO icon

MOCO

Consume MOCO API

Overview

This node operation deletes a deal in the MOCO system by its ID. It is useful for automating the removal of deals that are no longer relevant or were created in error. For example, a user can integrate this node in a workflow to automatically delete deals based on certain conditions or triggers, such as deal expiration or cancellation.

Use Case Examples

  1. Automatically delete a deal when a related project is cancelled.
  2. Remove deals that have been marked as duplicates or invalid.

Properties

Name Meaning
Deal ID The unique identifier of the deal to delete, required to specify which deal to remove.

Output

JSON

  • id - The ID of the deleted deal (if returned by the API).
  • status - Status or confirmation of the deletion operation.

Dependencies

  • Requires an API key credential for MOCO API authentication.

Troubleshooting

  • Common issues include providing an invalid or non-existent Deal ID, which will result in an error from the MOCO API indicating the deal could not be found.
  • API authentication errors if the provided credentials are invalid or expired.
  • Network or connectivity issues preventing the API call from completing.

Links

Discussion