自定义Integromat应用程序中文件的界面

问题描述

如果一个模块应该输出带有二进制数据的文件,它的接口应该是什么样的,以便该文件可以在场景中的其他模块中正确映射?

解决方法

该界面应包含数据和文件名。

[
  {
        "name": "data","type": "buffer","label": "Data","semantic": "file:data"
    },{
        "name": "fileName","label": "File Name","type": "text","semantic": "file:name"
    },]

您可以看一下Dropbox示例:https://docs.python.org/3/library/argparse.html#allow-abbrev