Telnyx AI icon

Telnyx AI

Interact with Telnyx AI API

Overview

The node "Telnyx AI" allows interaction with the Telnyx AI API, specifically enabling operations on various resources such as Assistants, Chats, Conversations, Voice, and Assistant Events. For the Assistant - Get operation, the node retrieves details of a specific assistant from the Telnyx AI platform.

This node is beneficial when you want to programmatically fetch information about an AI assistant configured in your Telnyx account. For example, you might use it to get configuration details or status of a particular assistant before performing further actions like sending messages or managing conversations.

Properties

Name Meaning
Assistant The assistant to retrieve. You can specify this either by selecting from a searchable list of assistants or by directly providing the assistant's ID.
  • The property supports two modes:
    • From list: Select an assistant from a searchable dropdown list.
    • ID: Provide the unique identifier string of the assistant.

Output

The output contains a JSON object representing the retrieved assistant's data as returned by the Telnyx AI API. This typically includes all relevant details about the assistant such as its ID, name, configuration, status, and other metadata.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Telnyx AI API.
  • Requires an API key credential for authentication with the Telnyx service.
  • The base URL used for requests is https://api.telnyx.com.
  • Proper configuration of the API key credential within n8n is necessary.

Troubleshooting

  • Common issues:

    • Invalid or missing API key credential will cause authentication failures.
    • Providing an incorrect or non-existent assistant ID will result in errors indicating the assistant was not found.
    • Network connectivity issues may prevent successful API calls.
  • Error messages and resolutions:

    • 401 Unauthorized: Check that the API key credential is correctly set up and has the required permissions.
    • 404 Not Found: Verify that the assistant ID provided exists and is correct.
    • Timeout or network errors: Ensure stable internet connection and that the Telnyx API endpoint is reachable.

Links and References

Discussion