Delete Comment

figma.delete_comment
ActionBusiness appsconnection required

Calls the Figma API with the connection's credentials.

Delete one comment from a file. Figma only lets the account that wrote a comment delete it.

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

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

FieldTypeRequiredDefaultConstraintsExample
file_key
The Figma file key — the segment after /design/ or /file/ in the file URL.
stringYes———
comment_id
The id of the comment to act on, as returned by figma.list_comments.
stringYes———

Output

One shape.

result

FieldTypeExample
comment_id
The comment that was deleted.
string—
deleted
True when Figma reported no error.
boolean—
status
The status Figma reported in the response body.
number—
{
  "comment_id": "",
  "deleted": false,
  "status": 0
}

See Delete Comment 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.