Look for ways to imrpve this prompt and the reliability opf it's output by providing…
- User
Look for ways to imrpve this prompt and the reliability opf it's output by providing additional instructions and ensuring that the JSON syntax is perfect:
Our business is Hadrian's Wall Holidays. We receive inquiry emails from our website containing customer information and potential questions. Your task is to analyze the inquiry email and answer 8 questions about it. Format your response as a single JSON object using the following structure: { "inquiry_analysis": { "question1": { "prompt": "Does the email contain questions or requests for information?", "answer": "" }, "question2": { "prompt": "What is the customer's email address?", "answer": "" }, "question3": { "prompt": "What is the customer's first name?", "answer": "" }, "question4": { "prompt": "Should we respond to this email?", "answer": "" }, "question5": { "prompt": "Is the email requesting a quote or pricing?", "answer": "" }, "question6": { "prompt": "Which holiday are they enquiring about?", "answer": "" }, "question7": { "prompt": "Are they requesting a payment link to pay their deposit?", "answer": "" }, "question8": { "prompt": "Provide reasoning for your answers to questions 1-7", "answer": "" } } }
The inquiry email content is provided in the following format:
{{43.text}}
With this Subject Line:
{{43.subject}}
Instructions for each question:
Question 1:
Answer "Questions" if the email contains any inquiry or request for information, even without a question mark. Answer "No" if there are no inquiries or requests for information. Questions are usually found in the ADDITIONAL INFO section, but may appear elsewhere in email exchanges. Even if the email seems like spam, answer based on the content.
Question 2: Provide only the customer's email address. It's usually near the word "Email" early in the thread. Do not include email addresses containing "@hadrianswallholidays". Analyze the entire text to determine the customer's email address.
Question 3: Provide only the customer's first name. It's usually near the word "Name" early in the thread. Do not include names of customer service representatives. Analyze the entire text to determine the customer's first name.
Question 4: Answer "Yes" if: Responding will help a customer or prospect. It's a genuine customer complaint, even if rude. Answer "No" if: The email makes no sense or is very rude/explicit without being a genuine message. It's likely spam or trying to sell us a service. It contains an offer of services or products to our business.
Question 5: Answer "Quote" if the email is requesting pricing or a quote. Answer "NoQuote" if it's not requesting pricing or a quote. Analyze the entire email exchange to determine if pricing or a quote is requested.
Question 6: Determine which holiday, or holidays the customer is enquiring about from the following options: Hadrian's Wall - 10 Days / 9 Nights - East to West Hadrian's Wall - 10 Days / 9 Nights - West to East Hadrian's Wall - 3 Days / 3 Nights - Chollerford to Brampton Hadrian's Wall - 6 Days / 5 Nights - East to West Hadrian's Wall - 6 Days / 5 Nights - West to East Hadrian's Wall - 8 Days / 7 Nights - East to West (Newcastle Stay) Hadrian's Wall - Corbridge - Bowness-on-Solway - 5 Days 4 nights Hadrian's Wall - Corbridge - Bowness-on-Solway - 6 Days 5 nights Hadrian's Wall - Corbridge - Brampton - 4 Days 3 Nights Hadrian's Wall - Corbridge - Carlisle - 5 Days 4 Nights Hadrians Wall - 6 Days / 6 Nights - Heddon to Carlisle Short Break - Edinburgh - Add on trip Short Break - London - Add on trip York - City Break Answer "Uncertain" if the specific holiday cannot be determined from the email content.
Question 7: Answer "Yes" if the email is requesting a payment link to pay their deposit. Answer "No" if there is no mention of a payment link or deposit payment.
Question 8: Provide a brief explanation for each of your answers to questions 1-7. Include key details from the email that influenced your decisions. Keep the explanation concise but informative.
Output only the single JSON object, nothing before or after. Do not include any introduction or conclusion. Ensure there are no syntax errors in the JSON. Escape any special characters in your output. Never output json or before or after your answer.
- Assistant
Our business is Hadrian's Wall Holidays. We receive inquiry emails from our website containing customer information and potential questions.
Your task is to analyze the inquiry email and answer 8 questions about it. Format your response as a single JSON object using the exact following structure:
{ "inquiry_analysis": { "question1": { "prompt": "Does the email contain questions or requests for information?", "answer": "" }, "question2": { "prompt": "What is the customer's email address?", "answer": "" }, "question3": { "prompt": "What is the customer's first name?", "answer": "" }, "question4": { "prompt": "Should we respond to this email?", "answer": "" }, "question5": { "prompt": "Is the email requesting a quote or pricing?", "answer": "" }, "question6": { "prompt": "Which holiday are they enquiring about?", "answer": "" }, "question7": { "prompt": "Are they requesting a payment link to pay their deposit?", "answer": "" }, "question8": { "prompt": "Provide reasoning for your answers to questions 1-7", "answer": "" } } }Important Notes:
- Maintain the exact JSON structure provided above. Do not add or remove any fields.
- Ensure that the JSON syntax is perfect. All strings must be properly quoted, and special characters within strings must be escaped according to JSON standards.
- Output only the JSON object. Do not include any text before or after the JSON.
- Do not include any explanations or reasoning outside the JSON. All explanations should be provided in the
"answer"field of"question8". - Escape any special characters in your output to maintain valid JSON syntax.
The inquiry email content is provided in the following format:
{{43.text}}
With this Subject Line:
{{43.subject}}
Instructions for Answering Each Question:
General Instructions:
- Analyze the entire email content, including the subject line and any email thread, to determine the answers.
- Be precise and concise in your answers.
- If certain information is not available, use "Uncertain".
- Do not make assumptions beyond the information provided in the email.
Question 1:
- Answer Options:
"Questions"or"No" - Answer "Questions" if the email contains any inquiry or request for information, even if there is no question mark.
- Answer "No" if there are no inquiries or requests for information.
- Notes:
- Questions may appear anywhere in the email, including the ADDITIONAL INFO section.
- Even if the email seems like spam, base your answer on the content provided.
Question 2:
- Provide only the customer's email address.
- The email address is usually located near the word "Email" early in the thread.
- Do not include email addresses that contain
"@hadrianswallholidays". - Analyze the entire text to locate the customer's email address.
Question 3:
- Provide only the customer's first name.
- The first name is typically found near the word "Name" early in the thread.
- Do not include names of customer service representatives or staff.
- Analyze the entire text to identify the customer's first name.
Question 4:
- Answer Options:
"Yes"or"No" - Answer "Yes" if:
- Responding will assist a customer or potential customer.
- It's a genuine customer complaint, even if expressed rudely.
- Answer "No" if:
- The email content is nonsensical or extremely rude/explicit without a genuine message.
- It appears to be spam or an unsolicited offer of services/products to our business.
Question 5:
- Answer Options:
"Quote"or"NoQuote" - Answer "Quote" if the email is requesting pricing information or a quote.
- Answer "NoQuote" if there is no request for pricing or a quote.
- Notes:
- Analyze the entire email exchange to determine if there's a request for pricing.
Question 6:
- Provide the exact name(s) of the holiday(s) the customer is enquiring about from the list below.
- If multiple holidays are mentioned, include all that apply.
- Answer "Uncertain" if the specific holiday cannot be determined.
- Holiday Options:
- "Hadrian's Wall - 10 Days / 9 Nights - East to West"
- "Hadrian's Wall - 10 Days / 9 Nights - West to East"
- "Hadrian's Wall - 3 Days / 3 Nights - Chollerford to Brampton"
- "Hadrian's Wall - 6 Days / 5 Nights - East to West"
- "Hadrian's Wall - 6 Days / 5 Nights - West to East"
- "Hadrian's Wall - 8 Days / 7 Nights - East to West (Newcastle Stay)"
- "Hadrian's Wall - Corbridge - Bowness-on-Solway - 5 Days 4 nights"
- "Hadrian's Wall - Corbridge - Bowness-on-Solway - 6 Days 5 nights"
- "Hadrian's Wall - Corbridge - Brampton - 4 Days 3 Nights"
- "Hadrian's Wall - Corbridge - Carlisle - 5 Days 4 Nights"
- "Hadrian's Wall - 6 Days / 6 Nights - Heddon to Carlisle"
- "Short Break - Edinburgh - Add on trip"
- "Short Break - London - Add on trip"
- "York - City Break"
Question 7:
- Answer Options:
"Yes"or"No" - Answer "Yes" if the email is requesting a payment link to pay their deposit.
- Answer "No" if there is no mention of a payment link or deposit payment.
Question 8:
- Provide a brief explanation for each of your answers to questions 1-7.
- Include key details from the email that influenced your decisions.
- Keep the explanation concise but informative.
- Format: Use complete sentences within the
"answer"field of"question8".
Final Reminders:
- Output only the single JSON object, with no additional text.
- Ensure there are no syntax errors in the JSON.
- Escape any special characters within strings to maintain valid JSON syntax.
- Do not include any text before or after the JSON output.
- Do not mention these instructions in your output.