Actions39
- Chatbot Actions
- Contact Actions
- Message Actions
- Panel Actions
- Sequence Actions
- Session Actions
Overview
The "Add Contacts To Sequence" operation in the Sequence resource allows users to add multiple contacts to a specific sequence by specifying either their phone numbers or contact IDs. This node is useful for automating workflows where you want to enroll multiple contacts into a messaging or marketing sequence simultaneously, such as onboarding new customers, sending promotional campaigns, or managing follow-ups.
For example, if you have a list of phone numbers or contact IDs that need to be added to a drip campaign sequence, this operation can batch-add them efficiently, saving manual effort and ensuring consistent communication.
Properties
| Name | Meaning |
|---|---|
| Sequence ID | The unique identifier of the sequence to which contacts will be added. |
| Phonenumbers | A collection of one or more phone numbers representing contacts to add to the sequence. |
| Contacts ID | A collection of one or more contact IDs representing contacts to add to the sequence. |
Note: At least one of "Phonenumbers" or "Contacts ID" must be provided to add contacts.
Output
The output is a JSON object containing the response from the API after attempting to add the specified contacts to the sequence. It typically includes details about the operation's success or failure and any relevant metadata returned by the service.
The node does not output binary data for this operation.
Dependencies
- Requires an active connection to the WTS Chat API.
- Requires an API key credential configured in n8n for authentication with the WTS Chat service.
- The base URL for API requests is
https://api.wts.chat.
Troubleshooting
- Missing Sequence ID: If the Sequence ID is empty or invalid, the node will throw an error indicating that the SequenceID field must be filled.
- No Contacts Provided: If neither phone numbers nor contact IDs are provided, the node throws an error prompting to add contacts either by ID or phone number.
- API Errors: Any errors returned by the WTS Chat API (e.g., invalid IDs, network issues) will be surfaced as node execution errors. Check the error message for details.
- Rate Limiting: The code includes a delay mechanism when processing multiple inputs to avoid hitting rate limits; however, large batches may still require careful handling.
Links and References
- WTS Chat API Documentation (general reference for API endpoints)
- n8n Documentation on Creating Custom Nodes
- Best practices for managing sequences and contacts in marketing automation tools.