AI Operator
W2 · Automated routines
Lesson
Time: 4 hours across the week · Device: laptop · You'll ship: a routine with a tested failure path
Beyond the easy case
Almost anyone can build a routine that works when everything goes right. The real skill is building one that behaves sensibly when something goes wrong. A service may be down for a while. A piece of information may be missing. A step may take too long and stop.
This week you build a real routine. Then you test what happens when it breaks.
Choosing your tool
Use a free automation tool. These tools connect apps, and they run a set of steps when something happens. Most offer a free plan that covers the common needs: moving information between apps, sending a message, waiting, and trying again.
Pick the one you found easiest in the Week 1 exercise. If you haven't tried any yet, choose the one with the clearest free plan and the most tutorials.
Picking your routine
Choose a routine with a real start and a useful result. Some ideas:
- A form is filled in, which adds a row to a spreadsheet and sends a confirmation email.
- A new row appears in a spreadsheet, which sends a message to a messaging app.
- A set time comes round, which checks a public source and sends you a short summary.
Building in a retry
A retry means this: if a step fails, the routine tries again. It doesn't give up at once, and it doesn't fail silently.
Most automation tools let you set a retry on a single step, usually with a short wait between attempts. Set it on at least one step. Choose two or three attempts. Don't set an endless loop.
Documenting the failure path
Pick one step most likely to fail in the real world. Often that's a step that depends on an outside service. For that step, write three things:
- What happens when it fails. Write the error or the visible sign.
- What the routine does next. For example, it retries, waits, and then stops.
- What a person needs to do if it still fails after the last retry.
Testing it for real
Many people skip this step, and it's the one that matters most. Break the step on purpose. You can disconnect it, send it bad information, or use the tool's test feature to simulate an error.
Watch what happens. Compare it with what you wrote. If they don't match, fix the document or fix the routine, whichever is wrong.
Why this matters for your portfolio
By Week 6, you'll present three checked systems: this routine, the tracker from Week 4, and the quality check from Week 5. Build this one properly now. Then it becomes a real part of your portfolio, and you won't need to redo it later.
Words used this week
- Routine: a set of steps that runs on its own when something starts it.
- Retry: trying a failed step again.
- Failure path: what the routine does when a step fails.
What you'll do now
Watch the walkthrough video. Then open Exercise below and build your own routine with a tested failure path.
Check yourself
1. Which explanation matches "free automation tool"?
"free automation tool": A website that does a set job for you when something happens, such as sending a reminder after a booking. No coding needed.
2. Which explanation matches "quality check"?
"quality check": A list of tests a piece of work must pass before it is handed over.
3. Which explanation matches "portfolio"?
"portfolio": A collection of your best finished work, shown to potential clients or employers.
Exercise
W2 exercise · Build a routine with a tested failure path
Time: 3 hours · On: laptop, using a free automation tool · Contact anyone? No
Steps
Watch the walkthrough video before you start.
Choose a routine. It needs a clear start and a useful result. Use one of the lesson's examples, or your own idea.
Build the happy path first. This is the version that works when everything goes right. Test it at least twice.
Add a retry to one step. Choose two or three attempts, with a short wait between them.
Write down one failure point. Note three things: what fails, what the routine does next, and what a person must do if it still fails after the last retry.
Cause the failure on purpose. Use bad information, disconnect one step, or use the tool's test feature for errors. Watch what happens.
Compare what happened with what you wrote. If they don't match, fix the written note or fix the routine, whichever is wrong.
Submit
Send these three things:
- A link to your routine, or an exported copy of it.
- Your written failure-path note.
- A screen recording or screenshots of the deliberate failure, and what the routine actually did.
Check your submission against Ship checklist first.
Ship checklist
W2 ship checklist · Routine with a tested failure path
Pass all of these to move on to Week 3. The reviewer checks the actual submitted evidence of the failure test, not just a written description of what should happen.
- The routine has a real start and produces a real, useful result.
- The happy path was actually tested and shown working, at least twice.
- At least one step has a retry configured, with a sensible attempt count.
- One failure point is documented: what fails, what the flow does in response, what a human would do if it's still failing after retries.
- The failure was actually, deliberately caused by the learner, with real evidence (screenshot or recording), not assumed or described hypothetically.
- The documentation matches what actually happened when tested; if it didn't match originally, this is noted honestly as something that was caught and corrected.
Common reasons for a redo: a failure path that's only described, never actually started and observed; retries set to an unreasonable number (like an unlimited loop); documentation that doesn't match what the test actually showed.