Figma

Productivity Personal access token

Read Figma files, components, comments and versions from any Windmill script, flow or app.

Set up in 3 steps

1

Create a personal access token

In Figma, open Settings then Security, and generate a personal access token. Tick the scopes your scripts need and copy it — it is shown only once.

2

Add the resource in Windmill

Open Resources, add a resource of type figma, and paste the token.

3

Run your first script

Fork any script below and read before writing anything.

Scripts

Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.

Resource type

figma — the shape of the credential every script on this page expects.

View raw schema →
FieldTypeRequiredWhat it is
tokenstringYesFollow the OAuth flow described at https://www.figma.com/developers/api#authentication

Questions

Where do I find a file key?

It is the segment in the file's URL after /file/ or /design/, before the file name.

Can it edit a file?

Not through this API. Figma's REST API reads files and writes comments; changing the canvas is a plugin's job.

Is my token stored on the hub?

Never. It lives only in your own Windmill workspace, encrypted at rest.