Actions5
- Message Actions
- Contact Actions
- Session Actions
Overview
This node integrates with the Sendtick API to manage WhatsApp messaging sessions, contacts, and messages. Specifically, for the Session - Get Many operation, it retrieves multiple WhatsApp sessions associated with the authenticated account.
Common scenarios where this node is beneficial include:
- Monitoring active WhatsApp sessions linked to your Sendtick account.
- Fetching session data to analyze or display in dashboards.
- Automating workflows that depend on session status or details.
For example, you might use this node to fetch all current WhatsApp sessions before sending messages or to audit session activity periodically.
Properties
| Name | Meaning |
|---|---|
| Return All | Whether to return all results or only up to a given limit |
| Limit | Max number of results to return (only applicable if "Return All" is false) |
Output
The output is an array of JSON objects representing WhatsApp sessions retrieved from the Sendtick API. Each object contains session details as provided by the API's /sessions endpoint.
No binary data is output by this operation.
Example structure of one item in json output (fields depend on API response):
{
"id": "string",
"name": "string",
"status": "string",
"createdAt": "string",
"updatedAt": "string",
...
}
Dependencies
- Requires an API key credential for authenticating with the Sendtick API.
- The node uses the base URL
https://sendtick.co/api/v1. - No additional environment variables are needed beyond the API authentication setup.
Troubleshooting
Error: Unsupported resource/operation
This error occurs if the resource or operation parameters are invalid or not supported by the node. Ensure you select "Session" as the resource and "Get Many" (internally "getAll") as the operation.API Authentication Errors
If the API key is missing or invalid, requests will fail. Verify that the API key credential is correctly configured in n8n.Empty Results
If no sessions are returned, confirm that there are active sessions in your Sendtick account.Limit Ignored When Return All is True
Thelimitproperty is ignored ifreturnAllis set to true. To restrict results, setreturnAllto false and specify alimit.
Links and References
- Sendtick API Documentation (for detailed info on sessions endpoint)
- n8n Documentation (general usage and credential setup)