Technical illustration: A Customer Email Is Not an Instruction: Using AI Safely to Prepare Quotes

Everyday AI security · approx. 4 min

A Customer Email Is Not an Instruction: Using AI Safely to Prepare Quotes

An AI agent reads a customer's enquiry and prepares a quote. But what happens if an attachment tries to give the agent new instructions?

Short answer: An AI agent can structure a customer's enquiry and prepare a draft quotation. To do this safely, it must distinguish information in emails from binding operating instructions and refer critical actions for review.

When an enquiry starts a workflow

A customer emails a request for quotation, attaching technical information. A digital assistant could assemble the relevant details, identify unanswered questions and prepare a reply. This saves time on repetitive work.

Not everything in an incoming message is trustworthy, however. An attachment might instruct the agent to disclose internal price lists or ignore data-handling rules. A human employee would not normally treat such a statement as a legitimate company instruction.

This is a hypothetical example, not a report of a specific known customer incident.

What is indirect prompt injection?

With indirect prompt injection, third-party content contains instructions that do not come from the agent's actual operator. The carrier might be an email, PDF, web page or another document the agent reads. The attacker attempts to turn data into an instruction that controls the system.

Microsoft recommends layered defences against such attacks. They include separating external content from authorised instructions, restricting tools and permissions, and controlling high-risk actions. No single filter can eliminate the risk entirely.

From the inbox to a draft quotation

A controlled process could work as follows:

  1. Read the enquiry. The agent may analyse the message and attachments within an agreed scope.
  2. Collect the details. It extracts quantities, product requirements, deadlines and outstanding questions, with their sources.
  3. Prepare a draft. It suggests a reply or quotation template rather than automatically changing prices or forwarding information.
  4. Obtain approval. A responsible employee reviews material facts and authorises sending.

The agent can help prevent mistakes. Its permission boundaries must still hold when an external file tries to redirect its behaviour.

What does this mean for your business?

Start with a straightforward distinction: Customer information may affect the content of a quotation, but it must not change the AI agent's system permissions. Test this rule with unusual and deliberately manipulated messages before using the process on real business data.

Want to process incoming enquiries faster without giving up control of data and decisions? I can help you design a secure workflow.

Discuss a project ↗

Sources and further reading