# US 2024/0406124 A1 · Electronic Message Response Generation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0406124 A1
- Document ID: US20240406124A1
- Status: Published application
- Kind: A1
- Application number: 18/670,393
- Filed: 2024-05-21
- Published: 2024-12-05
- Earliest claimed: 2023-05-22
- Assignees: Sage Global Services Limited
- Applicants: Sage Global Services Limited
- Inventors: Ben Cunningham; Chandan Kumar; Matthew Shanahan; Peter Horadan; Rohit Kumar; Srijith Rajamohan; Yu-Cheng Tsai
- Web page: https://patentgrep.com/patent/US20240406124A1

## CPC

- G06F 40/35: Discourse or dialogue representation
- G06F 16/3329: Natural language query formulation
- G06F 16/3344: {using natural language analysis}
- G06F 40/186: Templates
- G06F 40/30: Semantic analysis
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 20/00: Machine learning
- G06Q 10/107: Computer-aided management of electronic mailing [e-mailing]
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer implemented method for generating a response to a received electronic message. A generative AI is prompted to analyse the electronic message and to generate intent data indicative of an intent associated with the electronic message and data-identifier data indicative of one or more predetermined data identifiers present in the electronic message. The electronic message is analysed to identify and retrieve client data associated with one or more parties associated with the electronic message. The method includes Verifying the retrieved client data includes data corresponding to the generated data-identifier data. If so, query an ERP system with the verified data-identifier data to extract ERP data corresponding to the predetermined data identifiers of which the data-identifier data is indicative, select a response-message template using the intent data, populate the selected response-message template with the ERP data, and present the populated response-message template to a user for approval.

## Claims

### Claim 1

A computer implemented method for generating a response to a received electronic message, said method comprising:
receiving an electronic message;
prompting a generative AI to analyse the electronic message and to generate:
intent data indicative of an intent associated with the electronic message, and
data-identifier data indicative of one or more predetermined data identifiers present in the electronic message;
analysing the electronic message to identify and retrieve client data associated with one or more parties associated with the electronic message;
verifying that the retrieved client data comprises data corresponding to the generated data-identifier data, and if so:
querying an ERP system with the verified data-identifier data to extract ERP data corresponding to the predetermined data identifiers of which the data-identifier data is indicative;
selecting a response-message template using the intent data;
populating the selected response-message template with the ERP data, and
presenting the populated response-message template to a user on a user interface for approval.

### Claim 2 (depends on 1)

A computer implemented method according to claim 1, wherein the electronic message is an e-mail.

### Claim 3 (depends on 1)

A computer implemented method according to claim 1, wherein the generative AI comprises a Large Language Model (LLM) AI.

### Claim 4 (depends on 1)

A computer implemented method according to claim 1, wherein the step of prompting the generative AI to generate intent data comprises prompting the generative AI to generate the intent data in accordance with a constraint instruction instructing the generative AI to constrain the format of the intent data.

### Claim 5 (depends on 4)

A computer implemented method according to claim 4, wherein the constraint instruction comprises an instruction to constrain the format of the intent data to fewer than a predetermined number of words.

### Claim 6 (depends on 1)

A computer implemented method according to claim 1, wherein prompting the generative AI comprises
extracting unstructured text data from the electronic message
generating an input prompt comprising at least some of the unstructured text data from the electronic message and an instruction to analyse the unstructured text data to generate the intent data and the data-identifier data, and
inputting the input prompt to the generative AI.

### Claim 7 (depends on 1)

A computer implemented method according to claim 1, wherein the predetermined data identifiers identify one or more transactions between a party associated with a sender of the electronic message and a party associated with the recipient of the electronic message.

### Claim 8 (depends on 1)

A computer implemented method according to claim 1, wherein the response-message template is associated with an accounts-receivable (AR) or accounts-payable (AP) process.

### Claim 9

A computer system for generating a response to a received electronic message, said system comprising:
a message receiving application configured to receive an electronic message and forward the received electronic message to a message processing system, said message processing system configured to:
prompt a generative AI to analyse the electronic message and to generate:
intent data indicative of an intent associated with the electronic message, and
data-identifier data indicative of one or more predetermined data identifiers present in the electronic message;
analyse the electronic message to identify and retrieve client data associated with one or more parties associated with the electronic message;
verify that the retrieved client data comprises data corresponding to the generated data-identifier data, and if so:
query an ERP system with the verified data-identifier data to extract ERP data corresponding to the predetermined data identifiers of which the data-identifier data is indicative;
select a response-message template using the intent data;
populate the selected response-message template with the ERP data, and
forward the populated response-message template to the message receiving application for displaying to a user on a user interface for approval.

### Claim 10 (depends on 9)

A computer system according to claim 9, wherein the electronic message is an e-mail.

### Claim 11 (depends on 9)

A computer system according to claim 9, wherein the generative AI comprises a Large Language Model (LLM) AI.

### Claim 12 (depends on 9)

A computer system according to claim 9, wherein the message processing system is configured to prompt the generative AI to generate the intent data in accordance with a constraint instruction instructing the generative AI to constrain the format of the intent data.

### Claim 13 (depends on 12)

A computer system according to claim 12, wherein the constraint instruction comprises an instruction to constrain the format of the intent data to fewer than a predetermined number of words.

### Claim 14 (depends on 9)

A computer system according to claim 9, wherein the message processing system is configured to prompt the generative AI by:
extracting unstructured text data from the electronic message
generating an input prompt comprising at least some of the unstructured text data from the electronic message and an instruction to analyse the unstructured text data to generate the intent data and the data-identifier data, and
inputting the input prompt to the generative AI.

### Claim 15 (depends on 9)

A computer system according to claim 9, wherein the predetermined data identifiers identify one or more transactions between a party associated with a sender of the electronic message and a party associated with the recipient of the electronic message.

### Claim 16 (depends on 9)

A computer system according to claim 9, wherein the response-message template is associated with an accounts-receivable (AR) or accounts-payable (AP) process.

### Claim 17 (depends on 1)

A computer program providing instructions which when implemented on a computer system implements a method according to claim 1.
