Actions22
- Broadcasts Actions
- Embeddings Actions
- Contacts Actions
- Conversations Actions
- Tags Actions
Overview
The node is designed to retrieve all contacts from a service called "Cogfy Messenger" via its API. It supports pagination through a cursor, allowing users to fetch large sets of contacts in multiple requests. This node is useful for workflows that need to synchronize or process contact lists, such as marketing automation, CRM updates, or data analysis.
A practical example would be fetching all contacts to export them into another system or to trigger personalized messaging campaigns based on the retrieved contact data.
Properties
| Name | Meaning |
|---|---|
| Cursor | Cursor for pagination; used to specify the position in the contact list to continue fetching results from. |
Output
The node outputs JSON data representing the contacts retrieved from the Cogfy Messenger API. The exact structure depends on the API response but typically includes an array of contact objects with their details (e.g., name, email, phone). If the API supports it, the output may also include metadata such as the next cursor for further pagination.
No binary data output is indicated by the source code.
Dependencies
- Requires an API key credential for authenticating with the Cogfy Messenger API.
- The base URL for the API must be configured in the node credentials.
- The node uses HTTP headers to accept and send JSON content.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication errors.
- Providing an incorrect cursor value may result in empty responses or errors.
- Network connectivity problems can prevent successful API calls.
Error messages:
- Authentication failures usually indicate invalid API keys or misconfigured credentials.
- Pagination errors might occur if the cursor parameter is malformed or expired.
Resolutions:
- Verify that the API key credential is correctly set up and has necessary permissions.
- Ensure the cursor value is obtained from previous successful responses.
- Check network settings and API endpoint availability.
Links and References
- Cogfy Messenger API Documentation (hypothetical link)
- n8n documentation on HTTP Request Node for understanding API integrations