What is an "Action"?
Actions represents a collection of narrowly defined, purpose‑built endpoints that encapsulate specific business operations. These endpoints expose targeted functionality modeled after the corresponding actions users can perform in the Origami web application.
The Actions library can be further subdivided into two categories based on execution behavior. Some actions are processed in real time, executing business logic synchronously against the target records and returning the outcome directly in the API response. These are intended for scenarios where immediate feedback and confirmation are required.
Other actions are designed for queued, distributed, and asynchronous processing. These actions submit work to a background queue, allowing Origami to process larger or more complex operations without blocking the request. In these cases, the API response confirms acceptance of the action, while execution completes asynchronously. This separation allows clients to choose the appropriate action type based on latency tolerance, processing complexity, and scalability need