【问题标题】:Add tag to lead in Intercom with Zapier使用 Zapier 将标签添加到对讲机中
【发布时间】:2017-10-08 09:49:16
【问题描述】:

我在通过 Zapier 在对讲机中标记潜在客户时遇到问题。 Zapier 提供“标记用户”操作,但没有提供线索。由于 Intercom 要求根据 ID(而不是通过电子邮件)对潜在客户进行标记,因此无法使用现有的 Zapier 操作。

【问题讨论】:

    标签: zapier intercom


    【解决方案1】:

    这是我的解决方案:

    fetch('https://api.intercom.io/tags', {
      method: 'POST',
      headers: {
        'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
        'Accept': 'application/json',
        'Content-Type': 'application/json'
      },
      body: JSON.stringify({
        name: 'YOUR TAG NAME',
        user: [{ id: input.leadId }]
      })
    })
    .then(function(res) {
      callback(null, JSON.parse(res.text()));
    })
    .catch(callback);
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-04-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-03-08
      • 2011-05-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多