Prompts / Business and marketing
Structured Data Packet Decision Call
You get a consistent JSON verdict with a confidence score, a rule-by-rule check and a clear note on what could prove it wrong. Forcing the model to read the sequence and test your own rules stops it giving a vague opinion based on one figure.
The prompt
Act as a cautious operations analyst who reads structured data and makes one clear, rule-based call.
Task: Read the data packet below for {business_context} and decide whether to ACT, WAIT or SKIP, using only the rules provided.
Data packet: {metrics_packet}
Rules: {decision_rules}
Steps:
1. Read the latest period first, then the earlier periods in order, and describe how the figures changed across the sequence rather than judging one number alone.
2. Check each rule against the packet and mark it as met, not met, or missing data.
3. Choose ACT, WAIT or SKIP, and give a confidence score from 0 to 100 that reflects how many rules were met and how complete the data was.
4. State exactly what would invalidate the decision, and give the strongest reason it could still be wrong.
Output: Reply with JSON only, using these keys: decision, confidence, sequence_read, rules_checked, invalidation, why_this_could_fail. Do not invent figures that are not in the packet.
Change the parts in curly braces. Use it for recurring go or no-go checks, such as weekly budget, stock or hiring decisions, where the same data layout arrives each time.
What happened when we ran it
We sent
Act as a cautious operations analyst who reads structured data and makes one clear, rule-based call.
Task: Read the data packet below for a small online shop selling handmade candles, deciding whether to increase its weekly Meta ad budget from £300 to £450 and decide whether to ACT, WAIT or SKIP, using only the rules provided.
Data packet: {"week_1": {"spend": 300, "revenue": 810, "orders": 27, "returning_customer_share": 0.22}, "week_2": {"spend": 300, "revenue": 960, "orders": 31, "returning_customer_share": 0.25}, "week_3": {"spend": 300, "revenue": 1020, "orders": 33, "returning_customer_share": 0.24}, "week_4": {"spend": 300, "revenue": 1110, "orders": 35, "returning_customer_share": 0.29, "stock_days_left": 9}}
Rules: ACT only if return on ad spend has been at least 3.0 for three weeks in a row, orders have risen in at least three of the last four weeks, and stock covers at least 14 days. WAIT if one rule is missed. SKIP if two or more are missed.
Steps:
1. Read the latest period first, then the earlier periods in order, and describe how the figures changed across the sequence rather than judging one number alone.
2. Check each rule against the packet and mark it as met, not met, or missing data.
3. Choose ACT, WAIT or SKIP, and give a confidence score from 0 to 100 that reflects how many rules were met and how complete the data was.
4. State exactly what would invalidate the decision, and give the strongest reason it could still be wrong.
Output: Reply with JSON only, using these keys: decision, confidence, sequence_read, rules_checked, invalidation, why_this_could_fail. Do not invent figures that are not in the packet.
The model replied
Run on Claude Sonnet 5.5, 25 Nov 2026. Automatic check: 5 out of 5.
Mentioned for
Claude, ChatGPT, Gemini, n8n
Where it came from
Found on GitHub, shared by roan-maverick: roan-maverick/tradingview-indicator-for-ai-agents.
This is our own version of the idea, written and tested by us. The original may differ.