Skip to content
UPG is in early alpha. The specification is still evolving and may change between versions.
Tools/Workspace & Portfolios/link_area_to_audience

link_area_to_audience

Link a product area to a canonical audience: create an `area_serves_persona` (target is a registry persona) or `area_targets_market_segment` (target is a registry market_segment) cross-edge, with optional `relevance` (primary/secondary) and `audience_role` qualifiers. The edge type is inferred from the canonical entity's type. Source is the product_area id; target is `registry/{canonical_id}`. This is the only path that creates the area↔audience edges. Idempotent: an existing edge is updated (qualifiers), not duplicated.

Workspace & Portfoliosnon-atomic. Edge append to the portfolio document.

Arguments

area_idstringrequired

The product_area id (see list_product_areas).

canonical_idstringrequired

A registry persona or market_segment (bare or registry/{id}).

relevancestringoptional

Whether this audience is a primary or secondary focus of the area.

primarysecondary
audience_rolestringoptional

The audience role in this area's context (persona targets only).

buyeruserchampioninfluencerpartner

Returns

Shape
{ edge, area, canonical, portfolio_file, already_existed?, updated? }

See Also