Skip to main content
    KI-Beratung Deutschland
    AI automation

    AI integration in business: connecting Excel, Outlook and ERP

    Christoph Herting8 min read

    AI integration in business works when a clearly defined process, suitable interfaces and explicit approvals fit together. For Excel, Outlook and ERP, this means assessing the data flow first, then building a controlled pilot. This guide explains the decisions to make before connecting the systems.

    Start with a process your team knows well

    Your team may recognise this situation: information arrives by email, is added to a spreadsheet and then entered into the ERP system. An AI application already helps with writing, but moving information between systems remains manual work. What data does the next step need, which system is the authoritative source and who checks the result?

    A recurring process with a clear beginning and end is a suitable starting point. ‘Automate our back office’ is too broad. ‘Capture customer enquiries from an approved mailbox and prepare a proposal that a person can review’ can be assessed in concrete terms.

    Work with the relevant department to describe what happens today. Who opens the message? What information is looked up and transferred? Where do follow-up questions arise? Record when a case is deliberately handled manually. This provides a basis for AI consulting for mid-sized companies and shows which steps can already be handled using fixed rules.

    Check the requirements for Excel, Outlook and ERP

    A product name alone says little about which connections are possible. The version, deployment model, licences, available interfaces and permissions within the company are what matter.

    For Excel, check the storage location, file format, table structure, formulas and concurrent editing. Microsoft Graph supports access to workbooks in supported storage environments such as OneDrive for Business or SharePoint. The documented Excel REST API supports .xlsx, not the older .xls format. This does not establish that every existing file and intended action is immediately suitable. Source: Microsoft Graph: Excel API.

    For Outlook, establish which service hosts the mailbox. Having the Outlook desktop application does not establish that an automation interface is available. Microsoft Graph documents separate permissions for reading, editing and sending messages. Mail.ReadWrite, for example, does not include permission to send. Selected messages and draft replies may be sufficient for an initial pilot. Source: Microsoft Graph: permissions.

    For the ERP system, the vendor, version, API or import function, test environment and write permissions are key. A read-only master-data lookup, a controlled import and a direct posting have different requirements. If a suitable API is unavailable, first assess an approved export or import. Automation through the user interface requires a separate assessment of reliability and the vendor's terms.

    Define the data flow before choosing tools

    For each processing step, it should be clear what information goes where. This includes source data, the AI model, temporary storage, logs and the destination system. Include attachments, backups and support access in that assessment. Also define which source takes precedence when information conflicts.

    One possible sequence: an approved message triggers the process. The workflow takes the required information. AI proposes a structured record. Fixed validation rules check mandatory fields and allowed values. An authorised person reviews the proposal and its source. Only after approval is the agreed action performed and recorded.

    The deployment model follows these requirements. For Private AI for companies, model operation, external connections, access rights and responsibilities should be clearly documented. A server location alone does not answer these questions. The German Data Protection Conference's guidance sets out considerations for the specific use of AI systems and the processing of personal data.

    Separate reading, preparing and executing

    Read-only access may be sufficient for an assistant that gathers information. Preparing drafts requires selected write permissions. Sending a binding message or posting to an ERP system requires a separate decision about scope and controls. Plan these three levels separately.

    Limit access to the mailboxes, files and actions that are needed. Microsoft recommends the least privileged permissions for Graph. Broad access is not a prerequisite for a useful pilot.

    Text in emails or documents can contain malicious instructions. OWASP describes this risk as indirect prompt injection and recommends measures including limited privileges, technical controls and human approval for particularly consequential actions. Source: OWASP: prompt injection.

    In practice, document content is treated as data. Established process rules and permissions determine whether an action is allowed. A statement in an attachment must not substitute for an additional approval.

    Example: preparing a customer enquiry for processing

    The following fictional scenario illustrates a possible process. It is not a client reference and does not describe a system connection that has already been tested.

    An enquiry arrives in the central sales mailbox. It contains an item description, a quantity and a requested delivery date. The workflow reads the approved message. AI proposes the structured information; an existing customer number is checked through the authorised interface.

    The results appear in a review screen with a reference to the original message. An employee can see which information is clear and which is missing. A draft record is created in the agreed destination system only after that person confirms it. Any follow-up message to the customer is initially prepared as an email draft.

    If the item number is missing or the message and attachment conflict, the case is passed to the responsible employee. They must be able to see why processing stopped. This exception procedure belongs in the initial process design.

    Test normal cases and difficult exceptions

    The pilot starts in a separate test environment with suitable test data. Synthetic or effectively anonymised examples are an appropriate first step. Later use of real data requires a separate assessment of purpose, access rights and processing.

    The test set should contain normal cases as well as incomplete information, duplicate emails, faulty attachments, conflicting values and temporarily unavailable systems. Include a message containing malicious instructions in the checks.

    Define a good result in advance. Which fields must be correct? Which cases must move to manual handling? Which actions must never happen without approval? A demonstration using a few convenient examples does not answer these questions.

    Microsoft documents Excel errors including access conflicts, missing permissions and temporary limits. Not every failed request should simply be repeated unchanged. Source: Microsoft Graph: Excel error handling. A unique case identifier, protection against duplicate processing and a visible list of unresolved errors are therefore useful parts of the pilot.

    Measure value across the entire process

    Assessment should cover working time from receipt to a result that is usable by the department. Include review, corrections and exception handling. The value of a quickly generated draft must be established within the actual workflow.

    Compare similar cases before and during the pilot. Useful measures include processing time, rework, the proportion of mandatory fields captured correctly and the number of follow-up questions. Also define which errors require stopping the pilot regardless of its average quality.

    The financial assessment includes implementation and ongoing operation: interfaces, software licences, model use, hosting, support and internal ownership. Distinguish capacity released from expenses actually reduced. The AI consulting cost overview provides orientation; the specific scope follows from the assessed process.

    Plan ongoing operation and ownership

    Before production approval, the process needs a business owner and a technical contact. Both should know which changes trigger another test, such as new spreadsheet fields, revised ERP interfaces or a different AI model.

    The handover should include clear working instructions, a way to stop the workflow and an agreed manual fallback. Logs should support error analysis without unnecessarily duplicating confidential content.

    If the main difficulty is finding internal information, an enterprise GPT for approved knowledge may be a more suitable starting point. Its scope differs from a workflow that changes operational systems. The service page on AI integration with existing systems covers the technical implementation of these connections.

    Frequently asked questions about AI integration

    Can every ERP system be connected directly? This cannot be established reliably without an assessment. The vendor, version, interfaces, terms of use and permissions determine the options. An approved export may be sufficient for an initial test; a direct posting requires further checks.

    Does AI need to act independently from the start? Not for the pilot described here. Read-only access and a draft that can be reviewed may already show whether processing works in practice. Binding actions require separate approval.

    What makes a useful pilot? It has a limited process, defined data sources, verifiable results and clear exception handling. Whether it makes financial sense is assessed using agreed measures that include review and rework.

    Discuss your process in an initial consultation

    What information does your team currently transfer between email, Excel and ERP? Bring a short description of the process and the names of the systems involved. Confidential customer data is not needed for this initial discussion.

    A free initial consultation can identify the questions a technical assessment needs to answer and help define a suitable first use case. A firm implementation commitment follows only after the actual prerequisites have been checked.

    Sources and scope of the guidance

    Sources reviewed on 4 December 2026. The linked primary sources support the associated technical and data-protection statements. The process design and checks are a recommended project method; their suitability needs to be assessed for the specific use case.

    Microsoft Learn: Excel workbooks and charts API overview — supported storage environments, workbook access and file format.

    Microsoft Learn: Microsoft Graph permissions reference — least privileged access, including Mail.ReadWrite and Mail.Send.

    OWASP Gen AI Security Project: LLM01:2025 Prompt Injection — external content as an attack vector, limited permissions and controls for actions.

    Microsoft Learn: Error handling for Excel APIs — different error conditions and appropriate responses.

    German Data Protection Conference: technical and organisational measures for developing and operating AI systems: German guidance on specific AI uses and processing personal data.