# Input a dictionary from dynamo (DesignScript.Builtin.Dictionary) to a custom ZeroTouch node

**URL:** <https://forum.dynamobim.com/t/input-a-dictionary-from-dynamo-designscript-builtin-dictionary-to-a-custom-zerotouch-node/75577>\
**Category:** Developers\
**Tags:** zerotouch\
**Created:** [April 19, 2022, 2:37am UTC](https://forum.dynamobim.com/t/input-a-dictionary-from-dynamo-designscript-builtin-dictionary-to-a-custom-zerotouch-node/75577 "2022-04-19T02:37:45Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Ricardo\_Freitas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ricardo_freitas/32/9559_2.png) [@Ricardo\_Freitas](https://forum.dynamobim.com/u/Ricardo_Freitas)\
**Post date:** [May 8, 2024, 6:34pm UTC](https://forum.dynamobim.com/t/input-a-dictionary-from-dynamo-designscript-builtin-dictionary-to-a-custom-zerotouch-node/75577/7 "2024-05-08T18:34:21Z")

</div>

**I solve that using this methodology.**

1. Your Node Input must be an `IDictionary`.

2. Then, inside in your Node logic you need to convert the IDictionary to a strong typed Dictionary.

This allows you to consume your input data as you wish.

See images below showing how I implement that.

**Node Method**

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/0/80338931e5a078061ce0f743630a4441fd8c57c0.png)

**Generic extension method to convert IDictionary to the strong typed Dictionary**

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/d/0d87dbd6a1f5ffa9f7cc26daae2dc0978850ab33.png)

**Dynamo Graph**

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/f/5f59cad11e70b2e31970f8ceb2dc7e36783883a1.png)

---

_[View the full topic](https://forum.dynamobim.com/t/input-a-dictionary-from-dynamo-designscript-builtin-dictionary-to-a-custom-zerotouch-node/75577)._
