| name | figma-deploy-integration |
| description | Deploy Figma-powered applications to Vercel, Cloud Run, and Fly.io.
Use when deploying webhook receivers, design token APIs,
or Figma-connected web apps to production platforms.
Trigger with phrases like "deploy figma", "figma Vercel",
"figma production deploy", "figma Cloud Run".
|
| allowed-tools | Read, Write, Edit, Bash(vercel:*), Bash(fly:*), Bash(gcloud:*) |
| version | 1.6.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","figma"] |
| compatibility | Designed for Claude Code |
Figma Deploy Integration
Overview
Deploy Figma webhook receivers and design API services to production platforms with proper secret management and health checks.
Prerequisites
- Figma PAT for production environment
- Platform CLI installed (vercel, fly, or gcloud)
- Application tested locally with Figma API
Instructions
Step 1: Vercel Deployment (Webhook Receiver)
vercel env add FIGMA_PAT production
vercel env add FIGMA_WEBHOOK_PASSCODE production
vercel --prod
import { NextRequest, NextResponse } from 'next/server';
import crypto from 'crypto';
export async function POST(req: NextRequest) {
const payload = await req.json();
const expected = process.env.FIGMA_WEBHOOK_PASSCODE!;
const received = payload.passcode || '';
const a = Buffer.from(received);
const b = Buffer.from(expected);
if (a.length !== b. || !crypto.(a, b)) {
.({ : }, { : });
}
(payload.) {
:
.();
;
:
.();
;
:
.();
;
}
.({ : });
}
config = { : };