UpdateShortcutBody

Body for Update Shortcut. Send only what changes. `outputs` replaces the previous outputs and publishes a new version; `name`, `description`, `icon_emoji` and `visibility` apply immediately.

Properties

namestringminLen 1

New display name.

descriptionstring

New description.

icon_emojistring

New icon emoji.

outputsarray of

The 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 1

Output field name — the key its value appears under in a run's `output_data`.

valuestringrequired

Where the value comes from.

extensionsobject

Change which browser extensions can trigger the shortcut. A surface with an input `reference` turns it on or moves it to that input, `null` turns it off, and surfaces you leave out keep their setting. `{}` turns every extension off. Omit the field to leave the setting unchanged. Applies immediately, with no new version; the last update wins. When an `outputs` republish removes an input an extension fills, that extension is turned off and reported in `warnings`.

linkedinstring (nullable)

The input the LinkedIn extension fills from the profile page, by its `reference`.

sales_navigatorstring (nullable)

The input the Sales Navigator extension fills from the page, by its `reference`.

visibilitystring

Who can use the shortcut. `org`: everyone in your organization. `private`: you and the people it is shared with (Share Shortcut).

"org""private"
forceboolean

Proceed even when the change breaks another workflow's Call Shortcut cell: new `outputs` that remove a field it reads (409 `SHORTCUT_CONTRACT_BREAK` otherwise), or `visibility: "private"` while it still calls the shortcut (409 `SHORTCUT_HAS_CALLERS` otherwise). Those call sites break. Defaults to false.

Example

UpdateShortcutBody 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}}"
    }
  ],
  "extensions": {
    "sales_navigator": null
  },
  "visibility": "org",
  "force": false
}