Calculadora COMEX Perú

Home / Digital business and AI / Module 4

4.3 Connecting tools and workflows

Several connected tools save more than one alone. Learn the pieces of a workflow, the ways to connect your store, your spreadsheet and AI, and how to protect your customers' data along the way.

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

Goal: Design a workflow with a trigger, actions and a filter, decide what data travels to each tool and estimate task usage and hours saved.

A standalone tool saves little; several connected tools save a lot. An integration is a connection that lets two programs exchange data. A workflow is the chain of steps that runs on its own when something happens. Example: when a customer pays in your store, the order data goes to a spreadsheet, AI writes the confirmation and the warehouse is notified. You don't copy or paste anything.

Every workflow has the same pieces. The trigger is the event that starts it: an order arrives, a message comes in, a form is filled out. The actions are what it does next: create a row, send an email, ask AI for a draft. A filter decides whether the workflow continues or branches off: if the total is over S/ 500, a person reviews it. Before opening any tool, sketch the workflow on a sheet of paper with these pieces; that way you spot unnecessary steps.

There are several ways to connect. Many platforms come with native integrations (your store with your payment gateway). No-code automation platforms, such as Zapier, Make or n8n, link many apps with visual steps. Behind almost every connection there is an API, the door one program opens so another can request or send it data, and sometimes a webhook, an automatic notice one tool sends to another when something happens. There is also the Model Context Protocol (MCP), an open standard so AI assistants connect to your tools and data the same way every time.

Workflows fail, so be prepared. Test with sample data before using real customers, and include odd cases: a name with ñ, an order without an email, an out-of-stock product. Turn on error alerts so you find out the same day. Check how the platform charges: many count each step as a task, and a badly designed workflow can use up your plan. Always add human approval to anything that moves money, such as refunds or price changes, and write down what each workflow does and who is responsible for it.

Every connection moves data, and that has rules. Give each tool only the permissions and data it needs, and store access keys (API keys) like passwords: never in a chat or an email. In Peru, Law 29733, the Personal Data Protection Law, generally requires that customers know what you use their data for and that you use it only for that. Its regulation (Supreme Decree 016-2024-JUS), in force since late March 2025, regulates data flows to other countries and the reporting of security breaches. Since many tools store data outside Peru, check where what you send is stored. Don't touch card data: the payment gateway processes it.

Key ideas

Way to connectWhat it isAdvantageLimit
Native integrationThe platform already includes the connection (store with payment gateway)Fast and stable; nothing to buildOnly links what the provider decided to link
No-code platformZapier, Make, n8n: visual steps between many appsFlexible; you don't need to codeUsually charges per task and requires watching errors and usage
API connectionYour team codes the data exchangeFull, custom controlNeeds coding and maintenance
AI assistant with connectors (MCP)The assistant queries your tools through an open standardOne single way to connect with many toolsRequires minimal permissions and checking what data the assistant sees

Worked example

Casa Tara: from the web store to automatic confirmation
  1. Casa Tara (a fictitious company in Cusco) sells alpaca blankets and scarves in its web store and receives 220 orders a month. Today, for each order, it copies the data to a sheet, writes the confirmation to the customer and notifies the warehouse: 6 minutes. In total, 220 × 6 = 1,320 minutes = 22 hours a month.
  2. Sketch the workflow before touching any tools. Trigger: order paid in the store. Step 1: add a row to the sheet. Step 2: AI writes the confirmation. Step 3: filter, which sends orders over S/ 500 or going abroad to human review. Step 4: send the email to the customer. Step 5: notify the warehouse.
  3. Decide what data travels. Only name, products, city and delivery time go to the AI, because it needs nothing more to write. DNI and phone number don't pass through that step, and the full address only reaches the warehouse.
  4. Estimate human review: 15% of orders, that is, 220 × 0.15 = 33 orders a month. The other 220 − 33 = 187 go out without Casa Tara stepping in.
  5. Calculate usage. If the platform counts each step as a task (each platform counts differently; check yours): 220 orders × 5 steps = 1,100 tasks a month. A 750-task plan is not enough; a 2,000-task plan is, with a margin of 900. Set an alert at 80%: 2,000 × 0.80 = 1,600 tasks.
  6. Test with 10 fictitious orders: a normal one, one for S/ 650, one going abroad, one with an out-of-stock product, one with a customer named “Niño” and one without an email. Two fail: the ñ shows up wrong in the email, and the order without an email stops the workflow. Fix the email encoding and add a condition: if the email is missing, notify Casa Tara.
  7. Measure the time. Each reviewed order takes 4 minutes: 33 × 4 = 132 minutes = 2.2 hours. Before, it was 22 hours; now it is 2.2: the savings are 22 − 2.2 = 19.8 hours a month.
  8. Document the workflow in a sheet: what it does, what data it uses, what accounts it connects and who has access. Use business accounts, not personal ones, and review failed steps every week. Casa Tara is responsible for the workflow.

Result: The workflow frees up 19.8 of 22 hours a month with 15% human review, uses 1,100 of the plan's 2,000 tasks and sends the AI only the data it needs.

Real cases

Anthropic introduces the Model Context Protocol (MCP)

25/11/2024

On 25/11/2024, Anthropic released the Model Context Protocol (MCP), an open standard for connecting AI assistants to data sources and tools. According to the company, models were isolated from data, and each new source required a custom integration; MCP proposes a single way to connect them. It matters because it aims to reduce the work of linking an assistant to your catalog, your order sheet or your email.

When choosing AI tools, prefer those that connect through open standards or with the apps you already use, so you don't have to redo each integration.

Source: Anthropic – Introducing the Model Context Protocol

Peru approves the new personal data protection regulation

11/2024

In late November 2024, Supreme Decree 016-2024-JUS was published as the new regulation of Law 29733. It replaces Supreme Decree 003-2013-JUS and takes effect 120 calendar days after publication, from late March 2025. It allows the National Authority for Personal Data Protection to determine whether a country offers comparable protection for cross-border data flows, and it requires notifying the authority within 48 hours of security breaches of a certain scale.

When connecting tools, write down what customer data passes through each workflow and where it is stored, so you can act fast if there is a leak.

Source: El Peruano – Perú fortalece la protección de datos: principales cambios del nuevo reglamento

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: Building an AI assistant for your businessNext topic: Selling in other countries →