开始使用 Microsoft Flow 进行生成Start to build with Microsoft Flow

可通过以下方法使用 Microsoft Flow 扩展应用程序:Here are some of the ways you can extend your application with Microsoft Flow:

  • 创建自定义连接器并进行连接。Create and connect to a custom connector.
  • 与所有 Microsoft Flow 用户共享自定义连接器。Share your custom connector with all Microsoft Flow users.
  • 在应用内嵌入流体验。Embed the flow experience within an app.
  • 突出显示所有自定义连接器,使用户能够以最适合自己的方式与 Microsoft Flow 交互。Highlight all custom connectors so that users can interact with Microsoft Flow in the best way for them.

先决条件Prerequisites

创建自定义连接器Create a custom connector

如果希望通过 Microsoft Flow 连接到 Web 服务,首先需创建自定义连接器。If you have a web service to which you want to connect from Microsoft Flow, you'll first need to create a custom connector. 注册自定义连接器时,需将 Web 服务的特征告知 Microsoft Flow,这些特征包括:所需身份验证、所支持的触发器和操作,以及每项此类操作的参数和输出。When you register a custom connector, you teach Microsoft Flow about the characteristics of your web service, including the authentication it requires, the triggers and actions that it supports, and the parameters and outputs for each of those actions.

遵循此教程的说明,了解如何注册和使用自定义连接器Follow this tutorial to learn how to Register and use custom connectors. 注册自定义连接器后,可在组织内共享该连接器进行测试。After you register your custom connector, you can share it within your organization for testing.

与所有 Microsoft Flow 用户共享自定义连接器Share a custom connector with all Microsoft Flow users

完全测试自定义连接器后,启动审核进程,获得 Microsoft 审批,从而与所有其他 Microsoft Flow 用户共享。After you fully test your custom connector, start the review process to have it approved by Microsoft for sharing with all other Microsoft Flow users.

审核进程需要以下内容:Here's what you'll need for the review process:

  • 一个 OpenAPI 文件,代表 API 以及任何身份验证信息。An OpenAPI file that represents your API and any authentication information.
  • 连接器图标。An icon for your connector.
  • 连接器说明。A description of your connector.
  • 大约 10 项建议,说明其他用户如何通过模板从连接器中受益。Approximately 10 ideas for how your connector could benefit other users through templates.

提交此信息后,Microsoft 就会开始在 Microsoft Flow 和 Microsoft PowerApps 中评估用户 API 的功能。After you submit this information, Microsoft starts assessing your API's functionality in Microsoft Flow and Microsoft PowerApps.

在网站或应用中嵌入流体验Embed the flow experience into your website or app

在应用内嵌入 Microsoft Flow,以便在应用和 Microsoft Flow 支持的所有其他服务之间进行深入的上下文集成。You can embed Microsoft Flow into your app to enable deep, in-context integration between your app and all other services that Microsoft Flow supports. 例如,可以执行以下操作:For example, you can:

  • 浏览与服务相关的所有模板,让用户选择一个模板。Browse all templates that relate to your service and let users select a template.
  • 管理用户拥有的与应用相关的流。Manage the flows that users have related to your app.

后续步骤Next steps

了解如何在应用内嵌入 Microsoft Flow。Learn how to embed Microsoft Flow into your app.