Superchat icon

Superchat

Retrieve data from the Superchat API

Overview

This node integrates with the Superchat API to create a new note within a specified conversation. It is useful in scenarios where users want to programmatically add contextual or follow-up information to ongoing conversations, such as customer support tickets or sales discussions. For example, after receiving a customer query, an automated workflow could add a note summarizing the issue or next steps directly into the relevant conversation.

Properties

Name Meaning
Conversation ID The unique identifier of the conversation where the note will be created (required).
Content The textual content of the note to be added to the conversation (required).

Output

The node outputs a JSON array containing the result of the note creation operation for each input item. Each JSON object represents the newly created note's data as returned by the Superchat API. This typically includes details such as the note's ID, content, associated conversation ID, timestamps, and possibly metadata related to the note.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to the Superchat API.
  • Needs an API authentication token configured in n8n credentials to authorize requests.
  • The node depends on the Superchat API endpoint responsible for creating notes within conversations.

Troubleshooting

  • Common Issues:

    • Missing or invalid Conversation ID: Ensure the conversation ID provided exists and is correctly formatted.
    • Empty or missing Content: The note content must not be empty; provide meaningful text.
    • Authentication errors: Verify that the API key or token credential is valid and has sufficient permissions.
    • Network or API downtime: Check connectivity and Superchat service status if requests fail.
  • Error Messages:

    • "Unauthorized" or "Authentication failed": Confirm API credentials are correct and have not expired.
    • "Conversation not found": Validate the conversation ID corresponds to an existing conversation.
    • "Validation error": Check that all required fields (Conversation ID and Content) are provided and properly formatted.

Resolving these issues usually involves verifying input parameters, refreshing credentials, and ensuring the target conversation exists in Superchat.

Links and References

Discussion