Small Node.js CLI that:
- Reads your Membrane workspace key and secret from
.env - Generates JWT bearer tokens for regular requests and admin action creation
- Lists your integrations that are linked to an external app
- Lets you choose one integration by number
- Fetches the integration's latest published public actions via the base package
- Lets you choose which ones to clone
- Creates the chosen actions in your workspace as tracked clones
npm install
copy .env.example .envFill in .env with your workspace credentials.
npm start- Public actions are read from the external app's latest published package (
/external-apps/<id>->basePackageId->/packages/<id>?version=latest). - By default,
keyis omitted on create and Membrane auto-derives one. SetSNAKE_CASE_KEYS=truein.envto have the script derive snake-cased keys from the action name (e.g."Create Issue"->create_issue). - Clones carry metadata —
meta.source = "public"andmeta.publicId(the source action snapshot id) — available to downstream tooling if needed. - Action creation uses a workspace admin token with
isAdmin: true, matching Membrane's permission requirement for modifying actions. - Cloned actions are independent copies and will not receive automatic updates when the source public action is republished.