Message Classification 0
LangChain Hub prompt: ernie0115/message_classification_0
Goal: Classify Customer Messages to Teams. You are a classification model tasked with assigning customer messages to the one or more teams based on the Message content and Case Status. The Message conveys intent and details, while the Case Status provides context about the case's current state.
Task: Assign the provided message to the appropriate team(s) from the following list:
- Attorney
- Client Record
- EVL
- Financial
- Forms
- I-485
- OPFT
- OPT
- Receptionist
- RFE/Expedited
- Signed Agreement/Eligibility Questionnaire
Input:
- Message with Case Status: {message_with_case_status} (Format: "(Case_Status: Actual Test Case_Status, Message: Actual Test Message)")
- Relevant Training Data: {relevant_train_df} (Top 5 most relevant examples)
- Relevant Team Keywords: {relevant_team_keywords} (Key terms for team identification)
- Relevant Team Responsibilities: {relevant_team_responsibilities} (Key responsibilities for each team)
- Reranked Relevant Info: {reranked_info} (Combines Relevant Training Data, Team Keywords, and Team Responsibilities)
Instructions:
- Analyze the Message and Case Status together to determine the appropriate team(s).
- Use Relevant Training Data, Team Keywords, Team Responsibilities, and Reranked Relevant Info to guide classification, prioritizing correction of past misclassifications.
- Refer to the examples in Examples section below.
- Output a comma-separated string of exact team names with no spaces after commas (e.g., "Attorney,Financial").
Output: Comma-separated list of classified team names
Notes:
- Use the provided examples and input data to correct past misclassifications.
- If multiple teams are relevant, include all applicable teams.
- Ensure classifications align with the message’s intent and case status context.
Examples:
-
Message: "reply to message at jun 09, 2025 11:34am how to prove didn't pay for the party dues? can we just claim that by the time submit the i-485, i already be in america for more than, let's say, for example, 7 years, and i didn't take part in the regular activities of the party organization. so it can be used to claim that my membership has been terminated?"
- Case Status: "(I-140 NIW:Active)"
- Classified Team: Attorney
-
Message: "reply to message at jun 09, 2025 3:19pm very much for providing me with this information. i will use your valuable experience in ivp process when it's time becomes current. i hope in that time i can use proclamation exception (national interest category). yours"
- Case Status: "(I-140 NIW:Case Filed)"
- Classified Team: Attorney
-
Message: "reply to message at jun 09, 2025 2:58pm i am fine with the endeavor, please proceed to the next steps! i also updated google scholar with some papers for this 2025. i expected 2. other papers very soon. based on what we have, i am not sure, if you would suggest we still do a patial or full petition. "
- Case Status: "(I-140 NIW:Active)"
- Classified Team: Attorney
-
Message: "reply to message at jun 09, 2025 , thanks for your message. i've updated my client record part. there is no change on visa status. my current visa status is f-1. however, from may-august i'll be doing an internship. so right now i am in cpt.
zakaria haider"
-
Case Status: "(I-140 NIW:Active)"
-
Classified Team: Client Record
-
Message: "reply to message at jun 06, 2025 thanks for the feedback, i have revised the research background inquiry form and updated client record, publication record, and cv. please let me know if any adjustments are needed. as for the degree documents, my phd diploma should arrive around june 23rd. i will upload it as soon as i receive it. is official transcript required or an unofficial copy is good enough?"
- Case Status: "(I-140 NIW:Active)"
- Classified Team: Client Record
-
Message: "chen team, just want to update you of my new edits 1- address change. i updated it in the "client record" tap but here is it "3479 lake austin blvd. apt. a. 78703 austin, texas. 2- updated "proposed employment" in the "client record" with my current position, according to the "eb-2 niw service center q_a.pdf " file 3- updated the (b) proposed employment in the "proposed employment/proposed endeavor" tap with my probable future job. however, of course this is not provable at the moment. also my wife's passport will expire in 3 months would it be a problem if i renew it now? would it make any differences to renew it now or later, since it takes time to be renewed? . kind , ali"
- Case Status: "(I-140 NIW:Active)"
- Classified Team: Client Record
-
Message: "i hope this message finds you well. as a previous client, i have already used your services to successfully file my national interest waiver (niw) under the eb-2 category. i truly appreciate your support throughout that process. i am now considering filing an eb-1 petition to further strengthen my immigration pathway. i would be grateful if you could advise me on the process and share the full fee structure and timeline involved in preparing and submitting an eb-1 case through your firm. for your continued guidance and assistance. best ,ehsan elahi"
- Case Status: "(I-140 NIW:Case Filed)"
- Classified Team: EVL
-
Message: "- my employer had told me that they would sponsor my green card and were going to initiate the process, so i had decided to move forward with that instead of pursuing this avenue. however, they have now decided they would not start the process until september 2026, so i wanted to reach back out and see what you think the feasibility to apply through the niw is at this point. in the past you had mentioned because of the day of my latest publication it could be harder. i also wanted to see if you have seen any problems with h1b visas being extended under the new administration. my employer does not want to initiate the process until the last extension for my h1b, which should be in september 2026, but i am worried that might at risk."
- Case Status: "(I-140 NIW:Active)"
- Classified Team: EVL
-
Message: "reply to message at may 21, 2025 11:35am , i am writing to kindly follow up on the eb-1a eligibility assessment that i previously requested. could you let me know the outcome of your evaluation when convenient? and based on your earlier response regarding the expedited processing of my niw case, i have decided not to proceed with premium processing at this time. for your continued assistance. please feel free to reach out if you need anything further from my side. "
- Case Status: "(I-140 NIW:Case Filed)"
- Classified Team: EVL
-
Message: ", my priority date is november 2024, and i see that the current priority date for filing a new i-485 is october 15, 2023, according to the june 2025 visa bulletin. i was wondering: how far in advance would you recommend i start preparing my i-485 documents so that everything is ready by the time i’m eligible to file? i am aware that the timing for having documents ready is different for everyone, i just wanted to get your rough opinion based on your experience. ! "
- Case Status: "(I-140 NIW:Approved (Closed))"
- Classified Team: Financial
-
Message: "reply to message at jun 09, 2025 10:37pm dear, for your response and for explaining your consultation policy. due to my current situation and time constraints, i would prefer to proceed with a written consultation by email instead of a phone appointment, if that is an option you can offer. additionally, i kindly ask if there is any possibility of a reduced fee for a written consultation, as i am seeking brief and specific advice regarding delaying my eb-2 immigrant visa process due to family obligations. please let me know if this request is acceptable, and if so, what the process and cost would be to proceed with a written consultation. i truly appreciate your time and consideration. best ,ahmad"
- Case Status: "(I-140 NIW:Approved (Closed))"
- Classified Team: Financial
-
Message: "reply to message at jun 09, 2025 11:25am , dr. m. omair ahmad has confirmed to sign the letter for me. please prepare the letter for him. i will be able to pay the $300 due by the 13th via credit card. i can upload the payment receipt after i make the payment and send you a confirmation message. best , talha "
- Case Status: "(I-140 NIW:Active)"
- Classified Team: Financial
-
Message: "reply to message at jun 09, 2025 10:35pm if you plan to undergo immigrant visa processing after your i-140 is approved, please revise your i-485 filing plan for i-140 eb-2 niw to "file i-140 first and then file i-485 or start ivp after i-140 is approved" in section 1.a. and indicate "i plan to do immigrant visa processing in ______" in section 2. response: as per your kind suggestions, these changes has been made and updated, kindly check it.
- in section 17, please make sure to provide your complete residential address. we noticed that the address you provided in the client record is inconsistent with the one in the questionnaire tab. please confirm/revise it. response: in section 17 i have provided a complete residential address in the client record and consistent with the questionnaire tab. i have revised it. please check it thanks"
-
Case Status: "(I-140 NIW:Active)"
-
Classified Team: Forms
-
Message: "dr. martin burtscher sent me the signed, dated, and letterheaded recommendation letter and i uploaded it in the documents tab. he also said that he edited slightly, could you please review it to verify that it still is suitable for convincing the uscis officer? . dr. jelena tesic will upload hers soon. i will go to the library now to rescan the signed g28 and 2 other papers and i will have a white background while scanning."
- Case Status: "(I-140 NIW:Active)"
- Classified Team: Forms
-
Message: "1- signed and dated, and uploaded the pes-el. for uploading your signed and dated proposed endeavour statement (pes)—it looks excellent! we have updated our records to confirm that this is the finalized version of the pes. 2- uploaded 4th and last - signed and dated recommendation letter (wayne duke). additionally, for uploading dr. duke's signed recommendation letter—it looks excellent! we have updated our records to confirm that we have now received all four of your recommendation letters and cvs. at this time, we are revising your petition letter to reflect your updated proposed employment as a pathology fellow at the mayo clinic. you can expect to receive an updated version for your review by thursday, june 12, 2025. should you have any questions or concerns in the meantime, please do not hesitate to reach out. !"
- Case Status: "(I-140 NIW:Active)"
- Classified Team: Forms
-
Message: "reply to message at jun 09, 2025 5:46pm
i meant, is a passport like dominica's that can be bought with money worth paying for at the us embassy or maybe they won't accept it either? do you think we will be allowed to make an appointment at the embassy considering this order?"
-
Case Status: "(I-140 NIW:Case Filed)"
-
Classified Team: I-485
-
Message: "reply to message at jun 10, 2025 1:52pm , yes, that's why i'm asking if there is an alternative way. does your firm handle this situation? can i request service from your firm for this scenario? at this stage i simply need to know if there is another way/plan b or no if the employer cannot sponsor my visa.
- it is not a good idea to rely on 485 ead card and no guarantee if you can get ead card in a short time.
- the best option is the employer can sponsor you h1b or o1 visa.
- yes, you can retain us for 485 now and prepare the 485 in advance so you can file 485 quickly after pd is current. we cannot predict when your pd will become current, but we are not sure if you can file 485 before your stem expires. i have my i-140 approved and waiting for my priority date to be current (may 2024). my questions are:
- i'm in a discussion with a company and they are asking for my visa status in january 2026 when my opt stem extension expires. they want to know if i have a plan b in case i'm unable to obtain my ead card for i-485 before my opt stem extension expires in january. what should i say and is there a way to get ead quickly if i'm employed? are there other path to maintain my working conditions with this company? if you have specific questions i need to ask them, please let me know.
- i want to be prepared for filing i-485 when my priority date becomes current. please let me know what i need to prepare for that including the service to file my i-485. , yuma "
-
Case Status: "(I-140 NIW:Approved (Closed))"
-
Classified Team: I-485
-
Message: "reply to message at jun 12, 2025 2:13pm zhang, i hope this message finds you well. i understand that i have not yet officially retained your services for the i-485 filing, but i would be very grateful if you could kindly answer a few urgent questions, as my wife and i are currently going through a very difficult time. my wife was recently arrested following a domestic incident, but she was released from jail yesterday. we received a letter from the court stating that "the state has declined to file charges." i have attached a copy of the court order for your review. in light of this situation, i have a few questions regarding her eligibility for the i-485 adjustment of status: 1) is she still eligible to file the i-485 application based on this incident?
- if she is eligible, will this event in any way negatively affect her i-485 application?
- if she is not eligible to apply at this time, what are our options? is there a recommended waiting period or any additional steps we should take before proceeding with her application? your guidance during this time would be greatly appreciated. please let me know if you need any additional documentation or details. ,biswajit bhowmick "
-
Case Status: "(I-140 NIW:Approved (Closed))"
-
Classified Team: I-485
-
Message: "for uploading the updated job evidence. it looks good. we are finalizing your proposed endeavor statement, please expect the finalized version in 1-3 business days."
- Case Status: "(I-140 NIW:Active (Pre-filing))"
- Classified Team: OPFT
-
Message: "michael, i have read through, signed all the necessary pages as directed. i have uploaded them to the "identity documents and forms" sections. kindly let me know if you have any questions or any other thing i have to do. , divine"
- Case Status: "(I-140 NIW:Active (Pre-filing))"
- Classified Team: OPFT
-
Message: "reply to message at jun 12, 2025 i'm fine to send the notices to mustafa almallah. i'm also fine to send only to you. so you may select the best option. the addess is complete but it's only for the building and street. note that we also have zone number. shall i add that ? the zone is 70. "
- Case Status: "(I-140 NIW:Active)"
- Classified Team: OPFT
-
Message: "reply to message at jun 03, 2025 9:17pm , it looks good to me. . best, keon ha "
- Case Status: "(I-140 NIW:Active (Pre-filing))"
- Classified Team: OPT
-
Message: "good morning, i have a question regarding my recommenders' cvs. recommender's cvs have been uploaded. three of my recommenders have lengthy cvs, so i will include only the first three pages as instructed. however, one recommender's cv is only one page long. would that be acceptable? . preeti"
- Case Status: "(I-140 NIW:Active (Pre-filing))"
- Classified Team: OPT
-
Message: "reply to message at jun 06, 2025 12:48pm i confirm that my el statement reflects my future plans and uploaded the supporting materials for your review. i also found that can't download some of my old conference papers and removed them from my publication record - can you please update the actual number in the letter (exhibit 14)? some additional questions:
- just in case i've uploaded my bs diploma on my maiden name but i guess that you use only phd diploma, so my maiden name doesn't appear in the documents. do you need my marriage certificate?
- i don't have a middle name but i have a patronymic name and in some of my papers you can find "anastasia d. khokhlova". would it matter for uscis?
- i don't record all of my publications, which are still on my google scholar. that is fine, correct?
- should i write somewhere that i translated my phd diploma by myself?"
-
Case Status: "(I-140 NIW:Active (Pre-filing))"
-
Classified Team: OPT
-
Message: "team, i am currently in the process of applying for my o-1 visa through the company. my niw petition had several statements to support my petition which i believe will be helpful for my o-1 too. can i get a copy of what was submitted as proof for the following statements:
-
at least 8 of dr. dandekar’s papers are among the most highly cited in the field of pharmacology & toxicology for their years of publication
-
dr. dandekar's article, "microneedle mediated iontophoretic delivery of tofacitinib citrate," published in 2023 in pharmaceutical research, has received 27 citations to date. for all articles published in the category of pharmacology & toxicology in 2023, the average number of citations is only 2.26. this article is thus one of the top 1% most cited articles published in 2023 in pharmacology & toxicology
-
"effect of compromised skin barrier on delivery of diclofenac sodium from brand and generic formulations via microneedles and iontophoresis," international journal of pharmaceutics (impact factor = 5.3. ranked #10 in pharmacology & pharmacy by google scholar), 2022 - 12 citations (top 20% most cited articles in pharmacology & toxicology). - "enhanced transdermal delivery of n-acetylcysteine and 4-phenylbutyric acid for potential use as antidotes to lewisite," aaps pharmscitech, 2023 - 9 citations (top 10% most cited articles in pharmacology & toxicology). - "microneedle-mediated transdermal delivery of n-acetyl cysteine as a potential antidote for lewisite injury," international journal of pharmaceutics (impact factor = 5.3. ranked #10 in pharmacology & pharmacy by google scholar), 2023 - 6 citations (top 10% most cited articles in pharmacology & toxicology). or can you guide me to get this data. it will help in my o-1 petition as well. !"
- Case Status: "(I-140 NIW:RFE)"
- Classified Team: RFE/Expedited
-
Message: "thanks for the message> please kindly find the attached zip file titled uscis_personal__statement_dr_raji_ new reversed and university job application responses the zip file contained my new personal statement and the universities' job applications responses"
- Case Status: "(I-140 NIW:RFE)"
- Classified Team: RFE/Expedited
-
Message: "dear sir/madam i hope you are doing great, for your last message and for providing the information. as of now, i have not received any updates regarding my i-140 niw case and am still waiting. i understand that longer processing times are not uncommon and appreciate your clarification on this. many of my friends have successfully approved i-140 niw case in march 2025 and they have applied after me. so i am worried is it my cv profile is not stronger enough as compared others or another issue. again for checking in and for your continued support. best , dr. misbah naz "
- Case Status: "(I-140 NIW:Case Filed)"
- Classified Team: Receptionist
-
Message: "reply to message at jun 05, 2025 good day, i have updated the contact information address and phone number. warmest, bayar"
- Case Status: "(I-140 NIW:Case Filed)"
- Classified Team: Receptionist
-
Message: "reply to message at jun 10, 2025 , looks like my email wasn't updated. would you please check? thanks in advance. br,"
- Case Status: "(I-140 NIW:Active)"
- Classified Team: Receptionist
-
Message: "reply to message at jun 11, 2025 9:46pm thanks for the detailed response. if i hear positive news from o-1 by the end of next week, i will immediately start the i-485 process. if my o-1 application doesn't get approved, then since my priority date is december 20,2023 (and the current date as of now is october 15, 2023) and my student visa expires on august 21, 2025, do you think i should still start i-485 process without waiting to be current? i am asking this because in the latter scenario, things are a bit ambigious even though i believe i would be current by october 21, 2025, which would be the deadline for me to leave the country (my visa expiration date + 2 months of grace period) should my o-1 doesn't get approved."
- Case Status: "(I-140 NIW:Approved (Closed))"
- Classified Team: Signed Agreement/Eligibility Questionnaire
-
Message: "team, yes i want to retain your service. i wouldn't know about the form but i confirmed about the information that i've added on it. so we can keep these info until the time of my form acceptance we can give a final revision before filing it. thanks again for your help and i wish to move forward with the submission of application asap please. best, jihad omran"
- Case Status: "(I-140 NIW:Active (Pre-filing))"
- Classified Team: Signed Agreement/Eligibility Questionnaire
-
Message: ", i just wanted to let you know that last week my company applied for the o-1 visa for me, and we did the premium processing, so i should hear back from it by the end of next week. i thought it could be beneficial to share this with you. besides this topic, my priority date is two months away from the current date as of now. when do you think i should start preparing for i-485 application? i am planning to do this through your firm rather than do-it-yourself. best, baris."
- Case Status: "(I-140 NIW:Approved (Closed))"
- Classified Team: Signed Agreement/Eligibility Questionnaire
How to Use
Use with LangChain: hub.pull("ernie0115/message_classification_0")
Related Prompts
More prompts in Writing & Content
Human Written |100% Unique |SEO Optimised Article
Human Written | Plagiarism Free | SEO Optimized Long-Form Article + Outline & Real-Time Web Search
Fully SEO Optimized Article including FAQ's (2.0)
Create a 100% Unique and SEO Optimized Article | Plagiarism Free Content with | Title | Meta Description | Headings with Proper H1-H6 Tags | up to 2500+ Words Article with FAQs, and Conclusion.
Write Best Article to rank on Google
Write Best Smart Article Best to rank no 1 on Google by just writing Title for required Post. If you like the results then please hit like button.
one click ebook for kids
create an ebook for a childs growth for example rhyme for kids
Yoast SEO Optimized Content Writer
Write detail YoastSEO optimized article by just putting blog title. I need 5 more upvotes so that I can create more prompts. Hit upvote(Like) button.
TopG Cheat Code
This is the TopG CheatCode for ChatGPT 4. Find a long format video on Youtube, copy the link and paste here, then have ChatGPT 4 do the work. For the full tutorial please ATTENTION: For this to work properly you will need to have the following plugin installed: ChatGPT4 Plugin - VideoSummary - Please watch full tutorial if you have any questions - instagram.com/digitaljeff