UiPath Documentation
uipath-cli
latest
false
UiPath CLI 用户指南
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

uip is webhooks

Syntax and options for `uip is webhooks`, which retrieves the webhook URL for a connector trigger that uses webhook event mode.

uip is webhooks manages webhook configuration for connector triggers that fire via a registered webhook URL instead of polling. Not every trigger uses webhook event mode — check eventMode on uip is triggers describe first; this command is only useful when eventMode is webhooks.

大纲

uip is webhooks config <connector-key> --connection-id <id> --element-instance-id <id> [options]
uip is webhooks config <connector-key> --connection-id <id> --element-instance-id <id> [options]

动词

动词用途
configGet the webhook URL for a connector trigger, for one connection and element instance.

uip is webhooks config

Get the webhook URL to register with the external service so a webhook-mode trigger can fire.

参数

名称必填用途
<connector-key>连接器键,例如uipath-salesforce-slack

选项

默认描述
--connection-ididRequired. Connection UUID. Find it with uip is connections list.
--element-instance-ididRequired. Numeric element instance ID. Find it in the ElementInstanceId field from uip is connections list --output json.

示例

uip is webhooks config uipath-salesforce-slack \
    --connection-id "28e2de45-24d9-4365-9a66-ae122055b634" \
    --element-instance-id 333846
uip is webhooks config uipath-salesforce-slack \
    --connection-id "28e2de45-24d9-4365-9a66-ae122055b634" \
    --element-instance-id 333846

数据形状(--输出 json)

{
  "Code": "WebhookConfig",
  "Data": {
    "WebhookUrl": "https://cloud.uipath.com/elements_/scaleunit_/.../v1/webhooks/connectors/uipath-salesforce-slack/events/TM3APD0SH",
    "ConnectorKey": "uipath-salesforce-slack",
    "ConnectionId": "28e2de45-24d9-4365-9a66-ae122055b634",
    "ElementInstanceId": 333846
  }
}
{
  "Code": "WebhookConfig",
  "Data": {
    "WebhookUrl": "https://cloud.uipath.com/elements_/scaleunit_/.../v1/webhooks/connectors/uipath-salesforce-slack/events/TM3APD0SH",
    "ConnectorKey": "uipath-salesforce-slack",
    "ConnectionId": "28e2de45-24d9-4365-9a66-ae122055b634",
    "ElementInstanceId": 333846
  }
}

The response also carries a Hint reminding you that the trigger will not fire until WebhookUrl is registered in the external service's own app settings — this command only reads the URL, it does not register it anywhere.

Failure behavior

  • --element-instance-id that doesn't parse as a number: Failure, checked client-side before any network call, with Instructions pointing at the ElementInstanceId field on connections list.
  • uip is triggersdescribe's eventMode tells you whether a trigger needs a webhook at all.
  • uip is connections — source of --connection-id and --element-instance-id.

另请参阅

  • 大纲
  • 动词
  • uip is webhooks config
  • 参数
  • 选项
  • 示例
  • 数据形状(--输出 json)
  • Failure behavior
  • 相关内容
  • 另请参阅

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新