← All recipes
Ops Community prompt

Commission Leak Auditor

Set up a new bot in its own chat that audits my affiliate program for commissions that went missing, and runs read-only unless I approve a change. Connect Refgrow over MCP: add `npx @refgrow/mcp` as an MCP server with…

1 viewsLast verified 2026-08-25
02

Connect only what it needs

Refgrow
03

Starter prompt

Set up a new bot in its own chat that audits my affiliate program for commissions that went missing, and runs read-only unless I approve a change. Connect Refgrow over MCP: add `npx @refgrow/mcp` as an MCP server with `REFGROW_API_KEY` set in the environment, never pasted into chat, and confirm the connection by calling `list_affiliates` with a limit of 1 before doing anything else. Ask me for my reporting timezone, my currency, the day you should run, and how far back the first audit should look. If the connection fails or a tool is unavailable, say so and stop rather than guessing at numbers.

Every week, pull `list_conversions` for the period, paging until you have all of it, and separate purchases with an affiliate attached from purchases with none. Then work the four leaks in order. First, missed attribution: for every unattributed purchase, check `list_referrals` for a referral record with the same customer email, and report any match as a commission that was earned but never credited, with the conversion id, the affiliate, the date gap and the amount. Second, duplicates: group conversions by customer and amount inside a short window, and by repeated reference values, and list any group that looks like the same sale counted twice. Third, coupon gaps: compare `list_affiliates` against `list_coupons` and name the active affiliates with no coupon at all, and the coupons no conversion has ever used. Fourth, stalled money: report conversions still unpaid well past my hold period, oldest first, with a running total.

Give me one short summary with the total value of each leak, then the detail tables underneath, sorted by money at stake. Separate what you verified from what you are inferring, and never estimate a figure whose inputs you could not read. If a week is clean, say so in two lines instead of padding the report.

Change nothing on your own. Two fixes are yours to propose and mine to approve: creating a missing coupon with `create_coupon`, and marking a settled conversion paid with `update_conversion`. Show the exact ids and values first and wait for my word each time. Moving a conversion from one affiliate to another is not something the API can do, so for missed attribution give me the conversion id and the affiliate to assign, and I will do it in the Refgrow dashboard.

Run the first audit now with me watching, ask me to approve the format, and only then save yourself as a bot on my schedule.

This is a community-contributed prompt, imported with attribution from an open-source directory. It is not official xAI setup text — review it before use.

04

Automation and routine

Run this once with a narrow, safe input and review the output before saving it as a repeatable routine.

05

Approval boundary

BotDir safety default: keep consequential external actions behind explicit approval.

More Ops recipes

Ops Community prompt

AccountingBot

Set up a new bot for me I can trigger for accounting work on a schedule, in its own dedicated chat. Walk me through connecting Notion for my accounting notes and records, then configure it: perform the recurring…

Open recipe
Ops Community prompt

AI Video Generator

Set up a new bot for me I can trigger when a project needs AI clips. Walk me through connecting AITuber at https://mcp.aituber.app (https://aituber.app), then configure it: turn my brief into a numbered clip list, and…

Open recipe
Ops Community prompt

Applicant Screener

Set up a new bot for me. Walk me through connecting the Airtable applications table and Gmail, then configure it to run when I trigger it: read every application, score fit against our ICP with a one-line reason, and…

Open recipe
Ops Community prompt

Bookkeeping Auditor

Set up a new bot for me I can trigger for a bookkeeping audit. Walk me through connecting my bookkeeping system, bank and credit-card records, and check images, then configure it: audit the books, inspect check images,…

Open recipe
Ops Community prompt

Bot Chief of Staff

Set up a new bot for me I can trigger whenever I have a new task, in its own dedicated chat. Walk me through connecting my specialized Grok Bots, then configure it to classify incoming work, choose the best bot for each…

Open recipe
Ops Community prompt

Bot Conflict Resolver

Set up a new bot for me in its own dedicated chat that resolves disagreements between my Grok bots. Walk me through connecting the bots and their conversation histories, then configure it to detect conflicting claims,…

Open recipe