Berner Setterwall5 min read

    Rewardful Is Live in Cogny: Your Agent Reads and Runs Your Affiliate Program

    Rewardful is now a live MCP integration in Cogny. Connect it with your API Secret, and your agent can read your campaigns, affiliates, links, coupons, referrals, sales, commissions and payouts, and act on them.

    An affiliate program is a channel like any other: it brings visitors, some become customers, and it costs you commission. Until now those numbers lived in a separate dashboard. With Rewardful next to your ad platforms, analytics and billing in one conversation, your agent can answer "which affiliates actually bring paying customers, and what do we owe them this month" without an export.

    The connector has 23 tools: 14 that read and 9 that change something.


    What you can do with it

    ToolWhat your agent can do
    list_campaigns, get_campaignRead each campaign's commission terms and its totals for visitors, leads, conversions and affiliates
    list_affiliates, get_affiliateRead affiliates with their state, links and counts, filter by campaign or email, and include commission stats per affiliate
    list_affiliate_links, get_affiliate_linkSee every tracking link with its visitors, leads and conversions
    list_affiliate_coupons, get_affiliate_couponSee which coupon codes belong to which affiliate and what they brought in
    list_referralsFollow referred visitors from visitor to lead to paying customer, per affiliate or by email
    list_salesRead referred purchases with charged, refunded and tax amounts
    list_commissions, get_commissionRead commissions by affiliate and state: pending, due, paid or voided
    list_payouts, get_payoutSee what each affiliate is owed and what has been paid
    create_affiliate, update_affiliateAdd an affiliate, change their details or payout address, move them to another campaign, or disable them
    create_campaign, update_campaignSet up a campaign and change its commission terms, visibility and minimum payout
    create_affiliate_link, update_affiliate_linkGive an affiliate another link, or change a link's token
    create_affiliate_couponAssign a coupon code to an affiliate
    update_commissionChange when a commission is due, or record it as paid or unpaid
    mark_payout_paidRecord a payout and all its commissions as paid

    Lists return up to 100 rows a page, and the agent pages through them on its own.

    Some things to ask:

    • "Rank our affiliates by conversions this quarter, with commission earned and paid for each."
    • "Which commissions are due right now, grouped by affiliate, and what is the total?"
    • "How many referrals became leads but never paid? Break it down by affiliate."
    • "Add Maria Lindqvist (maria@example.com) to the Partners campaign with the link token maria."
    • "Compare affiliate-referred revenue with what we spent on Google Ads last month."

    How to connect it

    1. In Rewardful, open Company Settings.
    2. Copy the API Secret shown on that page.
    3. In Cogny, open Settings → Integrations, click Connect on Rewardful and paste the secret.

    Rewardful has one API Secret per account and no read-only version of it, so the secret gives full access to your Rewardful account. What Cogny can do with it is limited to the 23 tools above. The secret is stored encrypted, scoped to your workspace, and you can disconnect at any time. If you rotate the secret in Rewardful, paste the new one into the connection.


    What the write tools change

    • Creating and updating affiliates and campaigns changes your program the same way doing it in Rewardful does. New commission terms on a campaign apply to every affiliate in it. A disabled affiliate stops being tracked, earns no new commissions and can't log in to their dashboard. Rewardful sends no welcome email to an affiliate created this way.
    • Changing a link's token stops the old link from tracking at once, wherever the affiliate has already published it. It only happens when the call is confirmed; adding a second link keeps the old one working.
    • Marking a payout paid records the payout and every commission in it as paid. It is bookkeeping: pay the affiliate first, then record it. It also only happens when the call is confirmed.
    • Updating a commission changes its due date or records it as paid or unpaid.

    In the Cogny app, write tools ask first by default, so a person approves each one. When your own AI client calls a tool over MCP, your client is the approval step, so keep write tools set to ask every time there. Nothing is deleted, and no money is sent from Cogny.


    What it does not cover yet

    Rewardful's API has no date filter on sales, commissions or payouts, so for "last month" the agent reads the newest pages until it has passed the period. Commissions can't be deleted from Cogny, the affiliate dashboard login link isn't exposed, and sales or leads can't be recorded by hand. Extra affiliate links and campaign coupons depend on your Rewardful plan. Rewardful allows about 45 requests per 30 seconds; when the limit is reached the agent waits and continues.

    The full tool list, with what each tool reads or changes and the known gaps, is on the Rewardful tools page. If you need one of the missing pieces, ask your agent to request it: it can file the request itself from inside Cogny.


    Connect Rewardful from your Cogny dashboard and ask which affiliates earned their commission.