Telnyx Texml Javascript
Automates complex call flows using Telnyx's TextML via JavaScript for dynamic routing and personalized interactions.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add telnyx-texml-javascript npx -- -y @trustedskills/telnyx-texml-javascript
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"telnyx-texml-javascript": {
"command": "npx",
"args": [
"-y",
"@trustedskills/telnyx-texml-javascript"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to process and manipulate Telnyx TextML, a structured format for representing telephony data. It provides JavaScript functions for parsing, validating, and generating TextML documents, enabling automation of tasks related to call flows and other telecommunications processes. The skill facilitates the creation and modification of complex call routing logic within an agent's capabilities.
When to use it
- Automating Call Flow Creation: Generate TextML representations of call flows based on user input or data from external systems.
- Validating Existing Flows: Ensure that existing TextML configurations are syntactically correct and adhere to Telnyx’s specifications.
- Dynamically Modifying Call Routing: Adjust call routing logic in real-time by programmatically modifying TextML documents.
- Integrating with Telephony Systems: Interact with Telnyx APIs or other telephony platforms that utilize TextML for configuration.
Key capabilities
- Parsing TextML documents into JavaScript objects.
- Validating TextML syntax and structure.
- Generating TextML documents from JavaScript data structures.
- JavaScript functions for manipulating TextML elements.
Example prompts
- "Create a TextML document that routes calls to extension 1234 if the caller ID matches '555-1212'."
- "Validate this TextML and tell me if there are any errors: [paste TextML here]"
- “Modify the existing TextML to add a new timeout of 10 seconds.”
Tips & gotchas
- Requires familiarity with Telnyx TextML syntax. Refer to Telnyx's documentation for detailed information on the format.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.