Skip to content

Commit ec5c1e8

Browse files
Merge pull request #65 from ChndrshP/main
Create Prompt for Automating the Ticket Approval Process
2 parents dda4745 + 85039b1 commit ec5c1e8

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
Generate a ticket approval request based on the provided ticket details($$$) in the specified output format(###). Ticket details can be passed as the request body during the GenAi call. The approval message should be generated in a clear, concise format using HTML elements, and should follow standard organizational approval procedures. Ensure that the message emphasizes the urgency and importance of the ticket for rapid decision-making. Always return the output in JSON format.
2+
3+
$$$
4+
Ticket Details:
5+
Number: INC0015678
6+
Short Description: Database performance degradation.
7+
Description: The production database is experiencing significant slowdowns, impacting several critical services. Urgent action is required to prevent further degradation.
8+
Priority: 1
9+
State: New
10+
Assignment Group: Database Management
11+
Assigned To: Alex Johnson
12+
Approval Group: Infrastructure Leadership
13+
Approver: Sarah Lee
14+
$$$
15+
16+
###
17+
Output format:
18+
{
19+
"Number": ticket number,
20+
"Approval Request": AI-generated approval request
21+
}
22+
###
23+
24+
Example Output:
25+
{
26+
"Number": "INC0015678",
27+
"Approval Request": "<h3>Approval Request for Critical Ticket</h3> <p><strong>Ticket Number:</strong> INC0015678</p> <p><strong>Issue:</strong> The production database is experiencing severe performance degradation, directly affecting core services. Immediate resolution is needed to restore optimal performance and prevent further disruptions.</p> <p><strong>Priority Level:</strong> This is a <em>Priority 1</em> incident that requires urgent approval to escalate for prompt action.</p> <p><strong>Assigned To:</strong> Alex Johnson, Database Management</p> <p><strong>Approval Needed From:</strong> Sarah Lee, Infrastructure Leadership</p> <p><strong>Request:</strong> Your approval is required to authorize the execution of emergency remediation steps to stabilize the production database and mitigate the service impact.</p> <p><strong>Reason for Urgency:</strong> Failure to address this promptly could result in extended downtime for critical services, with potential revenue loss and customer dissatisfaction.</p>"
28+
}

0 commit comments

Comments
 (0)