# "MQTT in" Topic and kontext

**URL:** <https://discourse.nodered.org/t/mqtt-in-topic-and-kontext/30305>\
**Category:** General\
**Created:** [18 July 2020 21:03 UTC](https://discourse.nodered.org/t/mqtt-in-topic-and-kontext/30305 "2020-07-18T21:03:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SN-8023](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sn-8023/32/52139_2.png) [@SN-8023](https://discourse.nodered.org/u/SN-8023)\
**Post date:** [18 July 2020 21:03 UTC](https://discourse.nodered.org/t/mqtt-in-topic-and-kontext/30305/1 "2020-07-18T21:03:30Z")

</div>

Is there a way to fill the topic field from the flow context?

 ![a6s6ad46a46sfdf6598](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/9/79c8af9504fb96c5ce36943cb618bc81ca7a347f.png)

this would make maintenance much easier if you only had to change 1 konext instead of 5 nodes per flow

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [18 July 2020 21:41 UTC](https://discourse.nodered.org/t/mqtt-in-topic-and-kontext/30305/2 "2020-07-18T21:41:31Z")

</div>

Welcome to the forum. The standard mqtt-in node does not allow it. If you search on [flows.nodered.org](http://flows.nodered.org) you’ll find a few contrib nodes that already provide a dynamic mqtt subscriber node

---

<div class="post-metadata">

**Author:** ![SN-8023](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sn-8023/32/52139_2.png) [@SN-8023](https://discourse.nodered.org/u/SN-8023)\
**Post date:** [19 July 2020 02:57 UTC](https://discourse.nodered.org/t/mqtt-in-topic-and-kontext/30305/3 "2020-07-19T02:57:34Z")

</div>

👍

node-red-contrib-digitaloak-mqtt

that's how it works. thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 September 2020 02:57 UTC](https://discourse.nodered.org/t/mqtt-in-topic-and-kontext/30305/4 "2020-09-17T02:57:45Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
