# Load external modules in the function node

**URL:** <https://discourse.nodered.org/t/load-external-modules-in-the-function-node/82451>\
**Category:** General\
**Tags:** function-node\
**Created:** [29 October 2023 19:18 UTC](https://discourse.nodered.org/t/load-external-modules-in-the-function-node/82451 "2023-10-29T19:18:39Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 October 2023 16:57 UTC](https://discourse.nodered.org/t/load-external-modules-in-the-function-node/82451/13 "2023-10-31T16:57:40Z")

</div>

I suspect that the reason you had trouble using the node in a subflow may be down to this.

> [@Using Influxdb node in a subflow - cannot set scope of config node](https://discourse.nodered.org/t/using-influxdb-node-in-a-subflow-cannot-set-scope-of-config-node/82499):
>
> If I add an MQTT node to a subflow, then in the server setup I select to add a new server, then at the bottom of config node's edit screen I get a dropdown that allows me to select the subflow as the context for the node. However, if I do the same with Influxdb node from node-red-contrib-influxdb then the db config node does not have that dropdown. That, I believe, prevents me from specifying the database via subflow properties, which requires a separate config node for each instance of the su…

---

_[View the full topic](https://discourse.nodered.org/t/load-external-modules-in-the-function-node/82451)._
