Subroutines
Discover how subroutines in APIANT enable reusable automation logic with defined inputs and outputs. Learn how they simplify workflows, reduce complexity, and allow modular design by referencing subroutines within other automations.
Subroutines are automations that can be referenced in other automations, allowing automation logic to be written once and re-used in multiple automations.
Subroutines have the following advantages:
- Their functionality can be re-used across multiple automations
 
- They have defined input fields and defined output fields
 
- They reduce the size and complexity of automation diagrams
 
Subroutines can also utilize other subroutines.