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

(Neha Sheikh) #1

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.

Neha Sheikh

(Subrahmanyam Donepudi) #2

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

(Neha Sheikh) #3

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?

(Subrahmanyam Donepudi) #4

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