Write Effective Prompts

Effective prompts help Agent Hub understand what you want to accomplish and provide more useful responses.

Include enough information about your goal, relevant context, and the result you expect. You can refine your request with follow-up prompts as the conversation continues.

Use these guidelines when writing prompts in Agent Hub:

Describe What You Want to Accomplish

Clearly describe what you want to accomplish. Focus on the task or outcome rather than trying to determine which agent or other AI resource should handle the request.

For example:

Instead of: Help me with sales.

Try: Summarize my open purchase orders and identify any that require my attention.

Provide Relevant Context

Include information that can help Agent Hub understand your request, such as the business area, time period, audience, or other details that are relevant to the task.

For example:

Summarize my team's open purchase orders for this quarter and identify any that are overdue.

If the information needed to complete your request is contained in a file, attach the file to your prompt to provide additional context.

Describe the Result You Want

If you need the response presented in a particular way, describe the format, level of detail, or information that you want included.

For example:

Summarize my open purchase orders in a table. Include the supplier, amount, due date, and status.

You don't need to specify an output format when it isn't important to your request.

Refine Your Request

You don't need to create a perfect prompt the first time. After reviewing the response, continue the chat with follow-up prompts to clarify your request, provide more context, change the requested output, or ask for additional detail.

For example:

Show only the purchase orders that are more than 30 days overdue.

As you continue the chat, use your follow-up prompts to guide the AI resource toward the information or result you need.