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

NeedsFor
Marketing > Messaging Frameworks Read on the keylist, get_active, get
Marketing > Messaging Frameworks Write on the keycreate, 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 adminset_status. Otherwise 403 INSUFFICIENT_ROLE

The skill can’t delete a Positioning.

Actions

actionRouteWhat it does
listGET /api/v2/messaging-frameworksSlim rows (id, name, status, version, how and when it was generated, its offering and account profile), newest version first. Filter with status
get_activeGET /api/v2/messaging-frameworks/activeThe 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
getGET /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
createPOST /api/v2/messaging-frameworksA new Positioning, always a draft with the next version number. Needs name
updatePATCH /api/v2/messaging-frameworks/{framework_id}Changes content fields and empties the ones in clear_fields. Needs at least one of them
set_statusPATCH /api/v2/messaging-frameworks/{framework_id}/statusMoves 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

ParameterTypeUsed byNotes
actionstringAllRequired
framework_idstring (UUID)get, update, set_statusRequired for all three
statusstringlist, set_statusdraft, active or archived. Required for set_status; a filter for list. Never sent on create
limitintegerlist1 to 100. Default 25
cursorstring (UUID)listThe nextCursor from the previous page
include_driftbooleangettrue adds a drift block naming which inputs (offerings, persona profiles, competitors, brand kit) changed since generation
core_offering_idstring (UUID)get_active, createget_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_idstring (UUID)get_active, createget_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
namestringcreate, updateRequired for create. At most 200 characters
positioning_statementstringcreate, updateAt most 2,000 characters
uspstringcreate, updateThe unique selling proposition. At most 2,000 characters
pillar_applicationarray of { pillar_id, applied_message }create, updateHow 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_languageobjectcreate, updateKeyed 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_idsarray of UUIDscreateOfferings this Positioning is based on, kept for drift
persona_profile_idsarray of UUIDscreatePersona profiles it is based on
competitor_idsarray of UUIDscreateCompetitors it is based on
account_profile_idsarray of UUIDscreateAccount profiles it is based on
clear_fieldsarray of stringsupdateThe 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

CodeWhy
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