Moab logoMoab
Get started
Moab Docs

Products & Goals

What you sell, and the number you are trying to move — the two objects every campaign is written from.

A Moab project starts with a product — what you sell — and a goal, the number that product is being sold toward. Every campaign agent, content template and draft carries a product_id, and every run reports back against a goals row, so "why did the agent write this" always resolves to an object you can read.

Record progress against a goal

Update a goal — PATCH /api/v1/goals/draft-001

curl -X PATCH "https://moabcrm.com/api/v1/goals/draft-001" \
  -H "Authorization: Bearer $DASH_API_KEY" \
  -H "Project-ID: pr_zest" \
  -H "Content-Type: application/json" \
  -d '{"status":"paused"}'
Update the goal {id}
data_set {
  "collection": "goals",
  "object_id": "draft-001",
  "data": {
    "status": "paused"
  }
}

{
  "object": "goal",
  "id": "obj_123",
  "name": "name",
  "goal_prompt": "goal prompt",
  "product_id": "product_123",
  "status": "paused",
  "created_at": "2026-07-25T12:00:00.000Z",
  "updated_at": "2026-07-25T12:00:00.000Z"
}

The resources

  • products — what you sell, and the positioning every draft is written from.
  • goals — the number a campaign is trying to move, and how far along it is.

Each reference page lists the fields you can send, the read-only fields that come back, and the filters and sort keys the endpoint serves. Both resources carry a timeline.

Worth knowing

  • You rarely create these by hand. Set up your project runs the setup skill, which seeds the product, the goal and a whole first campaign graph from one sentence about your business.
  • current_value is the field that moves. The analytics skill writes it as it measures, and the last checklist row goes green when a goal reaches status: reached.
  • Reads and goal updates are never blocked by the project's approval brake; only autonomous spend is — see Control plane.

Let the agent do it

tasks_create { "project_id": "pr_zest", "skill_id": "setup", "run": true,
               "prompt": "Set up Moab for Zest — we sell standup automation to AI teams." }
tasks_status { "task_id": "ts_…" }     // → the products, goals and campaign agents it seeded

Next: People & Companies — who those products get sold to.

On this page

Moab logoMoab

Ready to build? Connect an agent and go — no credit card needed to start.

Get startedSee our plans