Power Automate:如何使用具有动态信封 ID 的自定义连接器作废 DocuSign 信封?

Power Automate: How can I void the DocuSign envelope using Custom Connectors with a dynamic envelope id?

我想在 Power Automate 中创建自定义连接器以使 DocuSign 信封(合同)无效。

但问题是我不想像 URL 那样传递信封 ID,这个信封 ID 将是 dynamic/parameter。

我知道,我们可以通过这个url

https://{{environment}}.docusign.net/restapi/v2.1/accounts/{{AccountID}}/envelopes/{{envelopeId}}

但这里 envelopeId 将被修复,我想发送为动态或参数化的一个或任何随机的。

请帮助我如何使用不固定的动态信封 ID。

您的问题确实是 Power Automate 问题,所以我添加了 Power-Automate 标签。我只是做了一个快速的 google 搜索,并在 URL 路径中为变量找到了这个 solution for a dynamic URL by using braces。请参阅下面的屏幕截图。

如果这不起作用,并且无法使用动态 URL 路径值作为信封 ID,那么您将需要创建自己的 API 和 API 服务器.

您的服务器会收到信封 ID 作为请求正文中的参数,然后对 DocuSign 进行适当的 API 调用。

DocuSign 在 URL 路径中使用变量是标准的 REST。因此,如果 Power Automate 仍然不支持这种 API 模式,我会感到非常惊讶。 (但您可能需要更新到最新的 Power Automate 版本。)