capabilities.work

Attach Dev Resource to Node

A 3-step recipe with Figma. We can help you get access.

Recipe · 3 steps

Attach Dev Resource to Node

with Figma · Software Design Management

Validate a file node and attach an external dev resource link to it.

  1. Open the file to confirm it is accessible before attaching a dev resource to one of its nodes.
  2. Fetch the target node to confirm it exists in the document before linking a resource to it.
  3. Bulk-create a dev resource that attaches the supplied URL to the target node in the file.
What you'll need to have ready
  • fileKey: The key of the Figma file that contains the target node.
  • nodeId: The ID of the node to attach the dev resource to.
  • resourceName: The display name of the dev resource.
  • resourceUrl: The external URL of the dev resource.
For your developer

Arazzo workflow figma:attach-dev-resource-to-node, 3 operations: getFile → getFileNodes → postDevResources. Specs on APIs.io.