Actions39
- Chatbot Actions
- Contact Actions
- Message Actions
- Panel Actions
- Sequence Actions
- Session Actions
Overview
The Remove Contact To Sequence operation in the "Sequence" resource of the WTS Chat n8n node allows you to remove a contact from a specific sequence. This is useful for managing automated messaging or workflow sequences, ensuring that contacts are no longer part of a particular campaign or automation flow.
Common scenarios:
- Unsubscribing a user from a drip campaign.
- Stopping further automated messages to a contact who has opted out.
- Dynamically managing contact participation in marketing or notification sequences.
Practical example:
If a user replies with "STOP" to your campaign, you can use this node to automatically remove them from the ongoing sequence.
Properties
| Display Name | Type | Description |
|---|---|---|
| Sequence ID | String | The unique identifier of the sequence from which the contact will be removed. |
| Contact ID | String | The unique identifier of the contact to remove from the sequence. |
| Phone Number | String | The phone number of the contact to remove from the sequence. |
Note:
You must provide either the Contact ID or the Phone Number. If both are empty, the node will throw an error.
Output
The output is a JSON object reflecting the result of the removal operation. The structure depends on the API response but typically includes:
{
"success": true,
"message": "Contact removed from sequence",
// ...other possible fields depending on API implementation
}
- If the operation is successful,
successwill betrue. - Additional information or error details may be included as provided by the WTS Chat API.
Dependencies
- External Service: Requires access to the WTS Chat API.
- API Key: You must configure valid WTS Chat API credentials (
wtsApi) in n8n. - n8n Configuration: No special environment variables beyond standard credential setup.
Troubleshooting
Common Issues:
Missing Contact Information:
- Error Message:
"Remove a contact either by ID or phone number" - Resolution: Provide at least one of Contact ID or Phone Number.
- Error Message:
Invalid or Missing Sequence ID:
- Error Message: May return an error if Sequence ID is missing or invalid.
- Resolution: Ensure the Sequence ID field is filled with a valid value.
API Authentication Errors:
- Error Message: Related to invalid or missing API key.
- Resolution: Check and update your WTS Chat API credentials in n8n.
Network/API Errors:
- Error Message: Various, depending on API/server issues.
- Resolution: Verify network connectivity and WTS Chat service status.
Links and References
- WTS Chat Official Website
- n8n Documentation
- For more about Sequences and Contacts, refer to your WTS Chat API documentation or support resources.