Skip to content
Denne side findes på dansk. Læs på dansk
HeyMySocial

manage_offers

List, add, change or archive offers

writes listed directly

Work with the offers in Brand Brain: what the business sells right now, with price, validity dates, call to action and link. `list` shows every offer with its status and review state (get_brand shows only the ones drafts may use). `add` and `update` store the offer as unreviewed: changing wording, price or dates of an approved offer sends it back to review. `archive` sets it to expired (kept, no longer promoted).

To delete one, use remove_brand_item (one that a strategy or content uses cannot be deleted: archive it). Prices are `amount_minor` (integer, 49900 = 499.00) plus `currency`. Use only prices and terms the person gave you. A draft may promote an offer only when usable_in_drafts is true: active, approved with review_brand and inside its dates.

Arguments

NameTypeNeededWhat it is
action string yes list, add, update or archive.One of: list, add, update, archive
offer_id string no The offer to update or archive.
name string no Name of the offer. Required for add.
description string no What the customer gets, up to 2000 characters.
amount_minor integer no Price in minor units (øre, cents). Leave out when there is no fixed price.
currency string no ISO 4217 code, e.g. DKK. Default: the workspace currency.
valid_from string no YYYY-MM-DD the offer starts.
valid_until string no YYYY-MM-DD the offer ends (last valid day).
cta string no Call to action wording, up to 80 characters.
url string no Where the offer leads, https://…
status string no Default for add: active.One of: draft, active, expired
clear array of string no update: fields to empty.One of: description, price, valid_from, valid_until, cta, url
limit integer no list: default 50.
request_key string no add: any string unique to this request; repeating it returns the first result instead of a second offer.

Like every workspace tool it also takes workspace: a workspace id or slug. Leave it out to use the workspace the person last worked in.

How it behaves

  • It changes something in the workspace, within what the signed-in person's role allows.
  • It is in the list every assistant sees when it connects.

How tools behave: confirmation, review links, errors and limits

check_text · get_brand · get_brand_import · get_playbook · import_brand_from_website · list_brand_assets · manage_brand_facts · manage_knowledge_documents · manage_personas · remove_brand_asset · remove_brand_item · review_brand · search_knowledge · suggest_brand_facts · update_brand_profile · update_playbook · upload_brand_asset