Ask Brightflag Prompt Playbook Ask Brightflag Prompt Playbook

Ask Brightflag Prompt Playbook

Overview: 
The Ask Brightflag Prompt Engineering Playbook is your go-to resource for crafting effective prompts in Brightflag's AI-powered assistant. This guide explains how to frame questions, what data you can access, and tips to refine your queries for the best results.


๐Ÿ’ก What This Article Covers

๐Ÿ“Œ Best Practices
๐Ÿ” What You Can Ask About
๐Ÿ“Š Available Data Points
๐Ÿš€ Coming Soon
๐Ÿ“ Filter Cheat Sheet


๐Ÿ“Œ Best Practices

โœ… Be Direct
Avoid vague language.

โœ… Iterate
Refine your prompt based on the results.

โœ… Use Follow-ups
Example: โ€œFor the previous query, add total spend.โ€

โœ… Use Brightflag Terms

  • โ€œDepartmentโ€ โ†’ Not โ€œPractice Areaโ€

  • โ€œMatter Categoryโ€ โ†’ Not โ€œCase Typeโ€


๐Ÿ” What You Can Ask About

Ask Brightflag understands:

  • Invoices

  • Matters

  • Aggregated Data (e.g., matters rolled up into department or vendor level)

  • Narrative Lines (line descriptions, rates, timekeepers)


๐Ÿ“Š Available Data Points

๐Ÿ’ฐ Spend

  • Total Spend

  • Expenses (in your orgโ€™s currency)

๐Ÿ“‚ Matter-Level

  • Matter Name

  • Entity

  • Department
    Only includes matters with invoice spend

๐Ÿงพ Invoice-Level

  • Invoice Number

  • Status

  • AP Route

๐Ÿ“… Key Dates

  • Matter Start Date

  • Invoice Submission Date

  • Billing Period

๐Ÿ“œ Other Info

  • Purchase Order Numbers

๐Ÿ” Line Item Details

  • Descriptions

  • Rates

  • Timekeepers

๐Ÿ‘ค Timekeeper

  • Timekeeper Details 


๐Ÿš€ Coming Soon

  • Vendor Details

  • Flags

  • Accruals


๐Ÿ“ Filter Cheat Sheet

๐Ÿ’ฑ Currencies

๐Ÿ“… Invoice Date Filters

๐Ÿงพ Invoice Status Filters


๐Ÿ’ฑ Currencies

  • Supports your orgโ€™s currency only

  • No conversion available


๐Ÿ“… Invoice Date Filters

Default Date Type:
Billing Period End Date

โ€œInvoices from March 2024โ€ โ†’ Filters by end date.

Defaults to:
Current calendar year unless specified.

โš ๏ธ Fiscal filters not supported

โ€œFiscal quarter 2โ€ โ†’ Not supported

Other date filters:
Use exact terms for precision:

  • Billing Period Start Date

  • Received Date

  • Status Change Timestamp

  • Approved Date

  • Rejected Date


๐Ÿงพ Invoice Status Filters

Default:
Only non-rejected, fully processed invoices.

To include rejected invoices:
Use โ€œShow me all rejected invoices.โ€

Status Filter Glossary:

Filter Includes
Pending Pending, Awaiting Details, On-Hold
Approved Approved, Batch Exported, Paid
Explicitly Approved Only โ€œApprovedโ€ status
Batch Exported Sent to AP
Only Paid Paid invoices only
Awaiting Details Awaiting clarification/information

Access & Availability

The following roles can use Ask Brightflag:

  • Admin

  • Overview