A Lightweight Alternative to Workflow Engines for HITL
Описание и применение
Небольшой API‑гейт для одобрения публикации, который избавляет от необходимости использовать тяжелые движки рабочих процессов.
Задача
Automating content pipelines often requires a single human approval gate, but using full workflow engines like n8n or Temporal is overkill and adds unnecessary complexity.
Результат
A lightweight, API‑driven approval gate that eliminates the need for a full workflow engine, keeping the pipeline simple and maintainable.
Рабочий процесс
- Generate blog post with existing agent
- Call Impri API to create a pending action with title, preview, and expiry
- Poll Impri API until status changes from pending
- If approved, publish to blog and cross‑post to X; if rejected or expired, skip publishing
Доказательства
If you only need one human checkpoint in an otherwise automated agent pipeline, standing up n8n or Temporal for that single yes/no is overkill — Impri adds the approval gate as three API calls with no workflow engine to run.
Three things: somewhere to park the pending action, a way to notify a human, and a way for your existing script to resume once a decision exists.
- Дата записи: 2026-09-17T00:00:35.638Z