The Problem: Routine Work Consuming Senior Capacity in a Regulated Environment
You run a 2,000+ employee insurance company in Germany. Your support team handles 12,000 to 18,000 tickets monthly across policy inquiries, claim status checks, and document requests. Senior agents spend 40 to 55 percent of their time answering questions that a well-indexed knowledge base could resolve in under 90 seconds. Your ISO 27001 certification requires that policyholder data never leaves your network perimeter, which rules out sending every ticket to a cloud LLM API. You need a conversational agent that runs on open-weight models hosted on your own hardware, integrates with Zendesk or Intercom, and frees senior staff from routine work without compromising compliance. The 6-month timeline is not aspirational; it is the minimum window to audit, pilot, validate, and scale across departments while maintaining the audit trail your ISO 27001 auditor will request.
Prerequisites: What Must Be in Place Before Step 1
Before you write a single line of integration code, confirm these conditions are met:
- Zendesk or Intercom API access with read permissions on ticket fields, tags, and custom attributes. You need the ability to create, update, and resolve tickets programmatically.
- A defined knowledge base with at least 200 to 400 documents indexed in a vector store. These should be policy terms, claim procedures, FAQ entries, and internal SOPs. Unstructured PDFs without metadata will degrade retrieval quality.
- On-premise GPU infrastructure capable of running an open-weight model. For a 7B to 13B parameter model like Llama 3 or Mistral, you need at minimum one A100 80GB or two A100 40GB GPUs. For a 70B model, plan for four A100s or an H100 cluster.
- ISO 27001 documentation owner assigned. This person will review the data flow diagram, access control matrix, and incident response procedure for the AI layer.
- A named business sponsor from the support or operations department who can approve the pilot scope and sign off on the baseline metrics.
Step 1: Audit Current Support Workflows and Establish Baselines
Map every support workflow that touches document turnaround or routine inquiry handling. For an insurance company, this typically includes: policy status checks, claim document requests, premium payment inquiries, and coverage question triage. For each workflow, record the current cycle time from ticket creation to resolution, the number of manual steps, and the error rate on data entry or document extraction. Use Zendesk’s reporting dashboard or Intercom’s analytics to pull 90 days of ticket data. Export the data to a spreadsheet and calculate the median cycle time per category. This baseline is your control group. Without it, you cannot prove the AI agent reduced turnaround time. The audit should also identify which workflows involve policyholder data that must stay on-premise versus general inquiries that could use a cloud API. Document this classification in a one-page matrix that your ISO 27001 auditor can review.
Step 2: Build the RAG Pipeline on On-Premise Open-Weight Models
Select one workflow for the pilot. The best candidate is high-volume, low-complexity, and has a clear success metric. For insurance, policy status inquiries or document request triage work well because the answer is deterministic and the knowledge base is well-defined. Deploy an open-weight model like Llama 3 8B or Mistral 7B on your on-premise GPU cluster. Use a RAG pipeline: chunk the knowledge base documents into 512-token segments, embed them with a sentence-transformer model, and store the vectors in a local vector database like Qdrant or Weaviate. The agent retrieves the top 5 relevant chunks, constructs a prompt with the retrieved context, and generates a draft response. Configure the model to output a confidence score. Any response below 0.75 confidence routes to a human agent for review. Log every retrieval, prompt, and response to a local audit log with timestamp, ticket ID, and model version.
Step 3: Integrate with Zendesk or Intercom Using Read-Only API Access
Connect the agent to Zendesk or Intercom via their REST APIs. In Zendesk, use the Tickets API to create a webhook that triggers the agent on new ticket creation. The agent reads the ticket subject, description, and custom fields, runs the RAG query, and posts a draft response as a private note on the ticket. A human agent reviews the note, edits if necessary, and sends the response to the customer. In Intercom, use the Inboxes API and the Messages endpoint to achieve the same flow. The integration must be read-only for the AI component: the agent can read ticket data and post internal notes, but it cannot send messages to customers, update ticket status, or modify CRM records. This separation ensures that the human-in-the-loop approval step is the only path to customer-facing action. Test the integration with 50 real tickets in a sandbox environment before going live. Verify that the webhook fires within 2 seconds of ticket creation and that the draft note appears in the agent’s queue.
Step 4: Run the Pilot with Human-in-the-Loop Approval and Measure the Delta
Run the pilot for 4 to 6 weeks with the agent handling one workflow in parallel with the existing manual process. Every automated action requires human approval before it reaches the customer. Track three metrics daily: cycle time from ticket creation to resolution, first-response time, and error rate on the agent’s draft responses. Compare these against the baseline from Step 1. The success criterion is a 30 to 50 percent reduction in cycle time with error rate at or below the manual baseline. If the error rate exceeds 3 percent, tighten the retrieval threshold or add a human approval step for that specific category. Document every incident where the agent produced an incorrect or misleading response. This incident log becomes part of your ISO 27001 evidence pack. At the end of the pilot, present the measured delta to the business sponsor. If the numbers hold, you have the data to justify scaling to additional departments and workflows.
Step 5: Scale Across Departments and Transition to Managed Operations
Scale the agent to additional workflows and departments. For a 2,000+ employee insurance company, this means extending the RAG pipeline to cover claim procedures, underwriting guidelines, and compliance FAQs. Each new workflow requires its own knowledge base index, retrieval configuration, and approval threshold. The on-premise model infrastructure must scale horizontally: add GPU nodes as ticket volume increases. Transition to managed AI operations: a dedicated team monitors model performance, updates the knowledge base as policies change, and handles incident response. The managed operations SLA should specify a 4-hour response time for critical incidents and a weekly performance report. The ISO 27001 audit trail must cover every automated action from pilot through rollout. Your auditor will request the data flow diagram, access control matrix, incident log, and model version history. Having these artifacts ready from the pilot phase, not after rollout, is what makes the 6-month timeline credible.
Leave a Reply