Actions9
- Export Actions
- Project Actions
- Workspace Actions
Export → Create Manufacture Package
AI-generatedSummary
Creates a manufacture package for a selected project and returns job status or immediate job ID.
Inputs
- projectId (required) — Select a project from the list or enter its grid ID.
- packageName (required) — The name for the manufacture package.
- shareWithEmails (required) — Comma-separated email addresses of manufacturers to share with.
- packageDescription — Optional description for the package.
- callbackUrl — Optional webhook URL. When provided, Nexar will POST the result here when the package is ready and the node returns immediately with the job ID instead of waiting.
- variantName — Select a design variant, or leave empty for the default.
- revisionId — Select a specific commit, or leave empty for the latest.
- timeout — Maximum time to wait for the job to complete (default 5 minutes).
- pollInterval — How often to check the job status.
Output shape
object with fields projectId (string), packageName (string), jobId (string), status (string), downloadUrl (string|null), callbackUrl (string|null)
If a callbackUrl is supplied the node returns immediately with a jobId; otherwise it polls until the package is ready, then returns a downloadUrl.
Examples
Example 1: Create a manufacture package and receive an immediate job ID
projectId selected from list packageName MyPackage shareWithEmails designer@example.com variantName default revisionId latest timeout 300 pollInterval 5 callbackUrl https://mywebhook.com/trigger
Example 2: Create a package and wait for completion to get a download URL
projectId selected from list packageName MyPackage shareWithEmails designer@example.com variantName VariantA revisionId abc123 timeout 300 pollInterval 5 callbackUrl
Example 3: Create a package with custom variant and revision
projectId selected from list packageName MyPackage shareWithEmails designer@example.com variantName MyVariant revisionId revHash timeout 600 pollInterval 10 callbackUrl https://mywebhook.com/trigger