Reference

Events reference

Every tool call and every lead is recorded, so you can see what buyers ask and which conversations convert.

Tool calls

One line of JSON per call, stored with the app.

FieldMeaning
tsWhen the call happened (ISO 8601).
sessionThe MCP session id, shared by every call in one conversation.
channelWhere the call came from: chatgpt, claude, mcp, or a value you set with ORIGAMI_CHANNEL.
toolThe tool that was called, such as recommend_plan.
argsThe arguments it was called with. Email addresses given for a trial are recorded only as "provided".
outcomeWhat happened, when it matters: recommended:Business, quoted, trial_link, no_fit.
okfalse when the tool returned an error.
{"ts":"2026-10-15T04:12:05.120Z","session":"2d67…","channel":"claude",
 "tool":"quote_price","args":{"plan":"Sync","seats":3,"billing":"annual"},"outcome":"quoted","ok":true}

Leads

One record per lead from capture_lead, also sent to the app's webhook.

FieldMeaning
idA unique id for the lead.
app, companyWhich app captured it.
name, emailWhat the buyer gave.
quote, answersThe buyer's quote and answers from get_a_quote, or null.
session, channelThe conversation and the assistant it came from.
atWhen it was captured.
deliveryThe webhook result: ok, HTTP status, and an error if it failed.

Webhook events

  • lead.created: a buyer asked for a follow-up.
  • lead.test: a test lead sent from the app's settings.