List File Versions

figma.get_file_versions
ActionBusiness appsconnection required

Calls the Figma API with the connection's credentials.

List a file's version history, newest first, with paging cursors.

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

4 fields, 1 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———
page_size
How many versions to return in one page. Figma defaults to 30 and caps the page at 50.
numberNo—1–50—
before
A version id from the history; returns the versions before it.
stringNo———
after
A version id from the history; returns the versions after it.
stringNo———

Output

One shape.

result

FieldTypeExample
versions
The versions in this page.
array—
count
How many versions this page carries.
number—
next_page
URL of the next page, or empty when there is none.
string—
prev_page
URL of the previous page, or empty.
string—
{
  "count": 0,
  "next_page": "",
  "prev_page": "",
  "versions": []
}

See List File Versions 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.