> ## Documentation Index
> Fetch the complete documentation index at: https://docs.elemente.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Prompt Engineering

> Welcome to the home of your new documentation

## Overview

This guide provides a structured approach for customer service agents to craft clear and concise prompts when calling to inquire about the status of a customer's order. It includes step-by-step instructions to ensure the agent's queries are well-defined, contextually accurate, and elicit the necessary information from customer service representatives. By following these guidelines, agents can improve their communication efficiency and obtain precise order updates.

### Step-by-Step Guide to Writing an Effective Prompt

**1. Define the Objective**

* **Purpose:** Clearly state that the agent is handling an inquiry about the status of a customer's order   .
* **Audience:** Understand that the agent may be speaking to a customer service representative.

**2. Provide Context**

* **Background Information:** Include the order number, customer name, and any relevant dates.
* **Specific Details:** Mention the product or service ordered and the expected delivery date if applicable.

**3. Be Clear and Concise**

* **Clarity:** Use straightforward language and avoid jargon. Make sure the reason for the call is explicitly stated.
* **Brevity:** Keep the prompt as short as possible while including all necessary details.

**4. Structure Your Prompt**

* **Format:** Begin with a greeting, then provide the order details, and finally, ask about the order status.

* **Questions:** Make sure the main question is direct and easy to understand.

**5. Specify the Desired Response**

* **Type of Response:** Indicate that you are looking for a status update, estimated delivery time, or any issues with the order.
* **Tone and Style:** Specify a polite and professional tone.

**6. Test and Refine**

* **Testing:** Try out the prompt with a sample call and review the responses.
* **Feedback:** Adjust the prompt based on the feedback and retest if necessary.

## Example Template

**Objective**

To provide information about the status of a customer's order during an inbound call.

**Context**
Assume the agent has the order number and customer details provided by the customer during the call.

**Prompt**

**Title:** Sample Prompt for Handling Inbound Order Status Inquiries

**Greeting Message:**
"Hello, thank you for calling **\[Your Company]**. My name is **\[Your Name]**. How can I assist you today?"

### Instructions

**Introduction:**

* Greet the customer warmly and introduce yourself.
* Confirm the customer's reason for calling: "I understand you're calling to inquire about the status of your order. Is that correct?"

**Gather Information:**

* Politely ask for the customer's order number: "May I have your order number, please?"
* Confirm the customer's details: "Thank you. Could you also confirm your name and the date you placed the order?"

**Check Order Status:**

* Inform the customer you are checking the status: "Please hold for a moment while I check the status of your order."

* Look up the order using the provided details.

**Provide Update:**

* Communicate the status clearly: "Your order is currently \[Current Status]."
* Share the estimated delivery time if available: "The estimated delivery time for your order is \[Estimated Delivery Time]."
* Address any issues: "I see there is a delay due to \[Reason]. We apologize for the inconvenience and are working to resolve it."

**Further Assistance:**

* Ask if the customer needs more help: "Is there anything else I can assist you with regarding your order?"

**Closing:**

* Thank the customer: "Thank you for calling \[Your Company]. We appreciate your business."
* End the call positively: "Have a great day!"


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.