Reference

willo_put_object

Copy ONE file into a PRIVATE bucket on the LIVE backend and get its size and SHA-256.

  • Act
  • May need approval
  • Metered
Generated from Willo's codeOpen in ClaudeOpen in ChatGPT
On this page

Copy a file into private storage. Source is exactly one of repo_path (a file in the site's repo), document_id (a generated PDF from willo_documents). bucket defaults to Willo's private bucket; a named bucket must exist and be private. Never overwrites. Runs without a card.

Access

  • Token: read + act, and editor access or higher on the business.
  • Approval: Only when Willo's chat would stop for the same action. The description says when; otherwise the call runs at once.
  • Metered: counts toward a per-business, per-minute limit for this kind of call. See Limits.

Parameters

ParameterTypeRequiredDescription
bucketstringnoA private bucket (willo_buckets). Omit for Willo's private bucket.
pathstringnoWhere to store it, e.g. reports/q3.pdf. Omit to use the source's file name.
repo_pathstringnoSource: a repo-relative file path.
document_idinteger ≥ 1noSource: a generated PDF's document id.