AI Automation Prompt: Correcting Address Information

Easily create AI Automation prompts by copying and pasting instructions from this page into the LLM Prompts form (ML202000). These prompts instructions help you get started. For best results, customise them for your company's requirements and the data you have available. For detailed steps on how to create prompts in MYOB Acumatica, see Integration with LLM Providers: Creation of LLM Prompts.

When entering customer data, especially address information, your users might incorrectly capitalise words, e.g. not capitalising at all or using all caps. You can create an AI prompt that corrects the capitalisation of customer addresses, names, etc.
Tip:
Speed up creating this prompt by importing it as an XML file. For instructions, see To Import Data from XML. Right-click this link and choose Save link as to download the XML file: CUSTOMER-ADDRES.xml

Summary Area

Field What to Enter
Prompt ID CUSTOMER-ADDRES
Prompt Name Customer Address Check
LLM Connection MYOB-MANAGED
Source Form AR303000 (Customers)
Button Name Correct Address

Instructions Tab

Section Instructions
Context Instructions You are an AI assistant working with MYOB Acumatica data. Your responsibility is to review the input data for proper case in English and update the data accordingly in the proper case.
Instructions with Input Data

Analyse the address fields:

Billing Address 1: ((DefAddress.AddressLine1))

Billing Address 2: ((DefAddress.AddressLine2))

Billing City: ((DefAddress.City))

Output Data Field

Save the address field data in proper case in the English language. Every new word should start with capital letter.

Billing Address 1: @((DefAddress.AddressLine1))

Billing Address 2: @((DefAddress.AddressLine2))

Billing City: @((DefAddress.City))

Output Format Example

Section Instructions
Output Format Example

{

Address Line 1 : Shop 15Address Line 2 : 251 Panorama DriveCity : Thornlands

}

## Important Note:

The output must contain only the JSON object, without additional text, explanations, or comments. Make sure that the JSON object is properly formatted: Use double quotes for keys and string values, and place commas and braces correctly.