UiPath Documentation
uipath-cli
latest
false
UiPath-CLI-Benutzerhandbuch
Wichtig :
Dieser Inhalt wurde maschinell übersetzt. Es kann 1–2 Wochen dauern, bis die Lokalisierung neu veröffentlichter Inhalte verfügbar ist.

uip is connectors builder

Syntax and options for the Integration Service connector-authoring and lifecycle commands — download, import, publish, and the local `connectors builder` toolchain.

Integration Service connectors can be authored locally and pushed to a tenant. Two command layers cover this:

  • Tenant lifecycleuip is connectors download, import, publish, publish-status. Registered directly under connectors (not under builder), because they talk to a tenant and operate on design/authored connectors rather than the local file tree. Documented on this page.
  • Local authoringuip is connectors builder .... Works entirely on a local connector directory (no tenant call, except builder auth's optional live-test) to scaffold, edit, and validate a connector's files before importing them. Split across five pages by domain — see This resource spans six pages below.

Neither layer touches the read-only catalog covered by uip is connectors (list, get, metadata, swagger, event-operations, audit-logs, export) — that page is about discovering connectors already in the catalog; this one is about authoring a new one or a new version of one you own.

This resource spans six pages

  • This page — concepts, and the tenant-lifecycle verbs: download, import, publish, publish-status.
  • Init & connectorbuilder init (scaffold a new connector), builder connector inspect/validate.
  • Authbuilder auth set/get/system create/list, the connector's authentication scheme.
  • Activitybuilder activity CRUD plus its field, method, and param sub-groups — the largest domain, defining what the connector's activities actually do.
  • Activity hooksbuilder activity hook — JavaScript pre/post-request transforms, split out on its own page for the runtime-context reference it needs.
  • Trigger & statebuilder trigger create, builder state query/patch — event-driven triggers and low-level element-file edits.

Konzepte

  • Connector directory — a local folder containing app/element/element.json (and sibling files for activities, auth, triggers). Almost every command accepts --connector-dir <path> to point at one explicitly. When omitted, resolution walks up from the current directory looking for that file; if none is found, it scans immediate subdirectories for a single connector; if still not found, it falls back to the connector recorded by the last builder init run in this location (.uip-connector.json). If resolution finds more than one candidate, the command fails with Code: "connectorAmbiguous" and lists the candidates — pass --connector-dir explicitly to disambiguate.
  • Design vs. published connector — a connector under active local development is a design connector (key prefixed design-..., private to its author). publish promotes it to a tenant-wide CUSTOM connector visible to everyone. download/import/publish/publish-status all operate on this tenant-side design/published state; the builder verbs below operate purely on local files.
  • Discovery — every builder command group ships a uipath-connector-builder skill (see uip skills) that's auto-surfaced to AI coding agents, plus a --help block on most commands with explicit "USE WHEN" / "NEVER USE FOR" guidance — read a command's own --help output before assuming its scope from the name alone.
  • Typical flow (per the CLI's own builder --help text): builder initbuilder auth setbuilder activity create → optionally builder activity hook create → optionally builder trigger createbuilder connector validateuip is connectors importuip is connectors publish.

Zusammenfassung

uip is connectors download <connector-key> [--connector-dir <path>] [--tenant <name>]
uip is connectors import [--connector-dir <path>] [--tenant <name>]
uip is connectors publish [--connector-dir <path>] [--version <semver>] [--connector-id <id>] [--wait [--timeout-seconds <n>]] [--tenant <name>]
uip is connectors publish-status <publish-id> [--tenant <name>]
uip is connectors download <connector-key> [--connector-dir <path>] [--tenant <name>]
uip is connectors import [--connector-dir <path>] [--tenant <name>]
uip is connectors publish [--connector-dir <path>] [--version <semver>] [--connector-id <id>] [--wait [--timeout-seconds <n>]] [--tenant <name>]
uip is connectors publish-status <publish-id> [--tenant <name>]

--tenant is a normal, visible option on the four lifecycle verbs.

uip is connectors download

Download a design connector's editable source tree by key and unpack it locally for editing.

Hinweis:

Use this to pull a design connector down for local editing, or to bootstrap a working copy of a connector you previously imported/published. To read a connector's record instead, use connectors get. To search by name, use connectors list --filter. To export a published element's package zip, use connectors export — a different operation from this one.

Argumente

NameErforderlichZweck
<connector-key>jaExact design connector key, for example design-myorg-acmewidgets.

Optionen

LongWertBeschreibung
--connector-dir <path>PfadTarget directory for the unpacked source. Defaults to the current directory.
--tenant <name>nameOverride the tenant for the API calls.

Beispiel

uip is connectors download design-myorg-acmewidgets --connector-dir ./pulled
uip is connectors download design-myorg-acmewidgets --connector-dir ./pulled

Datenform (--output json)

{
  "Code": "ConnectorDownloaded",
  "Data": {
    "Id": 123,
    "Key": "design-myorg-acmewidgets",
    "ConnectorRoot": "/work/pulled/periodic-design-myorg-acmewidgets"
  }
}
{
  "Code": "ConnectorDownloaded",
  "Data": {
    "Id": 123,
    "Key": "design-myorg-acmewidgets",
    "ConnectorRoot": "/work/pulled/periodic-design-myorg-acmewidgets"
  }
}

uip is connectors import

Package the local connector into a zip and create or update it on the tenant by key — created the first time, updated on every run after that.

Hinweis:

Use this to publish local connector changes to a tenant, or to create a tenant connector from a local directory for the first time. To download or search tenant connectors instead, use connectors download / connectors list.

Argumente

Keine.

Optionen

LongWertBeschreibung
--connector-dir <path>PfadConnector directory, or any parent of app/element/element.json. Defaults to the current directory.
--tenant <name>nameOverride the tenant for the API calls.

Beispiel

uip is connectors import --connector-dir ./my-acme-connector
uip is connectors import --connector-dir ./my-acme-connector

Datenform (--output json)

{
  "Code": "ConnectorImported",
  "Data": {
    "Id": 123,
    "Key": "design-myorg-acmewidgets",
    "Name": "Acme Widgets",
    "Operation": "Created"
  }
}
{
  "Code": "ConnectorImported",
  "Data": {
    "Id": 123,
    "Key": "design-myorg-acmewidgets",
    "Name": "Acme Widgets",
    "Operation": "Created"
  }
}

Operation is "Created" the first time a given connector key is imported, "Updated" on every subsequent import.

uip is connectors publish

Promote a design connector to a tenant-wide CUSTOM connector. Fire-and-forget by default — returns a PublishId to poll with publish-status; pass --wait to poll internally instead.

Hinweis:

Use this after connectors import succeeds, to make the connector visible to every user in the tenant — or to re-publish a new version of an already-published connector (bump element-metadata.json:latestVersion first). This does not push local file changes to a tenant — that's connectors import. publish only operates on what's already been imported.

Argumente

Keine.

Optionen

LongWertBeschreibung
--connector-dir <path>PfadPath to the connector directory. Same resolution order as Concepts above.
--version <semver>semverOverride the version from element-metadata.json:latestVersion. Rarely needed.
--connector-id <id>IntegerBypass the get-by-key lookup with an explicit numeric ID. Rarely needed.
--waitMarkierenPoll status until SUCCESS/FAILURE/timeout instead of returning immediately.
--timeout-seconds <seconds>IntegerPolling timeout when --wait is set. Default 600 (10 minutes).
--tenant <name>nameUse this tenant's auth instead of the logged-in default.

Both --connector-id and --timeout-seconds are validated client-side as positive integers before any network call.

Beispiele

# Fire-and-forget — returns a PublishId to poll separately (~5-10 min until Studio Web shows it)
uip is connectors publish
# Fire-and-forget — returns a PublishId to poll separately (~5-10 min until Studio Web shows it)
uip is connectors publish
# Block until publish completes (or the 10-minute default timeout)
uip is connectors publish --wait
# Block until publish completes (or the 10-minute default timeout)
uip is connectors publish --wait

Datenform (--output json)

{
  "Code": "ConnectorPublishStarted",
  "Data": {
    "ConnectorKey": "design-acmecorp-stripe",
    "ConnectorId": 42,
    "Version": "1.0.0",
    "PublishId": 99,
    "Status": "IN_PROGRESS",
    "Completed": false
  }
}
{
  "Code": "ConnectorPublishStarted",
  "Data": {
    "ConnectorKey": "design-acmecorp-stripe",
    "ConnectorId": 42,
    "Version": "1.0.0",
    "PublishId": 99,
    "Status": "IN_PROGRESS",
    "Completed": false
  }
}

With --wait, the same Code: "ConnectorPublishStarted" is used, but Data reflects the final polled state (Status: "SUCCESS" or "FAILURE", Completed: true) instead of the initial IN_PROGRESS snapshot.

uip is connectors publish-status

Poll a publish job's status by publish-id. Returns the server's status verbatim.

Argumente

NameErforderlichZweck
<publish-id>jaPublish job ID returned by connectors publish.

Optionen

LongWertBeschreibung
--tenant <name>nameUse this tenant's auth instead of the logged-in default.

Beispiel

uip is connectors publish-status 99
uip is connectors publish-status 99

Datenform (--output json)

{
  "Code": "ConnectorPublishStatus",
  "Data": { "PublishId": "99", "Status": "SUCCESS" }
}
{
  "Code": "ConnectorPublishStatus",
  "Data": { "PublishId": "99", "Status": "SUCCESS" }
}

Status is one of IN_PROGRESS, SUCCESS, or FAILURE, passed through verbatim from the server. A failed publish adds a Message field with the failure detail.

  • Init & connector — scaffold the local connector download/import/publish operate on.
  • Auth — configure the connector's authentication scheme.
  • Activity — define what the connector's activities do.
  • Activity hooks — JavaScript pre/post-request transforms.
  • Trigger & state — event triggers and low-level file edits.
  • uip is connectors — the read-only catalog these commands feed into once published.

Siehe auch

War diese Seite hilfreich?

Verbinden

Benötigen Sie Hilfe? Support

Möchten Sie lernen? UiPath Academy

Haben Sie Fragen? UiPath-Forum

Auf dem neuesten Stand bleiben