Back to Plugins
Run GitHub Actions workflows

Run GitHub Actions workflows

Run GitHub Actions workflows directly within Figma, using the selected page and nodes as inputs.

automationgithub-actionsgithub-workflowstrigger

Plugin Preview

Run GitHub Actions workflows preview

About this plugin

Run GitHub Actions workflows directly within Figma, using the selected page and nodes as inputs.



Setup for GitHub


Begin by creating a GitHub Actions workflow.


Configure your workflow to run on workflow_dispatch event:

on:
  workflow_dispatch:
    inputs:
      fileKey:
        description: Figma file key
        type: string
        required: true
      page:
        description: Stringified selected page (id, name)
        type: string
        default: '{}'
        required: true
      selection:
        description: Stringified array of the selected nodes (id, name)
        type: string
        default: '[]'
        required: true

As previously mentioned, the plugin triggers the workflow sending the fileKey, the selected page, and the list of selected nodes as selection.


You can then configure the workflow according to your needs. To get started, you can use this example from-figma.yaml.


You can also manipulate the received inputs as needed. Refer to this working example.



Setup for Figma


Setting up in Figma is simple:

  1. Run this plugin.
  2. Enter the fileKey.
  3. Setup a new workflow by clicking the + button (you'll also need a GitHub access token).


Finally, select a page and one or more nodes, and then click . This will run the selected workflow, passing your selection as workflow inputs.



Figma Export PDFs


What do you think about exporting Figma content as PDF document to an FTP Server, just by clicking a button within Figma? Would it be cool, isn't it?


Check out this workflow and discover how it's entirely feasible. Simply clone the workflow and setup this Figma plugin 😉.

Plugin Details

Version2
CreatedApril 15, 2022
Last UpdatedMay 10, 2024
Categorydesign-tools-other
CreatorMarco Montalbano
Stats179 installs, 15 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:build/ui.js
  • main:build/main.js
  • Editor Types:
    figma
  • Allowed Domains:
    • https://api.github.com