Skip to main content

Workflow Automation

Workflows are the logical blueprints of Arrotech Hub. They define a deterministic sequence of Atomic Steps that transform data from one platform and push it to another with absolute precision.

The anatomy of a Workflow

A workflow consists of a trigger followed by any number of tool-based steps:

graph LR
A[Trigger] --> B[Step 1: Fetch]
B --> C[Step 2: Transform]
C --> D[Step 3: Action]
D --> E[Step 4: Notify]

Dynamic Variables

Arrotech utilizes a powerful interpolation syntax {{step_n.field}} to pass data between steps. This allows you to:

  • Take an email address from Step 1 (HubSpot).
  • Use it to search for a profile in Step 2 (LinkedIn).
  • Post the combined results to Step 3 (Slack).

Execution via API

Workflows are typically triggered programmatically. You can pass input_data that populates the initial variables of the execution.

curl -X POST "https://prod.api.arrotechsolutions.com/workflows/123/execute" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input_data": {
"customer_id": "CUST_99",
"priority": "high"
}
}'

Advanced Logic

  • Conditional Branching: Execute certain steps only if previous steps meet specific criteria (e.g., deal_value > 1000).
  • Error Handling: Define retry policies for individual steps to ensure robustness against transient API failures.

Learn More