Skip to main content

How to use these recipes

Each recipe is a complete, runnable playbook you can describe in natural language during a build prompt. Read the recipe, copy the prompt, adapt the field names to your data model, and ship. Every recipe includes:
  • The objective the playbook serves
  • The trigger and tool calls
  • The default risk tier and recommended graduation path
  • A natural-language prompt you can paste into the build chat

1. Stalled-deal chaser (sales)

Objective. No deal sits in a single stage for more than 14 days without a follow-up attempt. Shape.
Prompt.
Graduation. Stay in draft_and_approve until the action log shows a 90%+ approval rate over 30+ days. Internal-only graduation paths don’t apply (these are external recipients).

2. SLA enforcer (operations)

Objective. No customer ticket goes more than 24 hours without first response. Shape.
Prompt.
Graduation. The notify_user step is already auto-tier (internal). The customer-facing email stays in draft-and-approve.

3. Inventory watchdog (e-commerce)

Objective. No SKU drops below its reorder point without a draft purchase order. Shape.
Prompt.
Graduation. Internal-only variants (POs to a procurement queue rather than directly to a supplier) can graduate to auto_with_undo.

4. Daily briefing (personal, every role)

Objective. Every user starts the day with a summary of what’s on their plate. Shape.
Prompt.
Graduation. A daily briefing is a strong candidate for auto_with_undo after a trial period. It’s personal, internal, and reversible (notification can be dismissed).

5. Anomaly detector (finance / payouts)

Objective. Any payout that’s an outlier compared to history gets a human eye before it processes. Shape.
Prompt.
Graduation. This stays in human-in-the-loop forever. Anomaly detection is exactly the case where you don’t graduate.

6. Digest publisher (org-wide)

Objective. The leadership team gets a weekly summary of pipeline, SLA, and ops health without anyone having to assemble it. Shape.
Prompt.
Graduation. Once the chief of staff has approved 4+ weeks unchanged, this is a strong candidate for auto_with_undo to Slack.

Adapting recipes to your data

Field names like deal.owner, ticket.assignee, and customer.avg_payout_last_90_days are placeholders. When you describe the playbook in a build prompt, Gainable’s build agents read your actual schema and rewire the references. If a recipe references a field your schema doesn’t have (e.g. avg_payout_last_90_days), the autopilot phase will offer to add it as a derived field during the build. You can accept, edit, or skip.

Patterns you’ll see across recipes

  • query_collection first, then draft_for_approval. Almost every recipe reads relevant context before drafting. The action log captures both, so reasoning is auditable.
  • Personal scope binds timezone to the user. Personal recipes use {{ user.timezone }} so 8 AM means 8 AM where the user lives.
  • Rate limits are not optional. Every recipe has at least one. They’re the difference between “the agent helps” and “the agent floods.”
  • Graduation paths are explicit. Each recipe states whether and when graduation is appropriate.

Best practices

Pick the recipe that solves the loudest problem your team has today. Get it through approval, edit, and graduation. Then add the next one.
Replace placeholder field names with yours. Adjust thresholds to your data’s volume. The shape stays the same; the values are yours.
Simulate on last 30 days before going live. Recipes that look reasonable in a doc can produce surprising volume against real data.
Approval rate, skip reasons, and rate-limited counts tell you whether the playbook is tuned correctly. Tune in week one. Graduate in month one.

Learn more

Playbooks

The shape every recipe follows

Tools

What each step in a recipe calls

Risk tiers

How recipes graduate

Connect outbound

Where Slack, email, and Stripe payouts connect