Skill: Manage Messaging Frameworks
Reference for the Manage Messaging Frameworks skill, which reads your Positioning, drafts new versions, edits them, and activates or archives one.
The Manage Messaging Frameworks skill lets an agent read your Positioning, draft a new version, edit it, and activate or archive one. Positioning is stored as a messaging framework, which is the name the skill uses.
Key and role
| Needs | For |
|---|---|
| Marketing > Messaging Frameworks Read on the key | list, get_active, get |
| Marketing > Messaging Frameworks Write on the key | create, update, set_status |
| A key creator whose role can write Positioning (every built-in role can) | create, update |
| A key created by an owner or admin | set_status. Otherwise 403 INSUFFICIENT_ROLE |
The skill can’t delete a Positioning.
Actions
action | Route | What it does |
|---|---|---|
list | GET /api/v2/messaging-frameworks | Slim rows (id, name, status, version, how and when it was generated, its offering and account profile), newest version first. Filter with status |
get_active | GET /api/v2/messaging-frameworks/active | The active Positioning for the offering and account profile you name, falling back from the most specific scope to the organization-wide one. NOT_FOUND when none is active |
get | GET /api/v2/messaging-frameworks/{framework_id} | The whole Positioning: positioning statement, USP, pillar application, channel language and what it was based on. include_drift adds which inputs changed since it was generated |
create | POST /api/v2/messaging-frameworks | A new Positioning, always a draft with the next version number. Needs name |
update | PATCH /api/v2/messaging-frameworks/{framework_id} | Changes content fields and empties the ones in clear_fields. Needs at least one of them |
set_status | PATCH /api/v2/messaging-frameworks/{framework_id}/status | Moves it to draft, active or archived. Activating one archives the active Positioning of the same scope |
A Positioning the skill creates names no brand kit, so it uses your default kit.
Parameters
| Parameter | Type | Used by | Notes |
|---|---|---|---|
action | string | All | Required |
framework_id | string (UUID) | get, update, set_status | Required for all three |
status | string | list, set_status | draft, active or archived. Required for set_status; a filter for list. Never sent on create |
limit | integer | list | 1 to 100. Default 25 |
cursor | string (UUID) | list | The nextCursor from the previous page |
include_drift | boolean | get | true adds a drift block naming which inputs (offerings, persona profiles, competitors, brand kit) changed since generation |
core_offering_id | string (UUID) | get_active, create | get_active: the offering to resolve for. create: the offering this Positioning is for; leave it out for all offerings. Can’t be changed later |
account_profile_id | string (UUID) | get_active, create | get_active: the account profile to resolve for. create: the account profile this Positioning is for; leave it out for all. Can’t be changed later |
name | string | create, update | Required for create. At most 200 characters |
positioning_statement | string | create, update | At most 2,000 characters |
usp | string | create, update | The unique selling proposition. At most 2,000 characters |
pillar_application | array of { pillar_id, applied_message } | create, update | How each brand pillar is expressed. At most 10 entries, each pillar once, each applied_message at most 2,000 characters. pillar_id must be a current brand pillar. On update the list replaces the stored one |
channel_language | object | create, update | Keyed by linkedin, email, landing_page and ads, each at most 2,000 characters. On update the object replaces the stored one, so a channel you leave out is erased |
core_offering_ids | array of UUIDs | create | Offerings this Positioning is based on, kept for drift |
persona_profile_ids | array of UUIDs | create | Persona profiles it is based on |
competitor_ids | array of UUIDs | create | Competitors it is based on |
account_profile_ids | array of UUIDs | create | Account profiles it is based on |
clear_fields | array of strings | update | The fields to empty. See below |
Clearing fields
update can empty positioning_statement, usp, pillar_application and channel_language. Name them in clear_fields; a null, blank or empty argument leaves the field alone. To erase one channel, send the channels to keep. name can’t be emptied, and create refuses clear_fields.
Refusals
| Code | Why |
|---|---|
INSUFFICIENT_ROLE (403) | set_status with a key not created by an owner or admin |
NOT_FOUND (404) | get_active found no active Positioning for that scope |
INVALID_PILLAR_IDS (400) | A pillar_id isn’t a current brand pillar |
APPLIES_REMOVED_PILLARS (409) | set_status to draft or active on a Positioning that applies a pillar since removed from the brand kit. Create a new version instead |
BRAND_KIT_ARCHIVED (409) | set_status to draft or active on a Positioning whose brand kit was deleted |
SCOPE_CHANGED (409) | Activating a Positioning whose offering or account profile was deleted |
Related: Positioning | Marketing skills | Manage Marketing Assets