Skill: Manage Company Profile

Reference for the Manage Company Profile skill, which reads and updates your organization's company profile, the record agents are grounded on.

The Manage Company Profile skill lets an agent read and update your organization’s company profile: who you are, who you sell to, your three-year and one-year targets, and your financial targets. Agents are grounded on this profile.

Key and role

NeedsFor
Company > Company Profile Read on the keyget, history, get_agent_context
Company > Company Profile Write on the keyput
A key created by an owner or adminput. Otherwise 403 INSUFFICIENT_ROLE

Actions

actionRouteWhat it does
getGET /api/v2/company-profileThe whole profile. The first time your organization asks, Horizon creates a blank one
historyGET /api/v2/company-profile/historyThe current version only: its number, who changed it and when. Horizon doesn’t keep earlier versions
get_agent_contextGET /api/v2/company-profile/agent-contextThe condensed profile agents are grounded on: name, industry, core values, niche, ideal customer, three-year vision, one-year target and financial targets. null when there is no profile
putPUT /api/v2/company-profileChanges the fields you send, empties the ones in clear_fields, and raises the version

Parameters

Every parameter except action is for put.

ParameterTypeNotes
actionstringRequired. get, history, get_agent_context or put
company_namestringThe display name
industrystring
company_sizestringA size band
founded_yearinteger
core_valuesarray of { value, description }Replaces the stored list, so send back every row you read
drive_horizon_codestring
nichestring
ideal_customer_profilestring
geographic_focusstring
three_year_revenue_targetstringAs text
three_year_descriptionstring
three_year_measurablesarray of { metric, target }Replaces the stored list
one_year_revenue_targetstringAs text
one_year_goalsarray of { id, goal, ownerType, ownerId, measurable, targetValue, currentValue, status }Replaces the stored list
annual_revenue_targetnumber0 or more
monthly_burn_targetnumber0 or more
target_gross_marginnumberA percentage, 0 to 100
target_dsointegerDays sales outstanding, 0 or more
target_dpointegerDays payables outstanding, 0 or more
funding_stagestring
runway_monthsinteger
next_funding_targetnumber0 or more
financial_year_startintegerThe month the financial year starts, 1 to 12
clear_fieldsarray of stringsThe fields to empty. See below

Clearing fields

put can empty company_name, industry, company_size, drive_horizon_code, niche, ideal_customer_profile, geographic_focus, three_year_revenue_target, three_year_description, one_year_revenue_target, funding_stage, founded_year, annual_revenue_target, monthly_burn_target, target_gross_margin, target_dso, target_dpo, runway_months, next_funding_target and financial_year_start. Name them in clear_fields; a null argument leaves the field alone. To empty core_values, three_year_measurables or one_year_goals, send an empty list.

Refusals

CodeWhy
INSUFFICIENT_ROLE (403)put with a key not created by an owner or admin
VALIDATION_ERROR (400)A financial value is out of range

Related: Company Profile | Company skills