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://dripcel.com/" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://dripcel.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 Contacts | search-contacts | Run a search query on your contacts using MongoDB-style filters. |
| Get Contact | get-contact | Get a single contact by their cell number (MSISDN). |
| List Campaigns | list-campaigns | View a list of all your campaigns. |
| List Email Templates | list-email-templates | Fetch all email templates. |
| List Tags | list-tags | View a list of all your tags. |
| Get Tag | get-tag | View a single tag by its ID. |
| Get Campaign | get-campaign | View a single campaign by its ID. |
| Upsert Contacts | upsert-contacts | Create or update contacts in Dripcel (up to 20,000 per request). |
| Upload Contacts | upload-contacts | Upload a list of new contacts to Dripcel. |
| Send Bulk Email | send-bulk-email | Send a bulk email to multiple recipients using an email template. |
| Send SMS | send-sms | Send a single SMS to a contact. |
| Bulk Update Contacts | bulk-update-contacts | Run a bulk update on contacts matching a filter. |
| Delete Contact | delete-contact | Delete a single contact by their cell number. |
| Delete Tag | delete-tag | Delete a single tag. |
| Add Tags to Contact | add-tags-to-contact | Add tags to a contact by their cell number. |
| Remove Tags from Contact | remove-tags-from-contact | Remove tags from a contact by their cell number. |
| List Deliveries | list-deliveries | View delivery records for a contact or a specific send. |
| Search Replies | search-replies | Search for SMS replies using various filters. |
| Opt Out Contact | opt-out-contact | Opt out a contact from specific campaigns or all campaigns. |
| Get Credit Balance | get-credit-balance | Returns the organization's credit balance as a number. |
| 名称 | 标识 | 描述 |
|---|---|---|
| 列出联系人 | search-contacts | 使用MongoDB风格的过滤器对联系人进行搜索查询。 |
| 获取联系人 | get-contact | 通过手机号码(MSISDN)获取单个联系人信息。 |
| 列出营销活动 | list-campaigns | 查看所有营销活动列表。 |
| 列出邮件模板 | list-email-templates | 获取所有邮件模板。 |
| 列出标签 | list-tags | 查看所有标签列表。 |
| 获取标签 | get-tag | 通过ID查看单个标签信息。 |
| 获取营销活动 | get-campaign | 通过ID查看单个营销活动信息。 |
| 插入或更新联系人 | upsert-contacts | 在Dripcel中创建或更新联系人(每次请求最多支持20000个)。 |
| 上传联系人 | upload-contacts | 向Dripcel上传新联系人列表。 |
| 发送批量邮件 | send-bulk-email | 使用邮件模板向多个收件人发送批量邮件。 |
| 发送短信 | send-sms | 向单个联系人发送短信。 |
| 批量更新联系人 | bulk-update-contacts | 对符合过滤器条件的联系人执行批量更新。 |
| 删除联系人 | delete-contact | 通过手机号码删除单个联系人。 |
| 删除标签 | delete-tag | 删除单个标签。 |
| 为联系人添加标签 | add-tags-to-contact | 通过手机号码为联系人添加标签。 |
| 移除联系人标签 | remove-tags-from-contact | 通过手机号码移除联系人的标签。 |
| 列出投递记录 | list-deliveries | 查看联系人或特定发送任务的投递记录。 |
| 搜索回复 | search-replies | 使用各种过滤器搜索短信回复。 |
| 取消联系人订阅 | opt-out-contact | 取消联系人对特定营销活动或所有营销活动的订阅。 |
| 获取信用余额 | get-credit-balance | 返回组织的信用余额数值。 |
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