Actions90
- Activity Actions
- Company Actions
- Contact Actions
- Deal Actions
- Project Actions
- User Actions
Overview
This node integrates with the MOCO API to manage company data, specifically allowing users to delete a company by its ID. It is useful in scenarios where automated workflows need to remove company records from MOCO, such as cleaning up outdated or incorrect company entries. For example, a user can set up a workflow to delete a company when certain conditions are met, like after a project completion or client offboarding.
Use Case Examples
- Deleting a company record by selecting its name or ID from a list within an automated workflow.
- Automating the removal of supplier or customer companies from MOCO based on external triggers.
Properties
| Name | Meaning |
|---|---|
| Company Name or ID | The identifier of the company to delete, which can be selected from a list or specified via an expression. This is a required property and must be a number. |
Output
JSON
id- The unique identifier of the deleted company.name- The name of the deleted company.type- The type of the deleted company (e.g., customer, supplier).deleted- Indicates the deletion status or confirmation from the MOCO API.
Dependencies
- MOCO API with authentication credentials
Troubleshooting
- Ensure the company ID provided exists and is correct; otherwise, the API will return an error indicating the company was not found.
- Check that the API credentials are valid and have permissions to delete companies in MOCO.
- If the node fails, verify network connectivity and MOCO API availability.
Links
- MOCO API - Companies Endpoint - Official MOCO API documentation for managing companies, including deletion.