How do I add an action to watson conversation response?

I’ve created intent, entity and dialog without a problem. But right now I’m trying to make it so when the user send “goodbye”, the application would close. According to the doc, I’ll have to name an action that goes along with an intent. How do I do that? Is it through code or through the conversation workspace platform?

‘require’ keyword doesn’t work within Node Red Function node

first line in a Node red Function Node is var moment = require(‘moment-timezone’); … I am trying to establish a timezone correct date/time stamp for sensor data. I get the following error when this node runs; ReferenceError: require is not defined (line 1, col 14) This function, by the way, has other JavaScript which always … Read more