Functions are modules of code that are used for accomplishing a certain task programatically.

With few exceptions, functions can be used in the Pre-Process / Post-Process Code or the Process User Response JavaScript code panels.


  • Function names are case-sensitive in the JavaScript.
  • Functions require the botContext. prefix.
  • Functions are scoped ONLY for the JavaScript panel in which they appear.