01The requirement: connect systems that were never designed to talk
| Requirement | Why | What these tools offered |
|---|---|---|
| Move data between old systems | Mainframe screens, ERP forms and portals with no API | Software robots that read and type into screens |
| Automate without programmers | IT departments had long queues | Drag-and-drop flow designers ("citizen developers") |
| Connect cloud services | E-mail, forms, storage, chat and CRM in separate web apps | Trigger–action connectors |
| Handle unstructured input | Invoices, e-mails and PDFs vary in format | OCR, document understanding, then large language models |
| Decide, not only repeat | Real work involves judgement and exceptions | AI agents that plan steps and call tools — under supervision |
02Robotic process automation
"Robots" in RPA are programs, not machines: they log in, read screens, copy values and press buttons as a person would, but faster and without tiring. They descend from screen-scraping, test-automation tools (Episode 37) and macro recorders.
| Company | Origin | Notes |
|---|---|---|
| Blue Prism | Warrington, UK, July 2001 | Built on .NET for banks' back offices; credited with coining "robotic process automation" (2012); listed 2016; acquired by SS&C Technologies in March 2022 |
| Automation Anywhere | San Jose, 2003, as Tethys Solutions | Founded by Mihir Shukla, Neeti Mehta Shukla, Ankur Kothari and Rushabh Parmani; renamed in 2010; large engineering presence in India |
| UiPath | Bucharest, 2005, as DeskOver | Founded by Daniel Dines and Marius Tîrcă as an outsourcing firm; turned to RPA in the 2010s; listed on the NYSE in 2021; now describes its products as "agentic automation" |
| WinAutomation → Power Automate Desktop | Softomotive (London/Athens) | Bought by Microsoft in 2020; Power Automate Desktop launched in September 2020 and was made free to Windows 10 users in March 2021; included in Windows 11 |
| Pega, NICE, SAP Build Process Automation | Various | RPA inside larger business-process platforms |
| Robot Framework, OpenRPA, TagUI | Open source | Free alternatives for technical teams |
03No-code integration: "when this, then that"
04Try it: build an automated workflow
Choose a trigger and add steps — the same model used by Power Automate, Zapier and n8n. For each step choose how it connects: through an API/file (robust) or by operating the screen like RPA (works with anything, but breaks more often). Then run it on a sample day.
05AI copilots and agents
| Script / macro | RPA robot | AI agent | |
|---|---|---|---|
| Instructions | Exact code | Recorded or designed flow | Goal in natural language |
| Handles variation | Only what is coded | Little — layout changes break it | Much — reads and adapts |
| Predictability | Same result every time | Same result while screens stay the same | Can vary; can make confident mistakes |
| Best for | Stable, high-volume rules | Legacy screens without APIs | Unstructured text, exceptions, drafting |
| Must have | Tests and logs | Monitoring and maintenance | Human review, limited permissions, audit trail |
06Ready-to-use examples
A. E-mail a test summary with the file attached (Python, standard library)
"""Find the newest CSV in a folder, compute the max of one column and e-mail
the summary with the file attached. Use your organisation's approved mail relay."""
import csv, smtplib
from email.message import EmailMessage
from pathlib import Path
FOLDER = Path(r"D:\Archive\Data")
COLUMN = "Oil_Temp_C"
LIMIT = 85.0
latest = max(FOLDER.glob("*.csv"), key=lambda p: p.stat().st_mtime)
with latest.open(newline="") as f:
values = [float(r[COLUMN]) for r in csv.DictReader(f) if r[COLUMN]]
peak = max(values)
status = "ALERT" if peak > LIMIT else "OK"
msg = EmailMessage()
msg["Subject"] = f"[{status}] {latest.name}: max {COLUMN} = {peak:.1f}"
msg["From"] = "testlab@example.org"
msg["To"] = "team@example.org"
msg.set_content(f"File: {latest.name}\nRows: {len(values)}\nMax {COLUMN}: {peak:.1f} (limit {LIMIT})")
msg.add_attachment(latest.read_bytes(), maintype="text", subtype="csv", filename=latest.name)
with smtplib.SMTP("smtp.example.org", 25) as server: # replace with your relay
server.send_message(msg)
print("sent:", msg["Subject"])B. A cloud flow, step by step (Power Automate)
Trigger : When a file is created in a folder (OneDrive / SharePoint) — folder "Test reports" Step 1 : Get file content Step 2 : Condition — file name ends with ".xlsx" Step 3 : Run script (Office Script that reads cell D2 "Max oil temp", Episode 36) Step 4 : Condition — result > 85 Yes : Post message in a Teams channel — "Oil temperature alert in <file name>" No : (nothing) Step 5 : Send an e-mail (V2) to the lab group with a link to the file
C. Instructions for an AI assistant that summarises test logs safely
Role: You summarise endurance-test logs for engineers. Input: one CSV file with columns Time, Speed_rpm, Oil_Temp_C, Vib_RMS_mm_s. Do: 1. Report run duration, mean and maximum of each numeric column. 2. List every period where Oil_Temp_C > 85 or Vib_RMS_mm_s > 4.5, with start and end times. 3. Show the calculations or code you used so the numbers can be checked. Do not: - guess values that are not in the file, or invent causes; - change, delete or send any file; - include data in your answer beyond what is needed for the summary. If the file is incomplete or columns are missing, say so and stop.
07Version explorer
Blue chips: RPA. Amber chips: no-code integration and AI agents.
08Getting the tools
| Tool | Where | Notes |
|---|---|---|
| Power Automate (desktop) | Built into Windows 11; Microsoft Store | Free download from Microsoft for Windows 10 |
| UiPath Community / Automation Anywhere Community | uipath.com, automationanywhere.com | Free editions for individuals and learning |
| n8n (self-hosted) | n8n.io, github.com/n8n-io/n8n | npx n8n or Docker; data stays on your server |
| Robot Framework | robotframework.org | pip install robotframework; open source |
09Lessons
- Fix the process before automating it. A robot that copies a bad process makes mistakes faster.
- APIs first, screens last, AI where judgement is needed. Each layer is less predictable than the one before.
- Someone must own every bot. Automations need monitoring, credentials management and updates when systems change.
- Keep humans in the loop for consequences. Reports can be automatic; approvals, payments and safety decisions need a person.