Cloud Functions allow you to display dynamic content in your chatbot. You can source content from product databases, CRM systems, or APIs and then display that content in a conversation with your chatbot users. This is useful for displaying search results, making bookings, or processing e-Commerce transactions in your chatbot.
Note: This feature is aimed at developers so the documentation leans on the technical side.
Developers can create Cloud Functions within the built-in editor in Stackchat Studio or through their preferred IDE. Once entered or uploaded, these function are accessible to your bot at run-time i.e. when a user is interacting with your bot.
- Cloud Functions execute in a Node.js 12.x runtime, with
@stackchat/dynamic-content-toolkit0.0.9 libraries made available at run-time.
- You can use ES6/ES2015 syntax for your code and we will transpile it for you.