限制 Discourse-Zapier 仅在首帖运行的方法

要在 Zapier 上访问 Webhook 标头,我认为您需要为 Zapier 上的 Webhook 使用“捕获原始钩子(Catch Raw Hook)”选项。本主题提供了一个针对用户事件 Webhook 的操作示例:https://meta.discourse.org/t/create-a-salesforce-lead-via-zapier-when-a-user-signs-up-on-discourse/109301。设置一个 Zap 来监听帖子事件 Webhook,并过滤掉所有 X-Discourse-Event 设置为 post_edited 的请求,其操作方式将非常相似。