Using the JavaScript Cloud Engine, specialized functionality and business logic can be integrated into Virtual Agents to call outside APIs. Users also can define complex action rules and modules consuming all the conversation’ context information (e.g., collected information from users for execution). This extensibility allows for dynamic queries to support highly-sophisticated tasks.