MOCO icon

MOCO

Consume MOCO API

Overview

This node interacts with the MOCO API to manage contacts, specifically allowing the deletion of a contact by its ID. It is useful in scenarios where automated workflows need to remove contact records from the MOCO system, such as cleaning up outdated or incorrect contact information.

Use Case Examples

  1. Deleting a contact by providing its unique Contact ID to remove it from the MOCO database.
  2. Automating contact management by integrating MOCO contact deletion into a larger workflow.

Properties

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

Output

JSON

  • id - The ID of the deleted contact, confirming the deletion.
  • success - Boolean indicating whether the deletion was successful.

Dependencies

  • Requires an API key credential for authenticating requests to the MOCO API.

Troubleshooting

  • If the contact ID is invalid or does not exist, the API will return an error indicating the contact could not be found. Verify the contact ID before attempting deletion.
  • Network or authentication errors may occur if the API key credential is missing or incorrect. Ensure valid credentials are configured.
  • If the node is set to continue on fail, errors will be returned in the output JSON under an error property for each failed item.

Links

Discussion