转换为文件(Convert to File)#
使用“转换为文件”节点将输入数据输出为文件。这会将输入的 JSON 数据转换为二进制格式。
🌐 Use the Convert to File node to take input data and output it as a file. This converts the input JSON data into a binary format.
从文件中提取
要从文件中提取数据并将其转换为 JSON,请使用 从文件提取 节点。
操作(Operations)#
节点参数和选项取决于你选择的操作。
🌐 Node parameters and options depend on the operation you select.
转换为 CSV(Convert to CSV)#
使用 将输出文件放入字段 参数配置此操作的节点。在输出数据中输入要包含文件的字段名称。
🌐 Configure the node for this operation with the Put Output File in Field parameter. Enter the name of the field in the output data to contain the file.
转换为 CSV 选项(Convert to CSV options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 如果文件的第一行包含标题名称,请启用标题行选项。
转换为 HTML(Convert to HTML)#
使用 将输出文件放入字段 参数配置此操作的节点。在输出数据中输入要包含文件的字段名称。
🌐 Configure the node for this operation with the Put Output File in Field parameter. Enter the name of the field in the output data to contain the file.
转换为 HTML 选项(Convert to HTML options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 如果文件的第一行包含标题名称,请启用标题行选项。
转换为 ICS(Convert to ICS)#
- 将输出文件放入字段。输入输出数据中用于保存文件的字段名称。
- 活动标题:输入活动的标题。
- 开始:输入活动开始的日期和时间。全天活动无需填写时间。
- 结束:输入事件结束的日期和时间。全天事件将忽略具体时间。如果未设置,节点将使用开始日期。
- 全天:选择事件是否为全天事件(开启)或不是(关闭)。
转换为 ICS 选项(Convert to ICS options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 与会者:使用此选项向活动添加与会者。对于每位与会者,请添加:
- 名称
- 电子邮件
- RSVP:选择与会者是否需要确认出席(开启表示需要,关闭表示不需要)。
- 忙碌状态:使用此选项可为 Microsoft 应用(如 Outlook)设置忙碌状态。可选择以下选项:
- 忙
- 暂定
- 日历名称:对于 Apple 和 Microsoft 日历,请输入活动的 日历名称。
- 描述:请输入活动描述。
- 地理位置:输入事件地点的纬度和经度。
- 地点:输入活动的预定场地/位置。
- 重复规则:输入规则以定义事件的重复模式(RRULE)。使用 iCalendar.org RRULE 工具 生成规则。
- 组织者:输入组织者的名称和电子邮件。
- 序列:如果你正在发送具有相同全局唯一标识符 (UID) 的事件更新,请输入修订序列号。
- 状态:设置事件的状态。可选择:
- 已确认
- 已取消
- 暂定
- UID:输入事件的全局唯一标识符(UID)。UID应当在全球范围内唯一。如果你未输入,系统节点会自动生成一个UID。
- 网址:输入与事件相关的 URL。
- 使用工作流时区:是否使用 UTC 时区(关闭)或工作流的时区(开启)。可在工作流设置中设置工作流的时区。
转换为 JSON(Convert to JSON)#
从以下选项中为你的需求选择最佳输出模式:
🌐 Choose the best output Mode for your needs from these options:
- 将所有项目合并到一个文件:将所有输入项目发送到一个文件中。
- 每个项目单独文件:为每个输入项目创建一个文件。
转换为 JSON 选项(Convert to JSON options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 格式:选择是否将 JSON 格式化以便于阅读(开启)或不格式化(关闭)。
- 编码:选择用于编码数据的字符集。默认值为 utf8。
转换为 ODS(Convert to ODS)#
使用 将输出文件放入字段 参数配置此操作的节点。在输出数据中输入要包含文件的字段名称。
🌐 Configure the node for this operation with the Put Output File in Field parameter. Enter the name of the field in the output data to contain the file.
转换为 ODS 选项(Convert to ODS options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 压缩:选择是否压缩文件以减小输出大小。
- 表头行:如果文件的第一行包含表头名称,请开启此选项。
- 工作表名称:输入要在电子表格中创建的工作表名称。
转换为 RTF(Convert to RTF)#
使用 将输出文件放入字段 参数配置此操作的节点。在输出数据中输入要包含文件的字段名称。
🌐 Configure the node for this operation with the Put Output File in Field parameter. Enter the name of the field in the output data to contain the file.
转换为 RFT 选项(Convert to RFT options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 如果文件的第一行包含标题名称,请启用标题行选项。
转换为文本文件(Convert to Text File)#
输入包含要转换为文件的字符串的 文本输入字段 的名称。对于深层字段,请使用点表示法,例如 level1.level2.currentKey。
🌐 Enter the name of the Text Input Field that contains a string to convert to a file. Use dot-notation for deep fields, for example level1.level2.currentKey.
转换为文本文件选项(Convert to Text File options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 编码:选择用于编码数据的字符集。默认值为 utf8。
转换为 XLS(Convert to XLS)#
使用 将输出文件放入字段 参数配置此操作的节点。在输出数据中输入要包含文件的字段名称。
🌐 Configure the node for this operation with the Put Output File in Field parameter. Enter the name of the field in the output data to contain the file.
转换为 XLS 选项(Convert to XLS options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 表头行:如果文件的第一行包含表头名称,请开启此选项。
- 工作表名称:输入要在电子表格中创建的工作表名称。
转换为 XLSX(Convert to XLSX)#
使用 将输出文件放入字段 参数配置此操作的节点。在输出数据中输入要包含文件的字段名称。
🌐 Configure the node for this operation with the Put Output File in Field parameter. Enter the name of the field in the output data to contain the file.
转换为 XLSX 选项(Convert to XLSX options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- 压缩:选择是否压缩文件以减小输出大小。
- 表头行:如果文件的第一行包含表头名称,请开启此选项。
- 工作表名称:输入要在电子表格中创建的工作表名称。
将 Base64 字符串移动到文件(Move Base64 String to File)#
输入包含要转换为文件的 Base64 字符串的 Base64 输入字段 的名称。对于深层字段,请使用点表示法,例如 level1.level2.currentKey。
🌐 Enter the name of the Base64 Input Field that contains the Base64 string to convert to a file. Use dot-notation for deep fields, for example level1.level2.currentKey.
将 Base64 字符串移动到文件选项(Move Base64 String to File options)#
你也可以使用这些选项来配置此操作:
🌐 You can also configure this operation with these Options:
- 文件名:输入生成的输出文件的文件名。
- MIME 类型:输入输出文件的 MIME 类型。请参考 常见 MIME 类型 获取常见 MIME 类型及其对应文件扩展名的列表。