Actions100
- Accounts Actions
- Account Users Actions
- Agent Bots Actions
- Users Actions
- Inbox API Actions
- Contacts API Actions
- Conversations API Actions
- Messages API Actions
- CSAT Survey Page Actions
- Account Agent Bots Actions
- Agents Actions
- Canned Responses Actions
- Canned Response Actions
- Custom Attributes Actions
- Contacts Actions
- Contact Actions
- Automation Rule Actions
- Help Center Actions
- Conversations Actions
- Conversation Assignment Actions
- Conversation Labels Actions
- Inboxes Actions
- Messages Actions
- Integrations Actions
- Teams Actions
Overview
The Contact Delete operation for the Contacts resource in this custom n8n node allows users to delete a specific contact from their ChatWoot account. This is useful for maintaining up-to-date contact lists, removing outdated or incorrect entries, and managing data privacy requirements. For example, you might use this node in an automation workflow to automatically remove contacts who have unsubscribed or requested deletion.
Properties
| Display Name | Type | Description |
|---|---|---|
| Account Id | Number | The numeric ID of the account |
| Id | Number | ID of the contact |
- Account Id: The unique numeric identifier for your ChatWoot account. This is required to specify which account the contact belongs to.
- Id: The unique identifier of the contact you wish to delete.
Output
- The output will be a JSON object reflecting the result of the delete operation. Typically, this may include a status message or confirmation of deletion. The exact structure depends on the ChatWoot API's response for a successful or failed delete request.
Dependencies
- External Service: Requires access to the ChatWoot API.
- API Credentials: You must configure the
chatwootApicredentials in n8n, including the base URL (url) and any necessary authentication tokens. - n8n Configuration: Ensure that the node is properly configured with the correct credentials and that the ChatWoot instance is accessible from your n8n environment.
Troubleshooting
Common Issues:
- Invalid Account Id or Contact Id: If either ID is incorrect or does not exist, the API will likely return an error indicating that the resource was not found.
- Authentication Errors: If the
chatwootApicredentials are missing or invalid, you may receive authentication or authorization errors. - Network Issues: If n8n cannot reach the ChatWoot API (e.g., due to firewall or DNS issues), requests will fail.
Error Messages:
"Resource not found": Check that both the Account Id and Contact Id are correct."Unauthorized"or"Forbidden": Verify your API credentials and permissions."Connection timed out": Ensure network connectivity between n8n and ChatWoot.