The custom components created by the Oracle Bots Node.js SDK contain a "hello world" content that contains examples fo the two main function calls: metadata() and invoke(). In addition, the invoke() function implementation shows example code for how to access input parameters ("human" in the example), how to print responses to the bot ("conversation.replay(...)) and how to pass control back to the bot ("done()").
Unless "hello world" is all you need to build, or if this is the first time you use the Oracle Bots Node.js SDK to create custom components, you may be interested to learn how to customize the template to contain e.g. the author name, a use license and more. Especially when working in teams you may want to enforce consistency across custom components that are integrated, which includes a common set of input parameters (e.g. always use "variable" as an input parameter for the reference to the dialog flow variable to update (like system components do).
This article explains how to modify the component template in a global Oracle Bots Node.js SDK installation. Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.