What problem does this lecture address?
Repetitive, manual workflows (e.g., invoice approvals, leave requests) cause delays, errors, and frustration.
Core promise of AI-driven automation
Reduce errors, speed up processes, and free people for higher-value work.
Why automate now?
AI + BPM platforms integrate easily, enable real-time decisioning, and remove bottlenecks in common back-office flows.
Typical manual pain points
Data entry, routing/approvals, status chasing, and exception handling.
Immediate benefits cited
Lower errors/costs, faster approvals/cycle times, happier teams and stakeholders.
Invoice approvals—what changed with AI?
Anomaly detection + threshold-based routing cut cycle time and improved accuracy.
High-level automation flow (pattern)
Trigger → Validate/enrich → Route/approve → Update systems → Notify/escalate → Monitor/optimize.
Role of ChatGPT in automation design
Brainstorm target workflows, define steps/logic, surface risks, metrics, and training needs.
Role of Power Automate in execution
Build the actual flow, connect data sources, apply conditions, route approvals, and send notifications.
Key trigger used in demo
Microsoft Form submission (“When a new response is submitted”).
Primary data stores used
SharePoint lists (Leave Balances, Leave Register).
Why SharePoint lists here?
Simple, cloud-hosted tables that Power Automate can read/write for state and records.
Validation step for leave requests
Check requested days against the employee’s leave balance in SharePoint.
Auto-approval rule in demo
If requested days ≤ current leave balance → approve and update records.
Auto-denial rule in demo
If requested days > current leave balance → deny and notify employee + HR.
Notifications used
Email to requester (approved/denied); HR CC’d on denials.
What gets logged on approval?
Employee ID, start/end dates, status=Approved, action=Leave balance updated (in Leave Register).
What gets logged on denial?
Employee ID, dates, status=Denied, action=HR notified (in Leave Register).
Where the balance is updated
Leave Balance list: new balance = old balance − approved days.
How requested days are computed
Power Automate “Compose” with a date-difference expression (End Date − Start Date).
Why “Apply to each” was needed
SharePoint “Get items” returns an array; loop ensures correct per-record handling.
Routing object used for approvals (alt pattern)
“Start and wait for an approval” (email/Teams card to manager) when needed.
Escalation path in design
Unresolved or insufficient-balance cases escalate automatically to HR.
Example KPIs to track post-automation
Cycle time, auto-approval (STP) rate, exception rate, SLA attainment, user satisfaction.