商业系统
表单与数据收集
表单定义、受保护的文件上传提交内容,以及自动化联系人获取。
表单用于收集访客信息:联系请求、申请、预约意向及问卷调查。提交内容为数据,而非订单。
核心对象
- 表单 (Forms)。 在后台建立的问题、同意设置、可用时段及确认邮件。
- 提交内容 (Submissions)。 每一位访客的回答与文件,并链接至 Kanorio 建立或更新的联系人。
API 如何运作
- 使用
<kanorio-form>显示表单,或在 Content Delivery API 的表单端点上建立您自己的标记,这些端点可处理机器人防护与文件上传。 - 默认启用内置的 proof-of-work 检查作为机器人防护。网站拥有者可在「网站设置 › 机器人防护」下切换为自己的 Cloudflare Turnstile、Google reCAPTCHA 或 hCaptcha 密钥;
GET /site会返回botProtection的选择,而<kanorio-form>会自动渲染正确的组件。 - 使用 Management API 读取提交内容。
customers.form.submittedWebhook 会将每笔提交内容推送到您的系统。
请参阅 表单 指南。
API 开放的范围
- Forms & lead capture可用
- API
- Management API
forms.list/get,submissions.list/get; DeliveryGET /forms/:id,GET /forms/:id/challenge,POST /forms/:id/upload-request,POST /forms/:id/submit; SDKforms.client({ siteUrl }) - Elements
<KanorioForm />(<kanorio-form>),<KanorioBotProtection />,useKanorioBotProtection()- 托管网站
/marketing/forms,/data/form_submissions; pageformsection- Webhooks
customers.form.submitted
API 参考
Webhook 事件
- customers.form.submitted · Fired when a visitor submits an online form (notifies team and webhooks).
Elements
- <kanorio-form> · Interactive form with client validation, an anti-spam challenge, private file uploads and submission handling.
指南
给网站所有者
如何在后台使用这项产品,请参阅帮助中心。
打开帮助中心