Figma

Figma

Design workflow automation with Figma

With emma's Figma integration, you can access files, export images, manage comments, and retrieve component information. Streamline your design workflow with powerful automation.

Features

Figma_Operator supports the following 11 tools:

CategoryTools
Files5
Tool NameDescription
figma_get_fileGet file structure and metadata
figma_get_file_nodesGet details of specific nodes in a file
figma_export_imagesExport nodes as images
figma_get_file_versionsGet file version history
figma_get_project_filesGet files in a project
Comments2
Tool NameDescription
figma_get_commentsGet comments on a file
figma_post_commentPost a comment on a file
Components2
Tool NameDescription
figma_get_component_setsGet component sets in a file
figma_get_stylesGet styles in a file
Other2
Tool NameDescription
figma_get_meGet authenticated user info
figma_get_team_projectsGet team projects

Main Parameters

ParameterDescription
file_keyFigma file key
node_idsNode IDs to target
formatExport format (png, jpg, svg, pdf)
team_idTeam ID

Prerequisites

  • emma account
  • Figma account
  • Figma access token

Setup

1. Install the package

npm install @duzzle/figma-integration

2. Initialize

import { DuzzleFigma } from '@duzzle/figma-integration';

const figma = new DuzzleFigma({
  apiKey: process.env.DUZZLE_API_KEY,
  figmaToken: process.env.FIGMA_ACCESS_TOKEN
});

3. Get File

// Get file structure and metadata
const file = await figma.getFile({
  file_key: 'abc123xyz'
});

console.log('File name:', file.name);
console.log('Components:', file.components);

© 2026 Duzzle Inc. All rights reserved.