【问题标题】:Zapier CLI, using choices on inputFields does not show it in the form when creating new ZapZapier CLI,在 inputFields 上使用选项在创建新 Zap 时不会在表单中显示
【发布时间】:2019-11-28 08:01:56
【问题描述】:

我正在关注zapier-platform-schema 中的文档以在hook 触发器inputFields 中设置选项,但在创建新 Zap 时它们不会显示在表单中。

我执行以下操作:

{
    key: 'booking',
    noun: 'Booking',
    display: {
        label: 'text',
        description: 'text',
        important: true
    },
    operation: {
        type: 'hook',
        inputFields: [
            {
                key: 'action',
                required: true,
                choices:  {
                    created: 'New booking placed',
                    updated: 'Booking amendment',
                    canceled: 'Booking canceled'
                }
            }
        ],
    }
};

然后我做zapier push。当我在编辑器中创建新 Zap 时,选择集成项目后,我只看到 booking 复选框,而不是选择表单

【问题讨论】:

  • 你的zapier push是否成功完成,推送后是否刷新编辑器?
  • @xavdid 代码没有问题,我以错误的方式测试它。 Zapier 支持帮助了我。

标签: zapier zapier-cli


【解决方案1】:

我的问题已经解决,Zapier 支持帮助了我。代码是正确的,我只是以错误的方式测试它。在选择触发器之后,我在 Zap 创建页面的早期阶段寻找选择下拉菜单。将帐户连接到 Zap 后出现下拉菜单的位置。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-04-18
    • 2019-02-11
    • 1970-01-01
    • 2018-02-26
    • 2018-12-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多