# Autocomplete with input from custom node

**URL:** https://discourse.nodered.org/t/autocomplete-with-input-from-custom-node/91225
**Category:** General
**Created:** [24 September 2024 09:01 UTC](https://discourse.nodered.org/t/autocomplete-with-input-from-custom-node/91225 "2024-09-24T09:01:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ellisdp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ellisdp/32/94835_2.png) [@ellisdp](https://discourse.nodered.org/u/ellisdp)
#### Post date: [24 September 2024 09:01 UTC](https://discourse.nodered.org/t/autocomplete-with-input-from-custom-node/91225/1 "2024-09-24T09:01:25Z")

</div>

With our integration we have some custom input and output node types with data formats described by a schema, e.g. we have a Request input node which might have a location type schema of {"latitude" : "double", "longitude" : "double", "altInMeters" : "double"}.

If we connect that to a downstream node like Change or Switch, is there a way to pull that into the autocomplete function, so that when a user types "msg.payload." they get those three field names as suggestions? (These might also be nested record types, not just primitive types.)

Is that possible with the current tools, or is it part of the future roadmap?

Thanks.

 ![screen1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/0/d00ce3f56cadf08228e8acd11b1e901f0e48b5ec.jpeg)

---

<div class="post-metadata">

### Author: ![GogoVega](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gogovega/32/71313_2.png) [@GogoVega](https://discourse.nodered.org/u/GogoVega)
#### Post date: [24 September 2024 09:19 UTC](https://discourse.nodered.org/t/autocomplete-with-input-from-custom-node/91225/2 "2024-09-24T09:19:34Z")

</div>

Suggestions like `payload` are predefined because they are used by the core nodes.

This is not currently possible because each node does not know the message properties it will receive.

There have been discussions in the past to allow a node to contain types in JSON form which would allow autocomplete to suggest more appropriate suggestions. But I don't know what the progress is and when it would be initially planned.

---

<div class="post-metadata">

### Author: ![ellisdp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ellisdp/32/94835_2.png) [@ellisdp](https://discourse.nodered.org/u/ellisdp)
#### Post date: [25 September 2024 06:54 UTC](https://discourse.nodered.org/t/autocomplete-with-input-from-custom-node/91225/3 "2024-09-25T06:54:27Z")

</div>

OK, fair enough - thanks for the reply.

---

<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: [24 December 2024 06:54 UTC](https://discourse.nodered.org/t/autocomplete-with-input-from-custom-node/91225/4 "2024-12-24T06:54:34Z")

</div>

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