▶
Action stores
Introduction to Kubiya action stores
Action stores are a fundamental component of Kubiya workflows that allow developers to create a centralized repository of actions that can be reused across multiple workflows. Action stores provide a consistent way of accessing and managing actions, thereby promoting modularity and code reuse.
Action stores are a collection of actions that can be executed as a part of a chatbot conversation. Actions are small, self-contained units of code that perform a specific task and return a result. They can be invoked using the
action
type within a workflow.For example, an action store might contain an action that retrieves the current time or an action that retrieves a list of available virtual machines.
Action stores are implemented as a set of APIs provided by the Kubiya SDK that can be invoked by Kubiya. When a Kubiya workflow invokes an action, it passes any required parameters to the action store and receives a result in return. The result is then used as input to other actions or workflow steps.
Action stores can be created for a specific purpose, such as accessing a database or interacting with a cloud platform, and can be written in multiple programming languages (currently only Python is supported).
Last modified 21d ago