Cogfy Messenger icon

Cogfy Messenger

Interact with Cogfy Messenger API

Overview

This node operation deletes a contact by its unique identifier from the Contacts resource. It is useful in scenarios where you need to remove outdated, incorrect, or unwanted contact records from your system automatically as part of a workflow. For example, you might use this node to clean up contacts after they unsubscribe from a mailing list or when a user requests data deletion.

Properties

Name Meaning
Contact Id The unique identifier of the contact to be deleted

Output

The output will typically contain a JSON object indicating the result of the delete operation. This may include confirmation of successful deletion or details about any error encountered. There is no binary data output for this operation.

Dependencies

  • Requires an API key credential to authenticate with the external service managing contacts.
  • The node depends on the external Cogfy Messenger API (or similar) to perform the delete action.
  • Proper configuration of the API base URL and authentication credentials within n8n is necessary.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Contact Id will likely result in an error response from the API.
    • Missing or incorrect API credentials will cause authentication failures.
    • Network connectivity problems can prevent the node from reaching the API endpoint.
  • Error messages:

    • "Contact not found" or similar indicates the Contact Id does not exist; verify the ID before retrying.
    • Authentication errors suggest checking the API key or token validity and permissions.
    • Timeout or connection errors require verifying network access and API availability.

Links and References

  • Refer to the external API documentation for the Contacts resource and delete operation for detailed behavior and error codes.
  • n8n documentation on setting up API credentials and handling HTTP request nodes may provide additional guidance.

Discussion