Start with the actual data path, not the vendor pitch

When someone asks me "is this AI tool safe to use with our data?", my first response is always the same: let's trace exactly what data moves where, and who touches it along the way. Most security conversations go sideways because people argue about the tool in the abstract instead of the specific workflow they're about to build.

Every AI automation touches data at five points. If you can map those five points for your workflow, you can have a real conversation with your IT person, your attorney, or your vendor. If you can't, you're guessing.

This piece walks through those five points in plain language, with examples from the kinds of automations we build for operations teams, including front-office work at medical and dental practices.

The five places your data shows up in an AI workflow

1. The trigger: what kicks the automation off

Something has to start the automation. A new email lands in a shared inbox. A form gets submitted. A missed call comes in. A row gets added to a spreadsheet. A new appointment is booked in your scheduling system.

At the trigger, the data being touched is usually small but often sensitive. A caller's phone number. A patient's name and reason for calling. A lead's email address and the message they typed. Ask yourself: what system is watching for that trigger, and does it already have permission to see this data? In most cases the answer is yes, because that system is already part of your stack (your phone system, your CRM, your inbox). The automation is just listening to something that already exists.

2. The pull: what context the automation gathers

Once the automation fires, it usually needs more context to be useful. A customer email asking "where is my order" is useless without the order record. A missed call from a patient is useless without their chart or at least their appointment history.

This is the step operators usually underestimate. The automation reaches into one or more systems and pulls fields. In a well-designed workflow, it pulls only the specific fields it needs: order status and tracking number, not the entire customer record; appointment date and provider, not the full clinical note. The principle is called least privilege, and in practice it means your API connections and service accounts should be scoped as narrowly as the job allows.

If a vendor tells you their automation needs full admin access to your EHR or CRM to do a simple task, push back. That's a convenience request, not a technical one.

3. The model call: what actually goes to the AI

This is the step everyone fixates on, and for good reason. When the automation sends a prompt to a language model, whatever is in that prompt leaves your environment and goes to the model provider (OpenAI, Anthropic, Azure OpenAI, AWS Bedrock, Google, or a self-hosted model).

A few things matter here:

  • What's in the prompt. The prompt usually contains instructions, a bit of context pulled in step two, and the specific input you want the model to act on. You control what goes in. If you don't want a full patient record going to the model, don't put it in the prompt. Send only what the model needs to produce the answer.
  • Which model, and under what terms. Enterprise and API tiers of the major providers typically do not train on your inputs by default, and offer data processing agreements and BAAs where applicable. The free consumer chat products are a different story. Know which tier you're on and get the paperwork.
  • Where the model runs. Region matters for some regulations. Self-hosted or VPC-deployed models keep data inside your cloud. For most operational use cases, a reputable API with the right contracts is fine. For some, it isn't.

4. The action: what the automation does with the output

The model returns something. Now the automation does something with it: drafts a reply, updates a CRM field, posts to Slack, creates a task, sends an SMS, writes a row to a database, books an appointment, generates a document.

Two risks live here. First, the output can be wrong or hallucinated, and if the automation writes it straight into a system of record without a human review step, you've got bad data flowing downstream. Second, the action itself touches data (the SMS goes to a real phone number, the Slack message mentions a real customer). Treat the action step with the same care as the trigger: which system is being written to, who can see it, and is that the right audience.

For anything customer-facing or clinical-adjacent, I almost always recommend a human-in-the-loop step for the first several weeks, even if the long-term plan is full automation.

5. The logs: what gets stored, and for how long

Every automation leaves a trail. The orchestration platform (Zapier, Make, n8n, a custom app) logs runs. The model provider logs API calls, usually for 30 days for abuse monitoring, sometimes zero on enterprise tiers. Your own systems log the actions taken.

Those logs often contain the full prompt and response, which means they often contain the sensitive data you were careful about in step three. Audit your logging. Decide retention. Restrict access. This is the step that trips up practices during a security review, because nobody thought about it when they built the workflow.

A concrete example: missed-call follow-up at a dental office

Here's what the five steps look like for a real automation we've built many times.

Trigger: The phone system flags a missed call during business hours. Data touched: caller phone number, time of call.

Pull: The automation checks the practice management system for an existing patient record matching that number. It pulls first name, last appointment date, and next scheduled appointment if any. It does not pull clinical notes, insurance details, or balance.

Model call: The automation sends a prompt to the AI with a short instruction ("draft a friendly text to a patient who just called"), the first name, and whether they have an upcoming appointment. No date of birth, no chart data, nothing clinical.

Action: The draft SMS goes to a queue that the front desk reviews and approves with one tap. After two weeks of near-perfect drafts, the office owner can decide to let certain categories send automatically.

Logs: The orchestration platform retains run logs for 30 days with access limited to two admins. The model provider is on an enterprise tier with zero-day retention and a signed BAA. The SMS gateway retains message history per the practice's existing policy.

Notice what's not in that flow: no clinical data ever reaches the model. The automation is useful without it.

Questions to ask before you turn anything on

  • What is the minimum data this workflow needs to do its job?
  • Which systems is the automation reading from, and with what permissions?
  • Which model is being called, under which contract, and does training-on-inputs apply?
  • Where are logs stored, who can read them, and how long are they kept?
  • Is there a human review step for the first weeks of operation?
  • If this automation misbehaves, how do we turn it off, and how fast?

If you can answer those six questions for every automation you run, you are ahead of the vast majority of businesses using AI today, including ones with much bigger security budgets.

Mapping these flows for your own operation is the kind of work we do with clients every week. If you want a second set of eyes on a workflow you're planning, or help designing one that respects the data boundaries your business actually has, talk to our team at Qintara Corp.

Frequently Asked Questions

Does using an AI automation mean my data is used to train someone else's model?

Not if you use enterprise or API tiers from the major providers, which contractually exclude your data from training by default. The free consumer chat products often have different terms. Always check the specific tier and contract for the exact service you're using, and get it in writing.

Is it safe to use AI automations in a HIPAA environment?

It can be, with the right setup: a signed BAA with your model provider and orchestration tools, workflows designed to minimize PHI in prompts, access-controlled logs, and documented policies. The automation itself isn't what makes you compliant or not. The configuration and contracts do. Confirm the specifics with your own compliance counsel.

Do I need to encrypt data going to the AI?

Data in transit to major model APIs is already encrypted via TLS. The more useful question is what data you're sending at all. Reducing the sensitive content in the prompt is usually a bigger win than any additional encryption layer.

What's the single most common mistake operators make?

Over-sharing context with the model because it's easier than being specific. Sending the whole record "just in case" instead of the three fields the automation actually needs. Tighten the prompt and most of your data exposure disappears.

Who should own AI governance in a small company?

Whoever owns operational risk today, usually the founder, COO, or office manager. You don't need a CISO to write a one-page policy that lists approved tools, data categories, and review steps. You do need someone whose job it is to keep that page current as new automations get added.