Skip to content

feat: add Telnyx chat, embeddings, audio, and telecom integrations#6392

Open
gbattistel wants to merge 6 commits into
FlowiseAI:mainfrom
team-telnyx:feat/telnyx-flowise-tools
Open

feat: add Telnyx chat, embeddings, audio, and telecom integrations#6392
gbattistel wants to merge 6 commits into
FlowiseAI:mainfrom
team-telnyx:feat/telnyx-flowise-tools

Conversation

@gbattistel
Copy link
Copy Markdown

@gbattistel gbattistel commented May 15, 2026

Summary

This PR adds native Telnyx support to Flowise across chat, embeddings, speech, and telecom tools.

Changes

  • Added Telnyx Chat as a native chat model provider
  • Added Telnyx Embeddings as a native embeddings provider
  • Added Telnyx STT as a Speech to Text provider in chatflow configuration
  • Added Telnyx TTS as a Text to Speech provider in chatflow configuration
  • Added Telnyx telecom tools:
    • Messaging
    • Number Lookup
    • Verify Send
    • Verify Check
  • Added a Telnyx API credential for all Telnyx integrations
  • Added provider READMEs following the existing repo pattern for model and embeddings nodes

Implementation details

  • Telnyx Chat loads available models dynamically from:
    • GET /v2/ai/openai/models
  • Telnyx Embeddings loads available models dynamically from:
    • GET /v2/ai/embeddings/models
  • Telnyx STT uses:
    • POST /v2/ai/audio/transcriptions
  • Telnyx TTS uses:
    • POST /v2/text-to-speech/speech
  • Telnyx Verify Check uses the correct Telnyx Verify endpoint:
    • POST /v2/verifications/by_phone_number/{phone_number}/actions/verify
    • phone_number is passed in the URL path instead of the request body

Testing

Validated manually in the Flowise UI:

  • Telnyx Chat
  • Telnyx Embeddings
  • Telnyx STT
  • Telnyx TTS
  • Telnyx Messaging
  • Telnyx Number Lookup
  • Telnyx Verify Send
  • Telnyx Verify Check

Additionally validated successfully:

  • Number Lookup works correctly
  • Send SMS works correctly

Also verified:

  • pnpm build

Demo Videos

Video 1: Chat + STT + TTS

[ADD VIDEO LINK HERE]

Video 2: Chat + Embeddings

Embeddings.mp4

Video 3: SMS + Number Lookup

Screen.Recording.2026-05-15.at.6.06.19.PM.mov

Video 4: OTP Send + OTP Verify

Screen.Recording.2026-05-15.at.10.20.51.PM.mov

Notes

  • Model selection for Chat and Embeddings is loaded dynamically from Telnyx APIs
  • STT and TTS are integrated through Flowise provider configuration, following the existing Flowise architecture

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces comprehensive integration for Telnyx services, including Chat Models, Embeddings, and various tools for Messaging, Number Lookup, and Verification. It also adds Telnyx support to the Speech-to-Text and Text-to-Speech components. Feedback focuses on a regression in the Azure STT implementation where a field name change breaks compatibility, the need to use secureFetch for SSRF protection in new nodes, and improving input validation for numeric parameters like temperature to ensure fail-fast behavior.

Comment thread packages/components/src/speechToText.ts
Comment thread packages/components/nodes/chatmodels/ChatTelnyx/ChatTelnyx.ts Outdated
Comment thread packages/components/nodes/chatmodels/ChatTelnyx/ChatTelnyx.ts
Comment thread packages/components/nodes/embeddings/TelnyxEmbedding/TelnyxEmbedding.ts Outdated
@gbattistel
Copy link
Copy Markdown
Author

Thanks, all of these review points have now been addressed in follow-up commits.

Summary of fixes:

  • kept the Telnyx STT \ field scoped to the Telnyx provider path only, avoiding regressions for other STT providers
  • replaced native \ with \ in Telnyx model discovery
  • added explicit validation for \ in \

I also re-ran the build after the changes and pushed the fixes to this PR branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant