Update Webhook

figma.update_webhook
ActionBusiness appsconnection required

Calls the Figma API with the connection's credentials.

Replace a webhook's event, endpoint, passcode, status and name. Figma's update is a full replacement, so anything left blank is overwritten.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Figma
Secret shape
{"client_id": "…", "client_secret": "…", "refresh_token": "…"}, or {"personal_access_token": "figd_…"}
Config it needs
base_url, plan_api_id
Resolved by
config.connection_id, else node.connection_id

Configuration

6 fields, 4 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
webhook_id
The id of the webhook, as returned by figma.create_webhook or figma.list_webhooks.
stringYes———
event_type
The Figma event the webhook should fire on.
stringYes—one of "PING", "FILE_UPDATE", "FILE_VERSION_UPDATE", "FILE_DELETE", "LIBRARY_PUBLISH", "FILE_COMMENT", "DEV_MODE_STATUS_UPDATE"—
endpoint
The HTTPS URL Figma will POST to. Max 2048 characters.
stringYes—≤ 2048 characters; url format—
passcode
The value Figma echoes in every delivery. Max 100 characters.
stringYes—≤ 100 characters—
status
Set the webhook active or paused.
stringNo—one of "ACTIVE", "PAUSED"—
description
A name for the webhook. Max 150 characters.
stringNo—≤ 150 characters—

Output

One shape.

result

FieldTypeExample
id
The webhook's id.
string—
event_type
The event it now fires on.
string—
status
ACTIVE or PAUSED.
string—
endpoint
The URL Figma now calls.
string—
{
  "endpoint": "",
  "event_type": "",
  "id": "",
  "status": ""
}

See Update Webhook run in a workflow.

In a technical demo we add the Figma connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.