CopyResponses.py
From Lucca's Wiki
Jump to navigationJump to search
import pyperclip import os import sys if os.name == 'nt': import win32api myName = win32api.GetUserNameEx(3) else: myName = "Lucca P." supportNumber = "(954) 474 2204" altSupportNumber = "(954) 713 2601" emailFinisher = f"""
Thank you and have a wonderful rest of your day! {myName}"""
#functions below def copy(content): pyperclip.copy(content) def clear(): if os.name == 'nt': os.system('cls') else: os.system('clear') #functions above
clear() #Menu below# while True: if len(sys.argv) == 1: print("Copyable Responses below:") i=1 while i <= 4: print(f"{i}. Support Ticket Archive Notice #{i}") i+=1 print("5. Replacement Hardware Approval") print("6. Intune Access") print("7. Ticket Cancellation Notice (reply)") print("8. Encoder Access Password Reset") print("9. Green House Onboarding Reply") print("10. Escalation response") print("11. VPN Email") #Menu Above#
if len(sys.argv) == 1: selection = input("Make your selection (number)\n") else: selection = sys.argv[1] match selection: case "1": clientName = input("What is the client's first name?: ") ticketHeader = input("What is the ticket number + description?: ") archive1=f"""Hello {clientName},
Just following up on your support request [{ticketHeader}]. We tried to connect with you today but couldn't reach you. If this issue is still relevant, please let us know. Otherwise, for compliance reasons, we'll be archiving it soon. We hope to hear from you soon.{emailFinisher}""" copy(archive1) case "2": clientName = input("What is the client's first name?: ") ticketHeader = input("What is the ticket number + description?: ") lastClientContact = input("When was the last date the client messaged us on this ticket?: ") archive2 = f"""Hello {clientName}, Hope all is good on your end. We've not heard from you regarding the support request [{ticketHeader}] since {lastClientContact} or in the last 48 hours. I gave you a call earlier but couldn't reach you. As part of our compliance policy, requests that remain inactive will be moved to our archive. Do let us know if you'd like us to keep it active.{emailFinisher}""" copy(archive2) case "3": clientName = input("What is the client's first name?: ") ticketHeader = input("What is the ticket number + description?: ") lastContact = input("When was the last date that we messaged the client on this ticket?: ") archive3 = f"""Hi {clientName}, Just another reminder about your support request [{ticketHeader}]. We attempted to reach out since {lastContact} or in the last three business days but couldn't get in contact with you you. Due to compliance guidelines, we'll need to archive the request if we don't get a response soon. We're here and ready whenever you are.{emailFinisher}""" copy(archive3) case "4": clientName = input("What is the client's first name?: ") ticketHeader = input("What is the ticket number + description?: ") lastClientContact = input("When was the last date the client messaged us on this ticket?: ") archive4 = f"""Dear {clientName},
One final note regarding your support request [{ticketHeader}]. We haven’t had any updates since {lastClientContact}. In adherence to our compliance policy, we'll be archiving this request today. Should you wish to revisit or have further queries, please give us a call at 954-474-2204 or simple reply here to unarchive this request, and we'll happily assist.{emailFinisher}""" copy(archive4) case "5": approverName = input("What is the approver's first name?: ") clientName = input("What is the client's first name?: ") approvalHardware = f"""Hello {approverName},
I was working with {clientName} on a support ticket and it looks like they are going to be needing a replacement computer. Is this approved?{emailFinisher}""" copy(approvalHardware) case "6": clientName = input("What is the client's first name?: ") intuneAccess = f"""Hello {clientName},
I have granted permission for you to access Teams and Outlook from your mobile device. Please follow these steps to sign into both apps via your mobile device:
1. Download "Intune Company portal" from the App store on your mobile device 2. Once downloaded, open the app then use your "@accuityhealthcare.com" email and password to sign in 3. Follow and accept the prompts upon sign in to grant permissions to use work applications 4. After finishing the sign-up process for Intune Company Portal, download Teams and Outlook from the Company Portal App store 5. Once downloaded, sign into your account and you should be able to login without any issues.
If you come across any problems or have further questions, please let me know or give us a call at (954) 713-2601.{emailFinisher}""" copy(intuneAccess) case "7": clientName = input("What is the client's first name?: ") ticketCancelNotice = f"""Hi {clientName},
Thanks for the reply! In that case, I'm going to cancel the ticket at this time. Please let me know if there are any further issues. I'd be happy to assist.{emailFinisher}""" copy(ticketCancelNotice) case "8": clientName = input("What is the client's first name?: ") encoderNumber = input("What is the encoder account number?: ") encoderReset = f"""Hello {clientName},
I reset encoder(s) {encoderNumber} and sent you the password(s) via a separate, encrypted email.
Should any other issues arise, please do not hesitate to contact us at support@wheelhouseit.com or give us a call at {altSupportNumber}.{emailFinisher}""" copy(encoderReset) case "9": clientName = input("What is the client's first name?: ") newHireName = input("What is the new hire's name?: ") newHireEmailAddress = input("What us the onboarded user's email address?") ghOnboardingReply = f"""Hello {clientName},
I have created a Green House email address for {newHireName}. The email address is: {newHireEmailAddress}
I sent a copy of the login information to their personal email.
Should any other issues arise, please do not hesitate to contact us at support@wheelhouseit.com or give us a call at {supportNumber}.{emailFinisher}""" copy(ghOnboardingReply) case "10": clientName = input("What is the client's first name?: ") escalationResponse = f"""Dear {clientName},
I want to inform you that due to the difficulty in this request, your ticket has been escalated further to a more senior resource. Rest assured, a specialized member of our team will be reaching out to you as soon as possible to provide further assistance and ensure the timely resolution of your issue.
We understand the importance of a swift resolution, and we are dedicated to providing you with the best possible support experience.
Thank you for your patience and understanding. If you have any immediate questions or additional details to share, please feel free to respond to this email or contact our support line.
Regards, {myName}""" copy(escalationResponse) case "11": clientName = input("What is the client's first name?: ") huduPWLink = input("Paste the Hudu Password Share Link") VPNEmail = f"""Hi {clientName}, this is a local Active Directory account synced with Entra ID such that you can use it to connect with the Azure Point to Site VPN and RDP into the Azure servers. These accounts are local administrators on the four Azure Sage servers. As discussed in the meeting, the "web" server has been moved out of the DMZ and placed in the standard LAN along with the rest of the servers. The "dev" server is still on its own subnet just in case we need to isolate it in the future but right now it's powered down and unrestricted, I can move it if needed. Credentials available as follows: {huduPWLink} Multi-Factor authentication is enabled as far as the VPN connection goes and is done through Entra ID so please go to https://portal.office.com and register your second factor first before continuing. After you've done that, please install the Azure VPN Client from the Microsoft Store (or Mac App Store), then import the attached .xml file to load the profile. You should be asked to authenticate with the M365 credentials provided above. If asked, click "no, sign in to this app only" so the account is not added to your computer as a "work or school account". I've attached a short video that shows the process. The server names are as follows: You should be able to RDP via those FQDNs when connected to the VPN. The SQL 2022 standard media is saved onto the F:\ drives on the SQL servers.{emailFinisher}""" copy(VPNEmail)
clear() print(f"You have copied:\n{pyperclip.paste()}\n\n") if len(sys.argv) > 1: exit()