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
| Needs | For |
|---|---|
| Company > Company Profile Read on the key | get, history, get_agent_context |
| Company > Company Profile Write on the key | put |
| A key created by an owner or admin | put. Otherwise 403 INSUFFICIENT_ROLE |
Actions
action | Route | What it does |
|---|---|---|
get | GET /api/v2/company-profile | The whole profile. The first time your organization asks, Horizon creates a blank one |
history | GET /api/v2/company-profile/history | The current version only: its number, who changed it and when. Horizon doesn’t keep earlier versions |
get_agent_context | GET /api/v2/company-profile/agent-context | The 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 |
put | PUT /api/v2/company-profile | Changes the fields you send, empties the ones in clear_fields, and raises the version |
Parameters
Every parameter except action is for put.
| Parameter | Type | Notes |
|---|---|---|
action | string | Required. get, history, get_agent_context or put |
company_name | string | The display name |
industry | string | |
company_size | string | A size band |
founded_year | integer | |
core_values | array of { value, description } | Replaces the stored list, so send back every row you read |
drive_horizon_code | string | |
niche | string | |
ideal_customer_profile | string | |
geographic_focus | string | |
three_year_revenue_target | string | As text |
three_year_description | string | |
three_year_measurables | array of { metric, target } | Replaces the stored list |
one_year_revenue_target | string | As text |
one_year_goals | array of { id, goal, ownerType, ownerId, measurable, targetValue, currentValue, status } | Replaces the stored list |
annual_revenue_target | number | 0 or more |
monthly_burn_target | number | 0 or more |
target_gross_margin | number | A percentage, 0 to 100 |
target_dso | integer | Days sales outstanding, 0 or more |
target_dpo | integer | Days payables outstanding, 0 or more |
funding_stage | string | |
runway_months | integer | |
next_funding_target | number | 0 or more |
financial_year_start | integer | The month the financial year starts, 1 to 12 |
clear_fields | array of strings | The 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
| Code | Why |
|---|---|
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