Figma · Arazzo Workflow

Figma React to Latest Comment

Version 1.0.0

Find the most recent comment on a file, add an emoji reaction, and list reactions.

1 workflow 1 source API 1 provider
View Spec View on GitHub CollaborationDesignGraphicsInterfacesPrototypesPrototypingUI/UXArazzoWorkflows

Provider

figma

Workflows

react-to-latest-comment
React to the most recent comment on a file and confirm the reaction.
Lists comments, branches on whether any exist, reacts to the latest one with an emoji, and reads the reactions back.
3 steps inputs: emoji, fileKey outputs: commentId, reactions
1
listComments
Read the comment thread for the file, most recent comment first, so the latest comment can be selected.
2
reactToComment
Post an emoji reaction to the most recent comment on the file.
3
listReactions
List the reactions on the comment to confirm the new reaction is present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Figma React to Latest Comment
  summary: Find the most recent comment on a file, add an emoji reaction, and list reactions.
  description: >-
    An engagement flow that acknowledges feedback with an emoji. The workflow
    reads the comment thread for a file and branches on whether any comments
    exist; when at least one comment is present it posts an emoji reaction to
    the most recent comment and then lists that comment's reactions to confirm
    the reaction landed. Every step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI
    description. Authentication is carried by the Figma personal access token
    bearer credential declared on each operation's security requirement.
  version: 1.0.0
sourceDescriptions:
- name: commentsApi
  url: ../openapi/figma-comments-api-openapi.yml
  type: openapi
workflows:
- workflowId: react-to-latest-comment
  summary: React to the most recent comment on a file and confirm the reaction.
  description: >-
    Lists comments, branches on whether any exist, reacts to the latest one
    with an emoji, and reads the reactions back.
  inputs:
    type: object
    required:
    - fileKey
    - emoji
    properties:
      fileKey:
        type: string
        description: The key of the Figma file whose comments are reacted to.
      emoji:
        type: string
        description: The emoji string to react with.
  steps:
  - stepId: listComments
    description: >-
      Read the comment thread for the file, most recent comment first, so the
      latest comment can be selected.
    operationId: getComments
    parameters:
    - name: file_key
      in: path
      value: $inputs.fileKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      latestCommentId: $response.body#/comments/0/id
    onSuccess:
    - name: hasComments
      type: goto
      stepId: reactToComment
      criteria:
      - context: $response.body
        condition: $.comments.length > 0
        type: jsonpath
    - name: noComments
      type: end
      criteria:
      - context: $response.body
        condition: $.comments.length == 0
        type: jsonpath
  - stepId: reactToComment
    description: >-
      Post an emoji reaction to the most recent comment on the file.
    operationId: postCommentReaction
    parameters:
    - name: file_key
      in: path
      value: $inputs.fileKey
    - name: comment_id
      in: path
      value: $steps.listComments.outputs.latestCommentId
    requestBody:
      contentType: application/json
      payload:
        emoji: $inputs.emoji
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/status
  - stepId: listReactions
    description: >-
      List the reactions on the comment to confirm the new reaction is present.
    operationId: getCommentReactions
    parameters:
    - name: file_key
      in: path
      value: $inputs.fileKey
    - name: comment_id
      in: path
      value: $steps.listComments.outputs.latestCommentId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      reactions: $response.body#/reactions
  outputs:
    commentId: $steps.listComments.outputs.latestCommentId
    reactions: $steps.listReactions.outputs.reactions

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/figma-react-to-latest-comment-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.