【问题标题】:How to return friendly field names for zapier trigger (zapier developers)如何为 zapier 触发器返回友好的字段名称(zapier 开发人员)
【发布时间】:2022-08-02 19:15:42
【问题描述】:

我正在为在线表单生成器进行 Zapier 集成。我们用户的每个独特表单都有很多长的、自动生成的字段名称。

我们有一个名为“新表单条目”的触发器,它会轮询我们的服务器以获取表单条目,然后返回如下:

[
    {
        \"id\": \"6209aee326baa600224d822c\",
        \"email_907058157108782\": \"test@test.com\",
        \"phone_589083232390193\": \"12345\",
    },
    {
        \"id\": \"61fd629f19408200225e1893\",
        \"email_907058157108782\": \"test@test2.com\",
        \"phone_589083232390193\": \"54321\",
    },
]

但是,这会导致最终用户在 Zapier 界面中看到这些非常长的粗略字段名称:

我的问题:如何让 Zapier 向用户显示友好的标签,同时在幕后使用唯一的字段 ID?

我正在考虑返回如下内容(每个对象代表一个表单条目,但我需要知道如何在 Zapier 中实际使用“friendlyFieldName”和“value”!-

[
    {
        // the id for the entry
        \"id\": \"62179ec5ab9daa0022df7d1d\",
        // the id for the first field entry
        \"text_576692390099896\": {
            // a friendly name and value for zapier
            \"friendlyFieldName\": \"What is your favourite colour?\",
            \"value\": \"Blue\"
        }
    }
]

谢谢 :)

    标签: zapier


    【解决方案1】:

    您可以在outputFields 中定义输出字段标签。以下是您可以关注的参考文档:Output Fields

    【讨论】:

      猜你喜欢
      • 2017-11-30
      • 2020-11-22
      • 2016-07-22
      • 2017-10-23
      • 2020-12-18
      • 2019-03-27
      • 2018-02-10
      • 2018-09-29
      • 2019-01-09
      相关资源
      最近更新 更多