goals.create
The CRM’s id for the customer, from
contacts.upsert or
contacts.resolve.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Something to achieve with a customer.
const [goal, error] = await crm.goals.create({
partyId: contact.id,
desiredOutcome: "Upgrade to the team plan",
valueAmount: 120000,
valueCurrency: "USD",
targetDate: "2026-12-31",
});
contacts.upsert or
contacts.resolve.const [goals, error] = await crm.goals.list({ partyId: contact.id });
await crm.goals.complete({ goalId: goal.id });