Telnyx AI icon

Telnyx AI

Interact with Telnyx AI API

Overview

This node integrates with the Telnyx AI API to manage assistant events, specifically allowing users to delete an event associated with a virtual assistant. It is useful in scenarios where scheduled or triggered events related to an AI assistant need to be removed, such as cancelling reminders, stopping automated workflows, or cleaning up outdated event data.

Practical examples include:

  • Deleting a scheduled notification event for a customer support assistant.
  • Removing an obsolete training event from an AI assistant's event list.
  • Cancelling an event that triggers voice or chat interactions.

Properties

Name Meaning
Assistant The target assistant for which the event belongs. Can be selected from a list of assistants or specified by ID.
Event ID The unique identifier of the event to delete. Can be selected from a list of scheduled events or specified by ID.

Output

The node outputs JSON data representing the result of the delete operation. Typically, this will confirm whether the deletion was successful or provide details about the deleted event. The exact structure depends on the Telnyx AI API response but generally includes status information and possibly metadata about the deleted event.

No binary data output is involved in this operation.

Dependencies

  • Requires an active API key credential for authenticating with the Telnyx AI API.
  • The node communicates with the Telnyx API endpoint at https://api.telnyx.com.
  • Proper configuration of the API key credential within n8n is necessary for successful requests.

Troubleshooting

  • Common Issues:

    • Invalid or missing assistant or event IDs can cause the deletion to fail.
    • Network connectivity issues may prevent communication with the Telnyx API.
    • Insufficient permissions or invalid API credentials will result in authentication errors.
  • Error Messages:

    • "Event not found": Indicates the specified event ID does not exist for the given assistant. Verify the event ID.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is correctly configured and valid.
    • "Bad Request": Usually caused by malformed input parameters; ensure the assistant and event IDs are correct and properly formatted.

Resolving these typically involves verifying input values, checking API credentials, and ensuring network access.

Links and References

Discussion