360 Secure SkillHub
360 安全技能中心

Appian Deploy

该 Skill 提供 Node 脚本,把本地 Appian 包 ZIP 上传到配置好的 Appian 环境,调用部署管理 API 触发导入,轮询直到终态后打印部署对象摘要。凭据从环境变量读取,未注入时回退到当前工作目录的 appian.json。

分类:开发
solarspiker
solarspiker
热度 31.87
最近更新 2026-05-11 17:42:32

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add solarspiker/appian-deploy
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
appian-deploy
description
Deploy (import) an Appian package ZIP into an Appian environment. Use when the user wants to push, import, or deploy a package file to an Appian environment.
metadata
{"clawdbot":{"emoji":"🚀","requires":{"env":["APPIAN_BASE_URL","APPIAN_API_KEY"]},"primaryEnv":"APPIAN_BASE_URL"}}

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 import
  • GET ${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 a appian.json file 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.