Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/climembranenpm install -g @membranehq/climembrane login --tenantmembrane login complete <code>membrane login --tenantmembrane login complete <code>membrane search esputnik --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane search esputnik --elementType=connector --jsonoutput.items[0].element?.idmembrane connect --connectorId=CONNECTOR_ID --jsonmembrane connection list --jsonconnectionIdmembrane connection list --jsonconnectionIdmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --jsonmembrane action list --intent=QUERY --connectionId=CONNECTION_ID --json| Name | Key | Description |
|---|---|---|
| Get Contacts Activity | get-contacts-activity | Retrieves contact activity data (deliveries, reads, clicks, etc.) for a given period. |
| Get Workflows | get-workflows | Retrieves a list of available workflows (automation sequences). |
| Get Account Info | get-account-info | Retrieves information about the current ESputnik account. |
| Add Orders | add-orders | Transfers order data to ESputnik for e-commerce tracking and automation. |
| Get Segment Contacts | get-segment-contacts | Retrieves all contacts in a specific segment. |
| Get Segments | get-segments | Retrieves a list of available segments (groups). |
| Generate Event | generate-event | Sends a custom event to ESputnik. |
| Send Prepared Message | send-prepared-message | Sends a prepared (template) message to one or more contacts. |
| Get Message Status | get-message-status | Gets the delivery status of sent messages by their IDs. |
| Send SMS | send-sms | Sends an SMS message to one or more contacts. |
| Send Email | send-email | Sends an email message to one or more contacts. |
| Subscribe Contact | subscribe-contact | Subscribes a contact to receive messages. |
| Delete Contact | delete-contact | Deletes a contact by contact ID. |
| Search Contacts | search-contacts | Searches for contacts by various criteria. |
| Get Contact | get-contact | Retrieves contact information by contact ID. |
| Add or Update Contact | add-update-contact | Creates a new contact or updates an existing one in ESputnik. |
| 名称 | 键 | 描述 |
|---|---|---|
| 获取联系人活动 | get-contacts-activity | 检索指定时间段内的联系人活动数据(送达、已读、点击等)。 |
| 获取工作流 | get-workflows | 检索可用工作流(自动化序列)列表。 |
| 获取账户信息 | get-account-info | 检索当前ESputnik账户的相关信息。 |
| 添加订单 | add-orders | 将订单数据同步到ESputnik,用于电商追踪和自动化。 |
| 获取细分人群联系人 | get-segment-contacts | 检索指定细分人群下的所有联系人。 |
| 获取细分人群 | get-segments | 检索可用细分人群(分组)列表。 |
| 生成事件 | generate-event | 向ESputnik发送自定义事件。 |
| 发送预制消息 | send-prepared-message | 向一个或多个联系人发送预制(模板)消息。 |
| 获取消息状态 | get-message-status | 根据消息ID查询已发送消息的送达状态。 |
| 发送短信 | send-sms | 向一个或多个联系人发送短信。 |
| 发送邮件 | send-email | 向一个或多个联系人发送电子邮件。 |
| 订阅联系人 | subscribe-contact | 为联系人订阅消息推送权限。 |
| 删除联系人 | delete-contact | 根据联系人ID删除对应联系人。 |
| 搜索联系人 | search-contacts | 根据多种条件搜索联系人。 |
| 获取联系人 | get-contact | 根据联系人ID检索对应联系人信息。 |
| 新增或更新联系人 | add-update-contact | 在ESputnik中创建新联系人,或更新已有联系人信息。 |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane action run --connectionId=CONNECTION_ID ACTION_ID --jsonmembrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"membrane 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