ACTION_BASE64
Encode or decode UTF-8 text to and from Base64 within HabitatEngine workflows, returning the result as a variable snapshot for later automation steps.
Instructions
Base64 编码或解码(UTF-8 文本)。输出:base64_result, base64_success。字符串参数支持 ${var} 插值;结果以变量快照 JSON 返回。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | 要编码/解码的文字(支持 ${var}) | |
| action | Yes | encode=编码,decode=解码 | |
| require | No | 执行后要求为 true 的变量名(如 click_success),不满足按出错处理 | |
| on_error | No | 节点出错时:skip=跳过继续(默认),stop=停止整个工作流 | |
| output_var | No | 结果存到的变量名(默认 base64_result) | |
| node_timeout_ms | No | 单节点超时毫秒,0=不限;默认 30 分钟 |