Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/cli@latestmembranenpm install -g @membranehq/cli@latestmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane connection ensuremembrane connection ensure "https://enerflo.com/" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://enerflo.com/" --jsonREADYBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutstateBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrorBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrormembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchemamembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchema| Name | Key | Description |
|---|---|---|
| List Customers | list-customers | Retrieve a paginated list of all customers in Enerflo |
| List Deals | list-deals | Retrieve a list of all deals/surveys in Enerflo |
| List Installs | list-installs | Retrieve a list of all installation projects |
| List Tasks | list-tasks | Retrieve a list of tasks for the company |
| List Appointments | list-appointments | Retrieve all appointments for a customer |
| List Users | list-users | Retrieve a list of all users in the company |
| Get Customer | get-customer | Retrieve details of a specific customer by their Enerflo Customer ID |
| Get Deal | get-deal | Retrieve details of a specific deal/survey by ID |
| Get Install | get-install | Retrieve details of a specific installation project including company details, customer info, milestones, and files |
| Get User | get-user | Retrieve details of a specific user by ID |
| Get Company | get-company | Retrieve details about your company |
| Create Customer Note | create-customer-note | Create a new note associated with a customer |
| Create Appointment | create-appointment | Create a new appointment for a customer |
| Create Task | create-task | Create a new task associated with a customer |
| Add Lead | add-lead | Add a new customer/lead to Enerflo via the Lead Gen API |
| Update Customer | update-customer | Update the details of an existing customer |
| Update Task | update-task | Update an existing task |
| Update Install Status | update-install-status | Update the status and details of an installation project |
| List Products | list-products | Retrieve all available products |
| List Customer Notes | list-customer-notes | Retrieve all notes associated with a customer |
| 名称 | 标识 | 描述 |
|---|---|---|
| List Customers | list-customers | 获取Enerflo中所有客户的分页列表 |
| List Deals | list-deals | 获取Enerflo中所有交易/调查的列表 |
| List Installs | list-installs | 获取所有安装项目的列表 |
| List Tasks | list-tasks | 获取公司的所有任务列表 |
| List Appointments | list-appointments | 获取某客户的所有预约列表 |
| List Users | list-users | 获取公司所有用户的列表 |
| Get Customer | get-customer | 通过Enerflo客户ID获取特定客户的详细信息 |
| Get Deal | get-deal | 通过ID获取特定交易/调查的详细信息 |
| Get Install | get-install | 获取特定安装项目的详细信息,包括公司详情、客户信息、里程碑和文件 |
| Get User | get-user | 通过ID获取特定用户的详细信息 |
| Get Company | get-company | 获取你的公司详情 |
| Create Customer Note | create-customer-note | 创建与某客户关联的新备注 |
| Create Appointment | create-appointment | 为某客户创建新预约 |
| Create Task | create-task | 创建与某客户关联的新任务 |
| Add Lead | add-lead | 通过销售线索生成API向Enerflo添加新客户/销售线索 |
| Update Customer | update-customer | 更新现有客户的详细信息 |
| Update Task | update-task | 更新现有任务 |
| Update Install Status | update-install-status | 更新安装项目的状态和详情 |
| List Products | list-products | 获取所有可用产品的列表 |
| List Customer Notes | list-customer-notes | 获取与某客户关联的所有备注 |
membrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE)。默认值为GET |
| 添加请求头(可重复添加),例如 |
| 请求体(字符串) |
| 简写方式,用于发送JSON请求体并设置 |
| 按原样发送请求体,不进行任何处理 |
| 查询字符串参数(可重复添加),例如 |
| 路径参数(可重复添加),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY