LogoLogo
  • Introduction
    • What Is an Agent Application?
    • Core Concepts
    • Getting Started
  • GLIK Cloud
    • Getting Started
      • GLIK Cloud vs. GLIK Studio
    • Prompt Orchestration Interface
    • What Is a Workflow?
    • Workflow Editor
    • App Types (Overview)
    • Workspaces & Permissions
    • Enterprise Readiness & Compatibility
    • Security & Data Handling
  • Enterprise SaaS
    • Expense Policy Decision Engine
    • Compliance & Audit Automation
    • Compliance Advisor Copilot
  • App Types
    • Overview
    • Chatbot
    • Agent
    • Advanced Chat
    • Workflow
  • Templates
    • Overview
    • Policy Automation
      • Overview
        • Expense Policy Validator β€” Summary Sheet
        • Enterprise Policy Intelligence
      • Expense Policy Decision Engine
        • Expense Policy Decision Engine (Starter)
          • Practice Exercises
        • Expense Policy Decision Engine (Threshold Memory)
          • Practice Exercises
          • Threshold Agent Response Tuning Exercises
        • Expense Policy Decision Engine (Policy API Integration)
          • Practice Exercises
        • Expense Policy Decision Engine (Escalation & Conflict Resolution)
        • Expense Policy Decision Engine (Audit & Logging)
    • Compliance and Audit Automation
      • KYC/AML Review Copilot
        • Learning Track
      • Compliance Copilot – MiCA Reporting
        • Workflow Phases
        • Block-by-Block Guide
    • Compliance Advisors
      • Global Control Copilot – Cross-Jurisdiction Policy Interpreter
        • Input Combinations & Workflow Outcomes
        • Reference Input Payloads
        • Policy Retrieval via Input Routing
        • Input Logic & Routing Behavior
        • Predefined Policy Thresholds
    • Knowledge Systems
      • Overview
      • Compliance SOP Agent
    • Process Automation
    • Task Resolution Agents
      • Why Agentify Task Resolution
    • Work Coordination Agents
      • Escrow Agent Orchestration
    • Embedded Operational Copilots
    • Expense & ERP Agents
      • ERP Vendor AI Copilots and Agents
      • Custody Approval Workflow for Token Issuance
    • Inventory & Logistics Agents
    • Sales & Forecasting Agents
    • Plugin-Based Agent Platforms
  • Marketplace
    • Overview
    • Publishing Templates
  • System Architecture
    • Overview
    • Blocks & Nodes
      • Utilities
        • Start Block
        • End Node
        • HTTP Request
        • List Operator
      • Classifier Nodes
        • Question Classifier
      • Logic Blocks
        • IF/ELSE Branch
        • Iteration
        • Loop
      • Transform Blocks
        • Variable Assigner
        • Variable Aggregator
        • Parameter Extractor
        • Data Enrichment
        • Prompt Template
        • Code
      • Input & Extraction
        • Doc Extractor
        • Knowledge Retrieval
        • LLM Block
          • LLM Reasoning
          • Fallback to LLM Reasoning
        • Tool Node
        • Agent
        • Answer
    • GLIK Knowledge
      • Creating & Managing Knowledge
      • GLIK Knowledge Retrieval
      • Writing to Knowledge
      • Scoped Memory & Access Control
      • Injection & Variable Binding
      • Performance & Limits
    • Execution Model
      • Workflow Architecture
      • Flow Engine
      • Node Lifecycle
      • Protocol Compatibility & Schema Interoperability
      • Input Binding & Value Resolution
    • Memory & Variable Scope
      • Conversation Variables
      • Memory Layers (User, App, Org)
      • Memory Slot Injection
      • Memory Retention Policy
    • Decision Routing
      • Conditional Logic Engine
      • LLM Fallthrough Patterns
      • Policy Enforcement & Escalation Paths
    • Enterprise Orchestration
      • Policy-Driven Automation
      • Enterprise Modularity
      • Auditability & Governance
      • Explainability & Decision Transparency
    • Agentifying Legacy Systems
      • Why Legacy Systems Resist Change
      • Best Practices for Agentifying ERP Workflows
      • GLIK’s Wrap-Around Model
      • Agent Surfaces (PDF, OCR, API, UI)
      • No-API Memory-Based Control
      • Compliance & Risk Considerations
    • System Observability
      • Execution Logs
      • Save Points & Snapshots
      • Variable Debugging
      • Session Trace Viewer
  • Developers
    • Overview
    • GLIK Open Core
      • Deployment & Installation
      • CLI Reference
      • Security & Compliance
      • Customization Guide
      • Versioning & Updates
  • GLIK Roadmap
  • Deprecation
    • Orchestration Interface
      • Node Orchestration
        • Node
          • Start
          • End
          • Direct Reply
          • LLM
          • Question Classifier
          • Knowledge Retrieval
          • Code Execution
          • Doc Extractor
          • HTTP Request
          • Conditional Branch IF/ELSE
          • Iteration
          • List Operator
          • Parameter Extraction
          • Template
          • Tools
          • Variable Aggregator
          • Variable Assigner
      • Variables
      • Application Toolkits
      • File Upload
    • Chatbot Features
    • Dataset
      • Dataset Creation
      • Text Preprocessing and Cleaning
        • Advanced Configuration
      • Retrieval Test/Citation
    • Studio
  • Brand Kit & Identity
    • Logos & Visual Assets
    • Typography & Colors
    • Messaging Pillars
    • Product Screenshots
    • Diagrams & Icons
    • Company Boilerplate
    • Downloads (.zip)
  • Legal
    • Terms of Service
    • Privacy Policy
    • Cookie Policy
    • Trademark Notice
    • Acceptable Use Policy
    • Open Core License
Powered by GitBook

Platform

  • Open GLIK Cloud
  • Getting Started
  • Templates

Documentation

  • Core Concepts
  • GLIK Open Core
  • Security & Data Handling
  • Workspaces & Permissions

Company

  • RIvalz AI
  • Contact Support
  • Status Page

Β© 2023–2025 Rivalz Technologies Ltd.

On this page
  • πŸ”§ Setup Requirements
  • πŸ§ͺ Exercise 1: Policy Match – Guest Entertainment
  • πŸ§ͺ Exercise 2: Policy Match – Hotel Travel
  • πŸ§ͺ Exercise 3: Policy Violation – Alcohol + Threshold
  • 🧩 Optional Exercise: Add a Justification Note
  • 🧠 Debug Tips

Was this helpful?

  1. Templates
  2. Policy Automation
  3. Expense Policy Decision Engine
  4. Expense Policy Decision Engine (Starter)

Practice Exercises

PreviousExpense Policy Decision Engine (Starter)NextExpense Policy Decision Engine (Threshold Memory)

Last updated 8 days ago

Was this helpful?

These exercises will guide you through testing the Expense Policy Decision Engine (Starter) using real-world policy logic and receipt samples. You’ll explore document parsing, memory variable use, and policy enforcement decisions.

πŸ”§ Setup Requirements

  • Access to the deployed Starter agent in GLIK Cloud

  • Uploaded (if needed)

  • Receipt files:


πŸ§ͺ Exercise 1: Policy Match – Guest Entertainment

File: Receipt_1.pdf

  1. Upload the sample policy document.

  2. Upload Receipt_1.pdf (Business Lunch with client).

  3. Ask the agent: Should this be approved?

  4. Review:

    • approval_result = approved

    • Check justification for guest documentation and policy match.

βœ… Expected Outcome: Receipt is approved under the guest entertainment policy ($48/person under $75, no alcohol, proper account code).


πŸ§ͺ Exercise 2: Policy Match – Hotel Travel

File: Receipt_2.pdf

  1. Reuse the uploaded policy book or upload again.

  2. Upload Receipt_2.pdf (Hotel Stay).

  3. Ask: Is this reimbursable?

  4. Verify:

    • Agent parses per-night cost.

    • Travel justification is accepted.

βœ… Expected Outcome: Receipt is approved because hotel cost is under $200/night and marked as approved travel.


πŸ§ͺ Exercise 3: Policy Violation – Alcohol + Threshold

File: Receipt_3.pdf

  1. Upload Receipt_3.pdf without a justification note.

  2. Ask: Can this expense be reimbursed?

  3. Review:

    • Alcohol detection

    • Per-person cost overage

    • Absence of executive override

    • approval_result = rejected or escalate

βœ… Expected Outcome: Receipt is rejected for multiple violations (alcohol, per-person cost > $50, no exception).


🧩 Optional Exercise: Add a Justification Note

Re-test Receipt_3.pdf but add this note:

β€œExecutive sponsor John Ramirez was present and approved the team celebration.”

Ask: Does this change the outcome?

⚠️ Expected Outcome: If logic is configured to check notes for escalation triggers, this may shift the result to escalate instead of immediate rejection.


🧠 Debug Tips

  • Open the memory panel and inspect:

    • invoice_data

    • approval_result

    • policy_memory

  • Test edge cases: remove account codes, increase amounts, or upload without a policy file

Sample Expense Policy Book
Receipt 1: Business Lunch – Compliant
Receipt 2: Hotel Stay – Compliant
Receipt 3: Dinner + Wine – Non-Compliant
Example of dynamic policy override: When a justification note is added citing executive approval, the agent reevaluates the expense and reverses the original rejection based on updated policy conditions.
Implementation Support & Expert Guidance

Need assistance deploying or customizing this GLIK template for your organization?

Our team offers dedicated coaching and technical walkthrough sessions to ensure successful adoption and alignment with enterprise requirements.

Typical areas of support include:

  • Template onboarding and orchestration strategy

  • Workflow configuration and logic review

  • Memory variable setup and session handling

  • Custom integration guidance (e.g. plugins, APIs)

Request a Session