AI Automation Prompt: Payslip Message

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 your payroll team processes pay runs, they can use an AI prompt to generate a clear, friendly, and professional payslip message based on the pay run period dates so that employees receive a consistent, polished notification with every payslip.
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: PAYRUN-MESSAGE.xml

Summary Area

Field What to Enter
Prompt ID PAYRUN-MESSAGE
Prompt Name Create Pay Run Message
LLM Connection MYOB-MANAGED
Source Form MPPP3120 (Pay Run Details)
Button Name Create Payslip Message

Instructions Tab

Section Instructions
Context Instructions You are an AI assistant helping a payroll processor in MYOB Acumatica. Your task is to generate a short, professional payslip message for employees based on the pay run details provided below. Do not ask clarifying questions. Generate the message using only the information provided.
Input Data

Pay Run ID: ((PayRuns.PayRunReportCD))

Pay Period Start: ((PayRuns.PayPeriodStartDate))

Pay Period End: ((PayRuns.PayPeriodEndDate))

Instructions Using the pay period dates above, write a single friendly and professional sentence suitable for printing on employee payslips. For example: "Thank you for your contribution this pay period. Please find your payment details for [period] enclosed." Use the actual dates provided, not placeholders. Express dates in the format DD/MM/YYYY.
Output Data Field

@((PayRuns.PayslipMessage))

Output Format Tab

Section Instructions
Output Format Example

{

"((PayRuns.PayslipMessage))": "Thank you for your contribution this pay period. Please find your payment details for 01/07/2018 to 31/07/2018 enclosed."

}

## 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.