DOCUMENT OPS

On-demand export of a single Figma node to R2 via webhook with returned URL

Accepts a webhook carrying a Figma file and node id, exports just that node at a requested scale, uploads it to R2, logs the version in Coda.

CategoryDocument Ops
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerInbound webhook with file key, node id, scaleHTTP webhook
  • LogicValidate request parameters
  • ActionExport single Figma node at requested scaleFigmaFigma
  • ActionUpload asset to R2 with content-hashed keyCloudflareCloudflare R2
  • ActionAppend version row to Coda manifestCodaCoda
  • OutputReturn CDN URL in webhook responseHTTP webhook

What it does

Gives developers and tools a one-call way to pull a specific Figma node onto the CDN. A webhook supplies the file key, node id, and scale; the flow exports that single asset, uploads it to R2, records the version in Coda, and returns the live URL synchronously so the caller can use it immediately.

When to use it

Use it when a build script, CMS, or internal tool needs a particular Figma asset on demand rather than waiting for a full publish cycle — for example, fetching a hero illustration at a custom scale during a page build.

How it works

  1. 1An inbound webhook arrives with the file key, node id, and requested scale.
  2. 2A logic step validates the parameters and rejects malformed requests.
  3. 3The flow exports that single node as an image at the requested scale.
  4. 4The asset is uploaded to R2 under a content-hashed key.
  5. 5A version row is appended to the Coda manifest.
  6. 6The flow responds with the CDN URL and version id for the caller to consume.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect FigmaFiles, frames, comments, assets.
  3. 3
    Connect Cloudflare R2Object storage, S3-compatible.
  4. 4
    Connect CodaDocs, packs, automations.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.