SuperAPI AI 工具集

power-automate

数据与分析

查看项目

更新于 10-16 06:46

技能介绍

用途:该技能用于连接 Microsoft Power Automate,帮助管理数据、记录并自动化工作流,适合需要与 Power Automate 数据进行交互的场景。

主要能力:通过 Membrane CLI 与 Power Automate 交互,Membrane 自动处理认证与凭据刷新;提供预置动作,支持搜索、运行动作,也可通过代理直接请求 Power Automate API;所有命令可加 --json 获取机器可读输出。

使用方式:先安装 npm install -g @membranehq/cli@latest。认证用 membrane login --tenant --clientName=<agentType>,无头环境会打印授权 URL,完成后执行 membrane login complete <code>。建立连接:membrane connection ensure "https://www.microsoft.com/en-us/power-platform/products/power-automate" --json,用户在浏览器完成认证。若状态为 BUILDING,用 npx @membranehq/cli connection get <id> --wait --json 轮询,直到 READY。随后搜索动作:membrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --json;运行动作:membrane action run <actionId> --connectionId=CONNECTION_ID --json,传参用 --input '{"key": "value"}'。动作不足时可代理请求:membrane request CONNECTION_ID /path/to/endpoint,可配 --method、--header、--data、--json、--query、--pathParam 等选项。

限制与注意:资料未提供收费、价格、具体动作清单、速率限制及支持平台细节,暂未提供。凭据由 Membrane 服务端管理,无需向用户索取 API Key;建议先搜索已有动作再自行调用 API。官方文档见 https://learn.microsoft.com/en-us/power-automate/。