Actions22
- Broadcasts Actions
- Embeddings Actions
- Contacts Actions
- Conversations Actions
- Tags Actions
Overview
The node interacts with the Cogfy Messenger API to retrieve a list of conversations. Specifically, the "Getallconversations" operation fetches all conversation records, supporting pagination through a cursor parameter. This node is useful for scenarios where users want to aggregate or analyze messaging conversations from Cogfy Messenger, such as customer support chat histories, marketing campaign interactions, or chatbot conversation logs.
Example use cases:
- Exporting all conversations for reporting or archival.
- Monitoring ongoing conversations by fetching recent chats.
- Integrating conversation data into CRM or analytics platforms.
Properties
| Name | Meaning |
|---|---|
| Cursor | Cursor for pagination; used to fetch the next set of conversations in paginated results. |
Output
The node outputs JSON data representing the list of conversations retrieved from the Cogfy Messenger API. The structure typically includes conversation details such as IDs, participants, timestamps, and message summaries. If the API supports pagination, the output may also include metadata like the next cursor value to continue fetching additional pages.
No binary data output is indicated.
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 depends on the Cogfy Messenger REST API being accessible and responsive.
Troubleshooting
- Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Incorrect base URL configuration can lead to connection errors.
- Using an invalid or expired cursor value may result in empty or error responses.
- Error messages:
- Authentication errors typically indicate problems with the API key or token.
- HTTP 4xx or 5xx errors suggest issues with request parameters or server availability.
- Resolutions:
- Verify that the API key credential is correctly set up and has necessary permissions.
- Confirm the base URL matches the environment (production, staging) of the Cogfy Messenger API.
- Reset or omit the cursor property to start fetching from the beginning if pagination issues occur.
Links and References
- Cogfy Messenger API Documentation (example placeholder link)
- n8n documentation on creating custom nodes