RetellAI icon

RetellAI

Interact with RetellAI API

Actions21

Overview

This node integrates with the RetellAI API, allowing users to interact with various resources managed by RetellAI. Specifically, for the Knowledge Base resource with the Get operation, the node retrieves information about a particular knowledge base identified by its ID. This is useful in scenarios where you want to fetch details or metadata of a knowledge base stored in RetellAI, such as for review, display, or further processing within an automation workflow.

Practical examples include:

  • Automatically retrieving knowledge base details before updating or analyzing its content.
  • Fetching knowledge base metadata to display in dashboards or reports.
  • Integrating knowledge base data into other systems or workflows for enhanced decision-making.

Properties

Name Meaning
Knowledge Base ID The unique identifier of the knowledge base to retrieve. This is a required string input.

Output

The node outputs JSON data representing the retrieved knowledge base information. The structure typically includes all relevant fields and metadata associated with the specified knowledge base as returned by the RetellAI API.

If the node supports binary data output (not indicated explicitly here), it would represent any binary content related to the knowledge base, but based on the provided code and context, the output is JSON only.

Dependencies

  • Requires an active connection to the RetellAI API.
  • Needs an API authentication token credential configured in n8n to authorize requests.
  • The node uses the base URL https://api.retellai.com for API calls.

Troubleshooting

  • Common issues:

    • Invalid or missing Knowledge Base ID will cause the API call to fail.
    • Authentication errors if the API key credential is not set up correctly.
    • Network connectivity problems can prevent successful API communication.
  • Error messages:

    • Errors returned from the API will be captured and included in the output if "Continue On Fail" is enabled.
    • Typical error messages might include "Unauthorized" (check API credentials), "Not Found" (verify Knowledge Base ID), or "Bad Request" (invalid parameters).
  • Resolutions:

    • Ensure the Knowledge Base ID is correct and exists in RetellAI.
    • Verify that the API key credential is properly configured and has necessary permissions.
    • Check network settings and retry if transient errors occur.

Links and References

Discussion