Create Comment

figma.create_comment
ActionBusiness appsconnection required

Calls the Figma API with the connection's credentials.

Post a comment on a Figma file, either free-floating or as a reply to an existing top-level comment.

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

4 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———
message
The text of the comment.
stringYes———
reply_to_comment_id
Reply to this top-level comment. Figma refuses a reply to a reply.
stringNo———
client_meta
Where to pin the comment, as JSON: a canvas vector {x, y}, or a frame offset {node_id, node_offset}.
objectNo———

Output

One shape.

result

FieldTypeExample
id
The new comment's id.
string—
file_key
The file the comment lives in.
string—
message
The comment text as stored.
string—
created_at
UTC ISO 8601 time the comment was created.
string—
parent_id
The comment this one replies to, when it is a reply.
string—
order_id
The number shown with the comment in the Figma UI.
string—
user
The Figma user the comment was posted as.
object—
{
  "created_at": "",
  "file_key": "",
  "id": "",
  "message": "",
  "order_id": "",
  "parent_id": "",
  "user": {}
}

See Create 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.