Service Node - Input params value to be read from bot context

Hi @Subrahmanyam,

I have some data which is in bot context. I need to pass that as input to service node.
How can we do that?

I can pass static input. But I need to pass some of the input values from context.

Regards,
Neha Sheikh

Hi @nehamsheikh, Using the syntax {{<context.key>}} should resolve the value of the key at the mentioned during run time. (Double curly brackets)

I tried that, but it doesn’t allow. Shows error as bad string.
My input is: {“metric”: {{context.Metric}}}

Will it still work if I proceed?

Hi @nehamsheikh,
We have responded to a similar question on this forum some days ago. Please refer to the below link for more details: