Appian Deploy
Imports a package ZIP into the Appian environment using the v2 Deployment Management API. Polls until a terminal status and prints a full object summary.
Usage
node {baseDir}/scripts/index.js <zipPath> <deploymentName> [description] [customizationFilePath]
Example
node {baseDir}/scripts/index.js "./appian-exports/MyPackage.zip" "Prod Release 1.2"
Exported packages are saved to ./appian-exports/ by appian-export.
Run appian-inspectpkg first to validate before deploying. If the environment requires approval, the deployment will return PENDING_REVIEW — check Appian Designer's Deploy view to approve.
External endpoints
POST ${APPIAN_BASE_URL}/deployments— triggers the importGET ${APPIAN_BASE_URL}/deployments/{uuid}— polls for completion
Security
- Credentials (
APPIAN_BASE_URL,APPIAN_API_KEY) are read from environment variables (injected by OpenClaw at runtime). If not injected, the script falls back to aappian.jsonfile in the current working directory. - The package ZIP is uploaded only to your configured Appian environment.
- No data is sent to any third-party service.
- No shell commands are executed; all operations use Node.js built-in APIs.