The best way to deal with dynamic schema

Welcome to the community @Rirush!

Before you invest any more time in the node. Did you see that @RicardoE105 opened a PR a few hours ago?
https://github.com/n8n-io/n8n/pull/1628