Skip to content

Figma

Figma is a cloud-based design and prototyping tool that enables teams to collaborate in real-time on user interface and user experience projects.

Categories: productivity-and-collaboration

Type: figma/v1


Connections

Version: 1

OAuth2 Authorization Code

Properties

NameLabelTypeDescriptionRequired
clientIdClient IdSTRINGtrue
clientSecretClient SecretSTRINGtrue

Actions

Get Comments

Name: getComments

Gets a list of comments left on the file.

Properties

NameLabelTypeDescriptionRequired
fileKeyFile KeySTRINGFile to get comments from. Figma file key copy from Figma file URL.true

Example JSON Structure

{
"label" : "Get Comments",
"name" : "getComments",
"parameters" : {
"fileKey" : ""
},
"type" : "figma/v1/getComments"
}

Output

Type: ARRAY

Items Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the comment.
file_keySTRINGFile key of the file the comment is on.
parent_idSTRINGID of comment this comment is a reply to.
userOBJECT
Properties {STRING(id), STRING(handle), STRING(img_url), STRING(email)}
User who posted the comment.

Output Example

[ {
"id" : "",
"file_key" : "",
"parent_id" : "",
"user" : {
"id" : "",
"handle" : "",
"img_url" : "",
"email" : ""
}
} ]

Post Comment

Name: postComment

Posts a new comment on the file.

Properties

NameLabelTypeDescriptionRequired
fileKeyFile KeySTRINGFile to add comments in. Figma file key copy from Figma file URL.true
messageCommentSTRINGComment to post on the file.true

Example JSON Structure

{
"label" : "Post Comment",
"name" : "postComment",
"parameters" : {
"fileKey" : "",
"message" : ""
},
"type" : "figma/v1/postComment"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRINGID of the comment.
file_keySTRINGFile key of the file the comment is on.
parent_idSTRINGID of comment this comment is a reply to.
messageSTRINGMessage of the comment.

Output Example

{
"id" : "",
"file_key" : "",
"parent_id" : "",
"message" : ""
}