Calculadora COMEX Perú

Home / Digital business and AI / Module 4

4.1 Automating tasks with AI

Automating means letting a program do repetitive tasks. Learn which tasks to hand to AI and which not, how to calculate the real savings, and how much human review each one needs.

Module 4: AI and automation · Reviewed on 12/10/2026 · Español

Goal: Choose which tasks to hand to AI, assign the level of human control and calculate the net savings of automating, review included.

Automating means getting a task done on its own, with fixed rules: when an order comes in, a confirmation email goes out. Generative artificial intelligence (AI) adds something those rules lack: it understands free text and can write. A message like “how much is shipping to arequipa??” doesn't fit a rule, but AI understands it and suggests a reply. In topic 1-3 you used it to generate ideas and organize data; here you take the next step: letting it work on tasks that repeat.

Not everything is worth automating. A good candidate task repeats often, follows a clear pattern, is cheap to fix if it goes wrong, and can be checked in seconds. In a digital business, these usually qualify: answering frequent questions about sizes, delivery times and payment methods; writing product descriptions; summarizing reviews; sorting emails; and moving order data into a spreadsheet. On the other hand, leave complaints and returns, price changes, promises about dates or warranties, and any decision about money in the hands of a person.

Before automating, measure. Write down how many times a month you do the task, how many minutes it takes and what your hour is worth (for example, what you would pay an assistant). Then estimate the time with AI, review included: AI generates in seconds, but you still read and correct. Subtract the cost of the tool and the initial setup from the savings. A 10-minute task you do three times a month is almost never worth the effort; a 2-minute task you repeat 600 times is. If the process is already messy, simplify it first: automating it only makes it messy faster.

Decide how much human control each task needs. At level 1, draft, AI proposes and you approve each result before sending it. At level 2, sampling, AI acts on its own and you review a sample (for example, 1 in 10) and the doubtful cases. At level 3, automatic, there is no review, and it is only justified for minimal-risk tasks. Always start at level 1, log errors for two weeks and move up a level only if they are few and don't involve prices, delivery times or customer data.

The legal framework matters too. In Peru, Law 31814 promotes the use of AI, and its regulation (Supreme Decree 115-2025-PCM) requires trained human oversight for high-risk systems, such as those in health, education, justice and finance. An online store is usually not in that group, but the logic applies to everyone: whoever uses AI answers to their customers for what it does. You must also comply with Law 29733, the Personal Data Protection Law: before pasting customer names, DNI (national ID) numbers or phone numbers into a tool, check what the provider does with that data, or remove it.

Key ideas

Control levelHow it worksTypical taskWhen it fits
1. DraftAI proposes and you approve each resultCustomer replies, product descriptionsAlways at the start, and in anything involving prices, delivery times or money
2. SamplingAI acts on its own; you review a sample and the doubtful casesSorting emails, tagging reviewsAfter two weeks with few errors and no serious failures
3. AutomaticAI acts without reviewMoving order data into a sheet, sorting by dateOnly with minimal risk and with alerts to detect failures

Worked example

Pima Andina: what to automate first and whether it pays off
  1. Pima Andina (a fictitious company in Lima) sells pima cotton T-shirts on Instagram, WhatsApp and its web store. Lucía, the owner, values her hour at S/ 25 and is evaluating a paid AI tool that costs S/ 80 a month (assumed price).
  2. List three tasks with their frequency. A: answering questions about sizes, shipping and delivery times, 600 queries a month at 2 minutes each. B: writing product descriptions, 30 a month at 12 minutes each. C: handling complaints and returns, 15 a month at 20 minutes each.
  3. Rate the risk. Task C affects money and customer rights: it stays with Lucía. A has medium risk (a wrong promise about delivery time) and B has low risk. A and B start at level 1: AI drafts and Lucía approves.
  4. Calculate A. Today: 600 × 2 = 1,200 minutes = 20 hours. With AI, generating and approving takes 1 minute: 600 × 1 = 600 minutes = 10 hours. Savings: 10 hours × S/ 25 = S/ 250 a month.
  5. Calculate B. Today: 30 × 12 = 360 minutes = 6 hours. With AI, 2 minutes of generation and 4 of review: 30 × 6 = 180 minutes = 3 hours. Savings: 3 hours × S/ 25 = S/ 75 a month.
  6. Compare with the cost. With B alone you save S/ 75 and the tool costs S/ 80: it doesn't pay off (you lose S/ 5). A and B together save 13 hours, that is, S/ 325, and leave S/ 325 − S/ 80 = S/ 245 net a month.
  7. Add the setup. Writing instructions, gathering the frequent questions and testing takes 6 hours, one time only: 6 × S/ 25 = S/ 150. It is recovered in 150 ÷ 245 = 0.61 months, that is, in less than a month.
  8. Design a two-week pilot at level 1, with an error log. Write the rule for moving up a level right now: fewer than 3 errors per 100 replies and none on prices, delivery times or shipping costs. The instructions contain no customer data.

Result: Automating A and B saves about S/ 245 net a month, and the setup is recovered in less than a month; B alone doesn't pay for the tool. Complaints stay in the hands of a person.

Real cases

Peru issues the regulation of Law 31814 on artificial intelligence

09/09/2025

On 09/09/2025, Supreme Decree 115-2025-PCM, the regulation of Law 31814, was published in El Peruano. For high-risk AI systems, such as those in health, education, justice and finance, it requires trained staff who can stop, correct or override the system's decisions. It also requires informing users and complying with Law 29733 on personal data. It matters because it sets the Peruvian standard: AI supports, and the person is accountable.

Even if your store is not high-risk, design every automation so that a person can stop it and correct it.

Source: El Peruano – Decreto Supremo 115-2025-PCM, Reglamento de la Ley 31814

Shopify builds in AI to write replies, blog posts and emails

26/07/2023

On 26/07/2023, Shopify presented its Summer '23 Edition, with more than 100 updates. Among them was Shopify Magic, AI features inside its tools that generate, for example, replies to frequent questions in Shopify Inbox, blog posts and emails. It also announced Sidekick, a commerce assistant that would soon arrive in early access. It matters because AI for repetitive text tasks already comes built into store platforms.

Before paying for another tool, check what AI features your platform includes and use them as a draft that you approve.

Source: Shopify – Summer '23 Edition: 100+ updates that reimagine commerce for the future

Common mistakes

Practise with the calculators, the COMEX Simulator and the review questions on the main page.

Open this topic in the calculator →
← Previous topic: Growth hacking and automated repliesNext topic: Building an AI assistant for your business →