【发布时间】: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