Attach a written-down manual process, get every step sorted into rules a computer can follow and judgments a person keeps, answer the open questions, then get the smallest automation plan, what to test and what to leave manual.
This lesson needs JavaScript. You can read every step here: ChatGPT: Turn a Manual Process into an Automation Plan Before You Build: the step-by-step guide, or browse all free AI automation tutorials.