Workflow Automation Guide

Operanix Workflows let agents take action beyond conversation. Connect agents to external tools, automate multi-step processes, and orchestrate complex business logic with built-in governance controls.

Workflow Tabs Overview

#TabPurpose
1MarketplaceBrowse and install pre-built workflow templates
2My WorkflowsManage your installed and custom workflows
3BuilderVisual workflow editor for creating custom automations
4Tool ConnectionsConfigure integrations with external services
5Approval QueueReview and approve workflow actions that require human sign-off
6Run HistoryView execution logs and debug failed runs
7Test SandboxTest workflows safely without affecting production systems
8Agent PermissionsControl which agents can execute which workflows

Tab 1: Marketplace

The Workflow Marketplace contains pre-built workflow templates that cover common enterprise automation patterns. Templates are built by Operanix and verified partners.

Template Categories

Installing a Template

Tab 2: My Workflows

My Workflows shows all workflows available in your tenant, both installed templates and custom-built workflows.

Tab 3: Builder

The Workflow Builder is a visual editor for creating custom automation workflows. It uses a node-based interface where you connect triggers, actions, conditions, and outputs.

Node Types

n8n Integration

Operanix workflows are powered by n8n, the workflow automation platform. This gives you access to 400+ pre-built integrations while maintaining Operanix's governance and security controls.

The n8n integration provides:

// Example: Agent-triggered CRM workflow
{
  "trigger": "agent_invocation",
  "agent_intent": "create_lead",
  "nodes": [
    {
      "type": "extract",
      "fields": ["name", "email", "company", "interest"]
    },
    {
      "type": "validate",
      "rules": {
        "email": "required|email",
        "name": "required|min:2"
      }
    },
    {
      "type": "action",
      "service": "salesforce",
      "operation": "create_lead",
      "mapping": {
        "FirstName": "{{ name.split(' ')[0] }}",
        "LastName": "{{ name.split(' ').slice(1).join(' ') }}",
        "Email": "{{ email }}",
        "Company": "{{ company }}"
      }
    },
    {
      "type": "output",
      "message": "Lead created for {{ name }} at {{ company }}."
    }
  ]
}

Tab 4: Tool Connections

Tool Connections manage the integrations between Operanix workflows and external services.

Connection Setup

Connection Health

Each connection shows its health status: connected, expiring (token refresh needed), error (authentication failed), or disconnected. The system sends alerts 7 days before OAuth tokens expire.

All external connections require SSRF protection. Operanix blocks requests to internal IP ranges (10.x.x.x, 172.16-31.x.x, 192.168.x.x) and localhost to prevent server-side request forgery attacks.

Tab 5: Approval Queue

Workflow actions that are configured to require human approval pause at the approval node and appear in this queue.

Tab 6: Run History

The Run History tab provides full execution logs for every workflow run.

Tab 7: Test Sandbox

The Test Sandbox provides a safe environment for testing workflows without affecting production systems.

Sandbox Features

Always test new workflows in the sandbox before activating them. Sandbox runs are free and do not count against your workflow execution quota.

Tab 8: Agent Permissions

Agent Permissions controls which agents can invoke which workflows. This is a critical security boundary.

Permission Model

Permission Matrix

AgentWorkflowModeDaily Quota
Customer SupportCreate TicketAutonomous200
Customer SupportIssue RefundApproval Required25
Sales AssistantCreate LeadAutonomous100
Sales AssistantSend ProposalApproval Required20
HR AgentSchedule InterviewAutonomous50
HR AgentSend Offer LetterApproval Required5

Daily Quotas & Rate Limiting

Operanix enforces daily execution quotas at multiple levels to prevent runaway automation and control costs.

Quota Levels

LevelDefaultConfigurable
Tenant-wide10,000 runs/dayYes (plan-dependent)
Per workflow1,000 runs/dayYes
Per agent500 runs/dayYes
Per agent per workflow100 runs/dayYes

When a quota is reached, subsequent invocations are queued (for background workflows) or return a graceful decline message (for real-time agent workflows). Quota resets occur at midnight UTC.

Quota usage is tracked in real-time on the My Workflows dashboard. Set up alerts at 80% and 95% utilization to avoid unexpected workflow failures.

Best Practices