The app of the Campaign ROI Calculator template in the Kaman marketplace, built the way every app on Kaman is (the reference is the Smart Site Planning desk; Kai's Building an app on Kaman skill teaches it).
Works out what a campaign really returned: pulls spend from your ad platforms and attributed pipeline and revenue from the CRM, calculates ROI, ROAS, CAC and payback in code under your attribution model, explains the result in plain language, and flags campaigns below your ROI target. Set your margin, attribution model and target at install.
It is installed as a code project of yours when you install the template.
| screen | what it is |
|---|---|
/login, /signup |
the app's own sign-in — its users never see Kaman |
/ — the desk |
a Kaman scenario: the live records from your connected system, read as you, with Ask on each |
/chat |
Kaman's chat component with the template's agent, as you |
| the header's Run | an action the desk declares: starts the template's workflow, approvals included |
- The app acts as its signed-in user: every call carries their token
(
auth.session), so Kaman applies their permissions and organisation. The API key is used only to sign a new person up. - Kaman's browser components reach Kaman through
app/api/kaman/[...path](auth.proxy), narrowed to the scenario routes. The browser never holds a token. kaman.app.jsonnames the agents, workflow and desk scenario by the ids the template seeds them under. Install rewrites them to your copies and shares exactly those with your organisation.
Push here, then republish the template pinned to the new commit. Installs
always take the pinned commit, never the tip of main.