Figma Node

Overview

The Figma Loader Node allows you to extract content and metadata from Figma components (nodes). It enables access to specific elements within Figma designs through node IDs, making it useful for incorporating design content and specifications into your flow.

Usage cost: 1 credit

Configuration

Settings

  1. Authentication

    • Figma Tool*: Select a configured Figma integration

      • Must be set up in Knowledge & Tools section

      • Contains API access token

  2. File Configuration

    • File Key*: Unique identifier of the Figma file

      • Found in Figma file URL: figma.com/file/{file_key}/filename

    • Node IDs*: Specific elements to extract

      • Comma-separated without spaces

      • Can specify multiple elements

Output Ports

  1. documents (List[Document]):

    • List of Document objects containing Figma elements

    • Includes content and metadata

    • Element properties and specifications

  2. documents_content (List[string]):

    • Extracted text content from elements

    • Raw content without metadata

Best Practices

  1. File Access

    • Ensure file sharing permissions are correct

    • Use appropriate view access levels

  2. Performance

    • Limit number of nodes per request

Common Issues

  • Authentication token expiration

  • Invalid file keys

  • Incorrect node IDs

  • File access permission errors

Last updated