Get File Nodes

figma.get_file_nodes
ActionBusiness appsconnection required

Calls the Figma API with the connection's credentials.

Fetch only the named nodes of a file, and report which of the requested ids Figma could not find.

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

5 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———
ids
Comma-separated node ids to retrieve, e.g. 1:2,1:3.
stringYes———
version
A version id from the file's history; omit for the current version.
stringNo———
depth
How deep to walk below each requested node; omit for the whole subtree.
numberNo—≥ 1—
include_vector_paths
Export vector geometry as paths for the returned nodes.
booleanNofalse——

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "include_vector_paths": false
}

Output

One shape.

result

FieldTypeExample
name
The file name as it appears in the editor.
string—
lastModified
UTC ISO 8601 time the file was last modified.
string—
version
The file's version number.
string—
thumbnailUrl
A URL to a thumbnail image of the file.
string—
nodes
A map from node id to that node's document and styles.
object—
found_node_ids
The requested ids Figma resolved to a node.
array—
missing_node_ids
The requested ids Figma returned null for — they do not exist in this file or version.
array—
{
  "found_node_ids": [],
  "lastModified": "",
  "missing_node_ids": [],
  "name": "",
  "nodes": {},
  "thumbnailUrl": "",
  "version": ""
}

See Get File Nodes 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.