"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={overview:{objective:"Automate recurring business processes by creating event-based workflows (ticket creation, new user, etc.) with email, notification and AI integration actions.",problem:"Companies waste considerable time on repetitive manual tasks: welcome emails, status change notifications, escalations, reminders, etc.",solution:"SmartStack offers a visual workflow engine with event triggers, configurable actions, multi-language email templates and complete execution logs."},benefits:{automation:{title:"Total Automation",description:"100% of recurring processes automated without code: emails, notifications, escalations, assignments"},time:{title:"Massive Time Savings",description:"90% reduction in time spent on repetitive tasks through intelligent automation"},quality:{title:"Guaranteed Quality",description:"98% reliability with zero oversights through systematic workflows and traceability logs"}},useCases:{uc001:"View active workflows",uc001Desc:"Visualize all configured workflows with their trigger, actions and active/inactive status",uc002:"Create a workflow",uc002Desc:"Define a new workflow with trigger event and sequence of actions to execute",uc003:"Modify a workflow",uc003Desc:"Adjust actions, conditions or templates of an existing workflow",uc004:"Enable/Disable a workflow",uc004Desc:"Toggle workflow state to put it in production or temporarily suspend it",uc005:"View email templates",uc005Desc:"List all email templates with their subject, HTML content and available variables",uc006:"Create an email template",uc006Desc:"Design an HTML template with dynamic variables ({{user.name}}, {{ticket.id}}, etc.)",uc007:"Preview a template",uc007Desc:"See final email rendering with sample data before activation",uc008:"Delete a workflow",uc008Desc:"Permanently disable a workflow no longer used (execution history preserved)",uc009:"Send test email",uc009Desc:"Test sending a template to a specific email address for validation"},features:{f001Title:"Multiple event triggers",f001Desc:"Workflows automatically trigger on specific business events",f001Example:"Events: UserCreated, TicketStatusChanged, TicketEscalated, TenantActivated, etc.",f002Title:"Configurable sequential actions",f002Desc:"Each workflow executes a sequence of actions: send email, create notification, call AI, etc.",f002Example:"'New ticket' workflow: 1) Email to customer 2) Support notification 3) AI summary 4) Assignment",f003Title:"Variable email templates",f003Desc:"Templates support dynamic variables automatically replaced during sending",f003Example:"Template: 'Hello {{user.firstName}}, your ticket {{ticket.code}} was created on {{ticket.createdAt}}'",f004Title:"Multi-language support",f004Desc:"Email templates can be provided in multiple languages based on user preference",f004Example:"'Welcome' template exists in FR/EN/DE/IT with automatic selection by user.language",f005Title:"Complete execution logs",f005Desc:"Each workflow execution is traced with timestamp, input data, result and any errors",f005Example:"Log: 'New ticket' workflow executed 02/15/2026 2:32 PM for ticket #T-1234, email sent OK"},faq:{q1:"What events can trigger a workflow?",a1:"All important business events: entity creation/modification (User, Ticket, Tenant, etc.), status changes, escalations, system notifications. Extensions can declare new custom events.",q2:"Can you add conditions to a workflow?",a2:"Yes, actions can have conditions (e.g., send email ONLY if ticket.priority == High). Conditions use expressions on trigger event properties.",q3:"How to handle workflow errors?",a3:"Workflows have automatic retry system (3 attempts by default). On persistent failure, error is logged and notification sent to admins. Workflow switches to 'Failed' mode visible in logs.",q4:"Can workflows call AI?",a4:"Yes, 'CallAiPrompt' action allows executing a configured AI prompt. For example, automatically generate ticket summary or classify priority on creation."},businessRules:{br001:"Workflows automatically trigger on system events (UserCreated, TicketUpdated, etc.)",br002:"Each workflow contains a sequence of actions executed in defined order",br003:"Email templates support dynamic variables: {{entity.property}} replaced at execution",br004:"Only one workflow can be active per event/context at a time",br005:"All workflow executions are logged with timestamp, data and result",br006:"Email templates can be multi-language with automatic selection by user.language",br007:"Preview function allows visualizing final email rendering with sample data",br008:"Actions can have execution conditions based on trigger event properties"}},t={docsAdministrationWorkflows:e};exports.default=t;exports.docsAdministrationWorkflows=e;
//# sourceMappingURL=docs-administration-workflows-Da6XQxlv.cjs.map
