UpdateShortcutBody
Body for Update Shortcut. Send only what changes. `outputs` replaces the previous outputs and publishes a new version; `name`, `description` and `icon_emoji` apply immediately.
Properties
namestringminLen 1New display name.
descriptionstringNew description.
icon_emojistringNew icon emoji.
outputsarray ofThe fields a run returns, in order. Each item names one output field and points it at a value: a `{{input.<field>}}` or `{{<action_instance_id>.<field>}}` reference, a literal, or a mix. Written onto the workflow's `output_shortcut` action (added to the end of the chain when there is none) and returned as `output_schema`. An output keeps its identity across updates as long as its `name` is unchanged. A reference nothing produces is kept and reported in `warnings`.
namestringrequiredminLen 1Output field name — the key its value appears under in a run's `output_data`.
valuestringrequiredWhere the value comes from.
forcebooleanPublish even when the new `outputs` remove a field another workflow's Call Shortcut cell reads. Those call sites are marked broken. Defaults to false, which returns 409 `SHORTCUT_CONTRACT_BREAK` with the callers instead.
Example
{
"name": "Company Enrichment v2",
"description": "string",
"icon_emoji": "🏢",
"outputs": [
{
"name": "Company Website",
"value": "{{enrich_company_linkedin_profile_1.company_website}}"
},
{
"name": "Employee Count",
"value": "{{enrich_company_linkedin_profile_1.employee_count}}"
}
],
"force": false
}