publish_to_tableau_public
Publish an open workbook to Tableau Public with a required confirmation flag to prevent accidental release. The workbook becomes world-visible and irreversibly public.
Instructions
DESTRUCTIVE / PUBLIC. Publish an open workbook to the user's Tableau Public account through the visible Server > Tableau Public > Save to Tableau Public workflow. Publication is irreversible and world-visible. Requires confirm_publish=true. Never reads credentials; pauses for manual sign-in if required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Report what would happen without publishing. | |
| profile | Yes | Your Tableau Public profile name. Required to resolve and verify the resulting public URL after publication. | |
| overwrite | No | Allow overwriting an existing workbook of the same name. | |
| set_title | No | Type public_name into the dialog's Workbook Title field. If false, Tableau's pre-filled title (from the file name) is kept. | |
| public_name | Yes | Name for the published workbook (must be unique) | |
| workbook_path | No | Absolute path to the .twbx being published. Optional but recommended: it lets a minimized workbook be raised reliably with `open -a` instead of a coordinate click. | |
| screenshot_dir | No | ||
| confirm_publish | Yes | Must be true. Guards against accidental publication. | |
| workbook_window | Yes | The open workbook's exact name (its window title without the 'Tableau Public - ' prefix). Matched exactly, not as a substring, because publishing is irreversible: a substring match would let 'Q3_Sales' publish 'Q3_Sales_Draft'. |