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

upload_brand_asset

Add a logo or image from a web address

writes reaches outside listed directly

Add a logo or image to the brand assets from an https address the person gave you (their website, their media folder).

HeyMySocial fetches it itself through its safe fetcher: private and local addresses are refused, the file must really be a PNG, JPG, WebP or SVG (decided from the bytes, not the name), at most 8 MB, and an SVG is sanitised before it is stored. There is no base64 or file upload here: a file on the person's computer is uploaded in the app. `set_as_logo: true` also puts it on the brand profile, which starts a new profile version awaiting review when the profile was approved. Use only files the business owns or may use, and record the licence in `license_note` when it is not their own. The reply includes the stored picture when it is small: look at it and check it is the right one.

Arguments

NameTypeNeededWhat it is
url string yes https address of the image file itself (not of a page that shows it).
kind string no Default image. set_as_logo makes it logo.One of: logo, image
name string no Name shown in the asset library. Default: the file name.
license_note string no Where the file comes from and how it may be used, up to 250 characters.
set_as_logo boolean no true: also use it as the logo on the brand profile.
request_key string no Any string unique to this request; repeating it returns the first result instead of storing the file twice.

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 reaches outside the workspace: it fetches an address, makes a public link or puts something on a channel's schedule.
  • It is in the list every assistant sees when it connects.
  • It is always called by its own name, never through execute_tools, so the assistant's own safety prompts apply.

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_offers · manage_personas · remove_brand_asset · remove_brand_item · review_brand · search_knowledge · suggest_brand_facts · update_brand_profile · update_playbook