跳转至

Pipedrive 凭证#

您可以使用这些凭证来验证以下节点:

支持的身份验证方法#

  • API 令牌
  • OAuth2

相关资源#

有关该服务的更多信息,请参考 Pipedrive 的开发者文档

使用 API 令牌#

要配置此凭证,您需要一个 Pipedrive 账户以及:

  • API 令牌

获取您的 API 令牌:

  1. 打开您的 API Personal Preferences
  2. 复制 Your personal API token 并将其输入到您的 n8n 凭证中。

如果您有多个公司,需要先选择正确的公司:

  1. 选择您的账户名称,确保您正在查看正确的公司。
  2. 然后选择 Company Settings
  3. 选择 Personal Preferences
  4. 选择 API 标签页。
  5. 复制 Your personal API token 并将其输入到您的 n8n 凭证中。

有关更多信息,请参考 如何找到 API 令牌

使用 OAuth2#

要配置此凭证,您需要一个 Pipedrive 开发者沙盒账户以及:

  • 客户端 ID
  • 客户端密钥

要获取这两者,您需要注册一个新应用:

  1. 在右上角选择您的个人资料名称。
  2. 找到您的沙盒账户的公司名称并选择 Developer Hub

    没有 Developer Hub

    如果您在账户下拉菜单中没有看到 Developer Hub,请注册一个 开发者沙盒账户

  3. 选择 Create an app

  4. 选择 Create public app。应用的 Basic info 标签页打开。
  5. 为您的应用输入 App name,如 n8n integration
  6. 从 n8n 复制 OAuth Redirect URL 并将其添加为应用的 Callback URL
  7. 选择 Save。应用的 OAuth & access scopes 标签页打开。
  8. 为您的应用开启适当的 Scopes。有关更多指导,请参考下面的 Pipedrive 节点作用域Pipedrive Trigger 节点作用域
  9. 复制 Client ID 并将其输入到您的 n8n 凭证中。
  10. 复制 Client Secret 并将其输入到您的 n8n 凭证中。

有关更多信息,请参考 注册公共应用

Pipedrive 节点作用域#

您为应用添加的作用域取决于您要在 n8n 中使用的节点以及要完成的操作。

Pipedrive 节点可能需要的作用域:

Object Node action UI scope Actual scope
Activity Get data of an activity
Get data of all activities
Activities: Read only or
Activities: Full Access
activities:read or
activities:full
Activity Create
Delete
Update
Activities: Full Access activities:full
Deal Get data of a deal
Get data of all deals
Search a deal
Deals: Read only or
Deals: Full Access
deals:read or
deals:full
Deal Create
Delete
Duplicate
Update
Deals: Full Access deals:full
Deal Activity Get all activities of a deal Activities: Read only or
Activities: Full Access
activities:read or
activities:full
Deal Product Get all products in a deal Products: Read Only or
Products: Full Access
products:read or
products:full
File Download
Get data of a file
Refer to note below Refer to note below
File Create
Delete
Refer to note below Refer to note below
Lead Get data of a lead
Get data of all leads
Leads: Read only or
Leads: Full access
leads:read or
leads:full
Lead Create
Delete
Update
Leads: Full access leads:full
Note Get data of a note
Get data of all notes
Refer to note below Refer to note below
Note Create
Delete
Update
Refer to note below Refer to note below
Organization Get data of an organization
Get data of all organizations
Search
Contacts: Read Only or
Contacts: Full Access
contacts:read or
contacts:full
Organization Create
Delete
Update
Contacts: Full Access contacts:full
Person Get data of a person
Get data of all persons
Search
Contacts: Read Only or
Contacts: Full Access
contacts:read or
contacts:full
Person Create
Delete
Update
Contacts: Full Access contacts:full
Product Get data of all products Products: Read Only products:read

文件和备注

文件和备注的作用域取决于它们所关联的对象:

  • 文件关联到 Deals、Activities 或 Contacts。
  • 备注关联到 Deals 或 Contacts。

请参考这些对象的作用域。

Pipedrive 节点还支持自定义 API 调用。为您打算进行的任何自定义 API 调用添加相关作用域。

有关更多信息,请参考 作用域和权限说明

Pipedrive Trigger 节点作用域#

Pipedrive Trigger 节点需要 Webhooks: Full access (webhooks:full) 作用域。

此页面是否
💬 微信

🚀 与作者交流

关注公众号
n8n实战笔记公众号
n8n实战笔记
📚 教程 💡 案例 🔧 技巧
添加微信
添加作者微信
1对1 专业指导
⚡ 快答 🎯 定制 🚀 支持