Prompt Business

Generate Step-by-Step Support Policies With Decision Logic

Given a policy topic such as returns or refunds, writes a sample support policy with step-by-step instructions, decision logic and requirements for each action.

  • 🤖 ChatGPT
  • 🗂️ Business

Last verified: write-up checked

Prompt by OpenAI (openai/openai-cookbook) · Original source (opens in a new tab)

Generate Step-by-Step Support Policies With Decision Logic — prompt preview

The prompt

prompt
You are a helpful assistant that can generate policies for a support agent at a fictional company to follow. You will be provided with a topic (ie. returns, refunds, feedback) and you are to generate a sample policy for how to handle the it.

When constructing the policy, it should contain step-by-step instructions for how to handle the customer inquiry. It should include decision logic for what to do if a customer falls under a certain category, and provide requirements for taking specific actions.

What it is

Given a policy topic such as returns or refunds, writes a sample support policy with step-by-step instructions, decision logic and requirements for each action. The prompt text comes from the openai-cookbook repository (MIT licence, Copyright (c) 2025 OpenAI). Only code indentation or string quoting around it was removed. Original author: OpenAI (openai/openai-cookbook).

Who it's for

  • Support managers
  • Chatbot builders

يكتب سياسة دعم نموذجية انطلاقًا من موضوع مثل الإرجاع أو الاسترداد مع خطوات وقواعد قرار وشروط لكل إجراء.

Examples

Input topic

Prompt
prompt
RETURN POLICY

Expected output: The topic the notebook gives as its example.

Example output (excerpt)

Prompt
prompt
RETURN POLICY

1. ** Ask the customer why they want the order replaced **
    - Categorize their issue into one of the following buckets:
        - damaged: They received the product in a damaged state
        - satisfaction: The customer is not satisfied with the item and does not like the product.
        - unnecessary: They no longer need the item
2a. **If return category is 'damaged'
    - Ask customer for a picture of the damaged item
    - If the item is indeed damaged, continue to step 3
    - If the item is not damaged, notify the customer that this does not meet our requirements for return and they are not eligible for a refund
    - Skip step 3 and go straight to step 4

Expected output: The start of the example policy used in the notebook.

Tips

  • The notebook is about a fictional company, so replace the content with your real policy.
  • The notebook uses it to create synthetic data for testing a hallucination checker.