Martini Workflows Key Concepts
Overview
Martini workflows are visual automation sequences that let you build backend logic by connecting nodes to perform business tasks. Workflows simplify integration and automation by visually connecting different parts of your application, such as APIs, data sources, and other backend components. With workflows, developers can design, manage, and update application behavior without writing extensive code.
When to Use This
Use this when you need to:
- Automate business processes with visual logic flows
- Connect multiple APIs, data sources, or transformations
- Schedule recurring tasks or respond to events
- Build complex integrations with step-by-step processing
- Create backend logic for your APIs
Prerequisites
- Martini Designer installed and running on your system
- Create a Martini Package
Parts of a Workflow
To construct your automation, you use Workflow Nodes and Edges:
Key Terms
| Term | Definition |
|---|---|
| Workflow Nodes | The building blocks of a workflow. You drag and drop them in the Workflow Designer to perform specific functions. |
| Workflow Trigger Node | The first node of a workflow; starts a workflow based on events or schedules. By default, a newly created workflow contains a Start Trigger Node. Other Trigger Nodes can be added and mapped to start a workflow in various ways. A workflow can contain multiple trigger nodes and can be started in several ways. |
| Start Trigger Node | All new workflows contain the Start Trigger Node. This allows a workflow to be executed manually by clicking "Run" in the Workflow Designer (for debugging uses), or from an API invocation. |
| Edges | Lines that determine the sequence and order of nodes as Martini executes your workflow. |
Node Types
See Workflow Nodes for a list of all available nodes and more details on each node's usage.
How It Works
A workflow starts with a trigger node, which can be an event, schedule, or API call. Nodes are connected in sequence using Edges, controlling execution flow. Each node performs a specific task, such as transforming data, invoking a service, or running custom code. Workflows can call other workflows or services, enabling modular and reusable logic. As your workflow executes, each node has access to input properties and can modify the output properties, allowing information to flow seamlessly between processing steps until the final result is returned.
Next Steps
Now that you understand the key concepts, you're ready to build your first workflow! Here's what to do next:
- Try a Practical Example: Work through our Quick Start Guide for a hands-on example of creating and using workflows in a real project
- Start Building: Follow our step-by-step guide in Creating & Deleting Workflows to create your first workflow
- Explore More: Check out the complete Workflow documentation to discover more features.
Helpful Resources
- Quick Start Guide
- Complete Workflow documentation
- Workflow Nodes
- Trigger Nodes
- Martini Workflow Inputs and Outputs
- Creating and Editing Workflows
- Community Q&A: Martini Community Have a Question? Post or search it here.