Actions20
Overview
This node integrates with the Linq API to manage chat-related data. Specifically, the "Find" operation under the "Chat" resource allows users to search for chats involving specified phone numbers. This is useful when you want to locate existing chat conversations between certain participants without retrieving all chats or creating new ones.
Practical examples:
- Finding a chat conversation between two or more phone numbers to check if a discussion already exists.
- Filtering chats by participant phone numbers before sending messages or performing further operations.
Properties
| Name | Meaning |
|---|---|
| Phone Numbers | Comma-separated list of phone numbers to find chat(s) between them. Example: +1234567890,+1987654321 |
Output
The output JSON contains the response from the Linq API's chat find endpoint. It typically includes details about the chat(s) found that involve the specified phone numbers. The exact structure depends on the API but generally includes chat IDs, participant phone numbers, display names, and other metadata related to the chat.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for the Linq API (referred generically as an API integration token).
- The node makes HTTP requests to the Linq API endpoints using this token.
- No additional environment variables are required beyond the configured API credential.
Troubleshooting
- Rate Limit Errors: If the node throws an error indicating "Rate limit exceeded," it means too many requests were made in a short time. Wait at least 10 seconds before retrying.
- Invalid Phone Numbers: Ensure phone numbers are correctly formatted and comma-separated without extra spaces.
- Empty Results: If no chats are found, verify that the phone numbers exist in the Linq system and that there is an active chat between them.
- Authentication Issues: Confirm that the API key credential is valid and has the necessary permissions.
Links and References
- Linq API Documentation (generic link, replace with actual if available)
- n8n HTTP Request Node documentation for understanding request handling: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/