WorkatoBuilds, by Workloft ← All builds

Recipe view · 4 Dec 2026

Gateway A/B test, recipe path. The recipes.

Path B of the experiment: the recipe extracts IDs and amounts and applies the rules in Python, and asks the Model Gateway only for category, sentiment and the reply.

1recipes
3steps
1AI
1formula / Python
1action
0control

Generated from the recipe JSON, so this is exactly what runs. IDs and workspace details removed. Code on GitHub →

How the recipes connect

API endpoint · POST /triage-ab-test-v1/triage

Ticket triage AB test (recipe path)

Gateway A/B test, path B. API Platform POST /triage. The Model Gateway does judgement only (category, sentiment, reply); a Python step does the deterministic fields (order_id, refund_amount, priority, escalate).

Inputticket_id, subject, body, customer_name, customer_tier
Outputstatus, category, sentiment, order_id, refund_amount, priority, escalate, reply, model, prompt_tokens, completion_tokens, reasoning_tokens, gateway_latency_ms, parse_ok
ConnectionsAPI Platform, HTTP (Workato AI Gateway), Python
#TagStepWhat it does
1AIHTTP request Model Gateway /v1/chat/completionsask the Model Gateway (route demo-by-team) for category, sentiment and the draft reply
2FORMULAPython coderegex order_id + refund_amount, apply priority/escalate rules, read token usage
3ACTIONReturn HTTP response 200Return all 7 triage fields + usage to the caller