Use this article to create, manage, and improve Playbooks and SOPs that guide Ask Yarken analysis.
What Playbooks and SOPs do
Playbooks and SOPs define how Ask Yarken handles repeatable analysis workflows.
They help teams:
-
Standardize analysis across users.
-
Use approved calculation logic.
-
Align responses to Finance, TBM, or FinOps methods.
-
Set preferred output formats.
-
Reduce inconsistent interpretation in executive reporting.
Playbooks do not override permissions, create missing data, or change source records. They guide analysis within Yarken's governed data environment.
Where to configure Playbooks
To manage Playbooks and SOPs:
-
Go to Admin.
-
Select Settings.
-
Under AI, select Playbooks.
-
Open the Agent SOPs tab.
From this screen, administrators can view, create, upload, edit, download, and delete SOPs.
Create a new SOP
To create a new SOP:
-
Go to Admin > Settings > Playbooks.
-
In the Agent SOPs tab, select + Add New.
-
Enter an ID, for example
sop_variance_analysis. -
Enter a Title.
-
Enter a Description.
-
Add the Instructions.
-
Select Save.
The SOP becomes available to guide Ask Yarken analysis for matching workflows.
Edit an SOP
To edit an existing SOP:
-
Go to Admin > Settings > Playbooks.
-
In the Agent SOPs tab, select the edit icon.
-
Update the metadata or instructions.
-
Select Save.
Review changes before saving. SOP updates can affect how Ask Yarken handles repeatable analysis across users.
Download SOPs
To download existing SOPs:
-
Go to Admin > Settings > Playbooks.
-
In the Agent SOPs tab, select the ellipsis button.
-
Select Download.
Use this to back up SOPs, review them offline, or move approved definitions between environments.
Upload SOPs
To upload SOP files:
-
Go to Admin > Settings > Playbooks.
-
In the Agent SOPs tab, select Upload.
-
Use the Uploaded Files tab to confirm the file loaded successfully.
The Uploaded Files tab shows processing details such as file name, destination, file type, status, loaded records, total records, and errors.
Write effective SOP instructions
Strong SOP instructions are specific.
A useful SOP defines:
-
The data area to analyze.
-
The fields or dimensions to use.
-
The filters to apply.
-
The measures to return.
-
Any calculated columns to create.
-
The calculation logic.
-
The expected response structure.
-
Caveats or exclusions.
Weak instruction:
Retrieve monthly spend for Azure.
Stronger instruction:
Filter cloud spend where Provider Name is Azure. Return monthly Billed Cost for the selected financial year. Include month-over-month change and identify the top service category contributing to any increase above 10%.
Define calculations carefully
If an SOP requires derived values, define each calculation explicitly.
Example for monthly cloud spend:
-
Return Usage Spend as Billed Cost where Provider is AWS and Charge Description does not contain AWS Marketplace.
-
Return Marketplace Spend as marketplace charges only.
-
Create PPA Discount as Usage Spend x 0.13.
-
Create Support Fee as Usage Spend x 0.1092.
-
Create Total Invoice Amount as Usage Spend + Marketplace Spend - PPA Discount + Support Fee.
Also specify:
-
Source fields.
-
Charge type logic.
-
Currency columns.
-
Whether calculated values come from source data or SOP-added logic.
Avoid referencing fields that are not present in the source dataset or available analysis context.
Recommended SOP structure
Use this structure:
-
Objective.
-
Trigger questions or use cases.
-
Data source or analysis area.
-
Required dimensions and measures.
-
Required filters.
-
Ordered analysis steps.
-
Calculation rules.
-
Output format.
-
Recommendation rules.
-
Caveats and limits.
Example SOP: budget variance analysis
ID: sop_budget_variance_analysis
Title: Budget variance analysis
Description: Explains material variance between actual spend, budget, and forecast across financial and operational dimensions.
Instructions:
-
Identify the time period in the user question. If no period is provided, use the current financial year-to-date.
-
Compare Actual Spend against Budget Spend for the requested scope.
-
Calculate Variance Amount as Actual Spend minus Budget Spend.
-
Calculate Variance % as Variance Amount divided by Budget Spend. If Budget Spend is zero, return N/A.
-
Identify top drivers by account, vendor, cost center, application, and consumer where available.
-
Separate recurring cost increases from one-off items where transaction detail is available.
-
Return a summary, key drivers, evidence table, and recommended actions.
-
If the requested scope is ambiguous, ask a short clarifying question before applying filters.
Example SOP: vendor review
ID: sop_vendor_review
Title: Vendor spend and renewal review
Description: Analyzes vendor spend and contract exposure to support renewal planning and cost governance.
Instructions:
-
Identify the vendor, time period, entity, and cost center in scope.
-
Summarize total spend for the selected vendor and period.
-
Break spend down by account, application, cost center, and entity where available.
-
Identify active or upcoming contracts for the vendor.
-
Highlight contracts expiring within the next 90 days.
-
Identify unusual spend increases or concentration risk.
-
Recommend next actions for review, renegotiation, consolidation, or further analysis.
SOP governance recommendations
-
Assign SOP ownership to Finance, ITFM, TBM, or FinOps leads.
-
Review SOPs after major data model or policy changes.
-
Test SOPs with real examples before broad release.
-
Use consistent naming conventions.
-
Keep descriptions clear and specific.
-
Remove SOPs that are no longer used.
-
Avoid overlapping SOPs that answer the same question in different ways.
-
Confirm restricted data remains governed by user permissions.
Common mistakes and fixes
|
Issue |
Cause |
Fix |
|---|---|---|
|
SOP returns inconsistent answers |
Instructions are too vague |
Add fields, filters, measures, and calculation rules. |
|
SOP uses unavailable fields |
Field does not exist in the source data |
Validate available fields before publishing. |
|
Multiple SOPs trigger for the same request |
SOP scopes overlap |
Consolidate SOPs or clarify trigger questions. |
|
Output format is inconsistent |
Response structure is not specified |
Add required sections and table formats. |
|
Calculations are unclear |
Derived fields are not defined |
Document formulas explicitly. |
|
Results differ from reports |
Filters or source data changed |
Review report filters and SOP logic together. |
Next step
Manage Ask Yarken settings, Copilots, and Knowledge Base
Related articles