Skip to content

Dynamic webhook URL update from Node-RED (ngrok use case) #410

@bonjour81

Description

@bonjour81

Hi!

I'm currently using node-red-contrib-telegrambot in polling mode on a local LAN Node-RED server. I'm considering switching to webhooks, possibly using ngrok to expose the local endpoint.

However, free ngrok accounts generate a new public URL at each restart.

Would it be possible to update the bot's webhook URL dynamically via a Node-RED msg (maybe using a control node)? This would allow automatic reconfiguration when the URL changes.

If this isn't supported yet, could it be considered as a feature request?

Also, are there any best practices or security considerations when using this node with dynamic tunnels like ngrok?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions