Automation library · AI assistants

Production AI Playbook: Deterministic Steps & AI Steps

Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI and OpenRouter. 21 steps, 3 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI, OpenRouter

21 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
0Services by connector: it calls them over plain HTTP

The flow

Starts it 5Model 6Logic 10

The steps in the order they run, from what starts it.

  1. 1Webhook - Feedback IntakeWebhookStarts it
  2. 2Input Guardrails LLMLm Chat Open AiModel
  3. 3OpenRouter Chat ModelLm Chat Open RouterModel
  4. 4OpenRouter Chat Model1Lm Chat Open RouterModel
  5. 5Normalize FeedbackCodeLogic
  6. 6Input GuardrailsGuardrailsModel
  7. 7Output GuardrailsGuardrailsModel
  8. 8AI - Classify + DraftAgentModel
  9. 9Has Required Fields?IfLogic
  10. 10Respond - Input BlockedRespond To WebhookStarts it
  11. 11High Confidence + Valid?IfLogic
  12. 12Respond - Output BlockedRespond To WebhookStarts it
  13. 13Validate AI OutputCodeLogic
  14. 14Respond - Missing FieldsRespond To WebhookStarts it
  15. 15Route by TypeSwitchLogic
  16. 16Queue for Human ReviewCodeLogic
  17. 17Create Jira TicketCodeLogic
  18. 18Add to BacklogCodeLogic
  19. 19Escalate to CSCodeLogic
  20. 20Flag as TestimonialCodeLogic
  21. 21Respond - ResultRespond To WebhookStarts it

How it's built

Starts on
Another system calling it
Steps
21, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Nothing by connector; it calls services over plain HTTP
Model
OpenAI, OpenRouter

Questions

What does it need to run?

An n8n account, and a key for OpenAI and OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI and OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.