Mjara Docs
Tools Reference

Blueprint Executor

The Blueprint Executor parses and executes company setup blueprints from structured documents using an LLM-in-the-Loop architecture.

Overview

Upload a document (Word, PDF, or Excel) containing your company's configuration data, and the Blueprint Executor will automatically parse it into sections and create the corresponding records in your ERP system.

Key Capabilities

  • Multi-format Support — Microsoft Word (.docx, .doc), PDF (.pdf), Excel (.xlsx, .xls)
  • Arabic & English — Full bilingual support for section headers and data
  • LLM-in-the-Loop — Intelligent interpretation of document content
  • Rollback Support — Undo all changes from a blueprint execution
  • Dry-run Mode — Preview changes before execution
  • Interactive Mode — Section-by-section confirmation

How It Works

Actions

ActionDescription
executeParse and execute entire blueprint with rollback support
interactiveExecute with section-by-section confirmation
resumeResume interactive execution after user confirmation
parse_onlyParse blueprint and show sections without execution
list_supportedList all supported section types
rollbackRollback a previous execution by session ID

Supported Sections

The Blueprint Executor supports the following section types, processed in priority order:

Company Setup (Priority 1)

SectionArabicDocType
Company Definitionتعريف الشركةCompany
Fiscal Yearالسنة الماليةFiscal Year
CurrenciesالعملاتCurrency
Currency Exchangeأسعار الصرفCurrency Exchange

Organization (Priority 2–3)

SectionArabicDocType
Organizational Structureالهيكل التنظيميDepartment
Job Titlesالمسميات الوظيفيةDesignation
BranchesالفروعBranch
EmployeesالموظفونEmployee

Finance (Priority 4–5)

SectionArabicDocType
Chart of Accountsشجرة الحساباتAccount
Cost Centersمراكز التكلفةCost Center

Inventory (Priority 6–8)

SectionArabicDocType
WarehousesالمستودعاتWarehouse
Item Groupsمجموعات الأصنافItem Group
Units of Measureوحدات القياسUOM
TerritoriesالمناطقTerritory
Payment Termsشروط الدفعPayment Terms Template
Items/ProductsالأصنافItem

Sales (Priority 9)

SectionArabicDocType
Customer Groupsمجموعات العملاءCustomer Group
CustomersالعملاءCustomer
Quotationsعروض الأسعارQuotation
Sales Ordersأوامر البيعSales Order
Sales Invoicesفواتير البيعSales Invoice

Purchasing (Priority 10)

SectionArabicDocType
Supplier Groupsمجموعات الموردينSupplier Group
SuppliersالموردينSupplier
Purchase Ordersأوامر الشراءPurchase Order

Execution Modes

ModeDescription
atomicAll-or-nothing: rollback on any failure
continue_on_errorContinue executing sections on failure (default)
interactiveConfirm each section before execution

Document Format Guidelines

For best results, structure your blueprint documents with:

  1. Clear section headers — Use standard Arabic or English headers
  2. Table-based data — Structure records in tables for accurate parsing
  3. Company definition first — Include company info at the beginning
  4. Consistent formatting — Use the same column names across similar sections

Safety

The Blueprint Executor always requires confirmation before execution due to its bulk creation nature. All executed records are tracked and can be rolled back within a 7-day window.

On this page