Automation · Free guide

Preparing an automation: from process to first test

A practical checklist for defining inputs, expected results, exceptions and checks before choosing automation tools.

Level
Getting started
Reading time
5 min
Updated

Before you start

  • A repetitive task you know first-hand.
  • Anonymous or synthetic examples of the inputs and expected results.

What you will take away

  • A process brief with clear boundaries.
  • Test cases for correct results, failures and missing data.
  • Criteria for deciding whether to start a small pilot.

1. Define one task

Choose an observable step with a clear start and finish. For example: receive a request, check that required fields are present and prepare a draft response. The first pilot can stop at the draft, leaving a person to send it.

Write down who owns the process and who can approve the result. If you cannot recognise a correct result, clarify the process first.

  1. Describe the event that starts the work.
  2. Identify the final output and its recipient.
  3. List the actions excluded from the pilot.

2. Make inputs and checks explicit

List the required data and its sources. Distinguish mandatory fields from optional ones. For each field, specify its format, allowed values and what should happen when it is missing.

Use synthetic or anonymised data for the initial test. Do not copy credentials, confidential documents or personal data into unauthorised tools.

  1. Prepare a valid example.
  2. Prepare an incomplete example.
  3. Decide which errors stop the workflow and which require review.

3. Plan for failure

A service may not respond, and a request may arrive twice. Before automating an action, decide how to recognise duplicates and resume work without repeating unwanted effects.

Define a human checkpoint for operations that commit money, send messages or change important data. Record outcomes and error reasons while keeping confidential content out of logs.

  1. Identify who receives failure alerts.
  2. Define when an attempt can be repeated.
  3. Provide a way to stop the workflow and return to the manual procedure.

4. Verify before connecting the real process

Run the test cases in a separate environment. For each input, compare the output with the expected result and record differences. Also test missing data, duplicates and an unavailable service.

The pilot is ready for review when you can explain what was verified and which limitations remain. One successful example does not establish how other cases behave.

  1. Check results, errors and the absence of unintended external effects.
  2. Have the process owner review the results.
  3. Agree on acceptance criteria and stop conditions.

5. Choose tools based on constraints

Use the process brief to compare a simple integration, a visual workflow or a script. Consider required access, error handling, maintenance and recurring costs. AI is an option to evaluate when the task requires interpretation; a deterministic rule may only need conventional code.

Keep the brief, examples and test results with the project. They will help you estimate the next steps and check that changes do not break previously verified cases.

Apply this to your project

We can help you define scope, constraints and checks for an automation or software pilot.

Discuss your project