Nexmo / nexmo-nodered

Node Red Nodes for The Nexmo APIs
MIT License
5 stars 6 forks source link

Allow Mustache Syntax in Voice fields #41

Closed adamgoose closed 4 years ago

adamgoose commented 4 years ago

I like to specify my application-level configuration by injecting into a change node once on start that sets variables on the flow. This way, I can utilize the mustache syntax feature for specifying things like answer and webhook urls like so: {{{ flow.baseUrl }}}/some-endpoint.

Seeing as our application contains many "Talk" and "Play TTS" nodes, I'd like to specify the voice once. I currently cannot because the "voice" field doesn't allow for the mustache syntax.

I'll try to submit a PR tomorrow.