集成
在 Duaer 里使用 Salesforce
在 Duaer 里,Salesforce 节点让工作流程直接操作 Salesforce,共 65 个操作,覆盖 Account、Attachment、Case、Contact、Custom Object、Document 等 12 项。
把 Salesforce 加到 Duaer 工作流程
- 在 Duaer 画布上打开节点面板,搜索 Salesforce,接在上一个节点后面。
- 在 Authentication 里选 OAuth2、OAuth2 JWT 其中一种,再在 Credential to connect with 里选择或新建对应凭证(Salesforce OAuth2 API、Salesforce JWT API)。见 Salesforce 凭证。
- 选 Resource 和 Operation。例如选 Contact 和 Create。
- 填写这个操作显示的字段,例如 Last Name。
- 点 Execute step,查看输出。
Duaer 里 Salesforce 的操作
Duaer 的 Salesforce 节点按资源分组提供这些操作:
- Account:Add Note、Create、Create or Update、Delete、Get、Get Many、Get Summary、Update
- Attachment:Create、Delete、Get、Get Many、Get Summary、Update
- Case:Add Comment、Create、Delete、Get、Get Many、Get Summary、Update
- Contact:Add Contact To Campaign、Add Note、Create、Create or Update、Delete、Get、Get Many、Get Summary、Update
- Custom Object:Create、Create or Update、Delete、Get、Get Many、Update
- Document:Upload
- Flow:Get Many、Invoke
- Lead:Add Lead To Campaign、Add Note、Create、Create or Update、Delete、Get、Get Many、Get Summary、Update
- Opportunity:Add Note、Create、Create or Update、Delete、Get、Get Many、Get Summary、Update
- Search:Query
- Task:Create、Delete、Get、Get Many、Get Summary、Update
- User:Get、Get Many
在 Duaer 里把 Salesforce 当作 AI Agent 的工具
在 AI Agent 的「工具」(Tool)输入里搜索 Salesforce 并添加,由 Agent 决定什么时候调用。要让模型填写的字段,点字段旁的星形按钮,或写 $fromAI('name', '要填什么');固定值保持你设定的内容。
调用 Salesforce 节点没有的接口
加一个 HTTP Request 节点,Authentication 选 Predefined Credential Type,凭证类型选 Salesforce OAuth2 API,再选同一份凭证。Duaer 会用它签名请求,你只需填方法和地址。见 自定义操作。
常见问题
Duaer 支持 Salesforce 的哪些操作?
Duaer 的 Salesforce 节点共有 65 个操作,覆盖 Account、Attachment、Case、Contact、Custom Object、Document、Flow、Lead、Opportunity、Search、Task、User。例如 Account 有 Add Note、Create、Create or Update、Delete、Get 等 8 项。
Duaer 的 Salesforce 用哪种凭证?
Duaer 的 Salesforce 根据 Authentication 的选择,使用 Salesforce OAuth2 API、Salesforce JWT API 之一。
同组
Duaer 的内置集成
Duaer 的内置触发器、操作和凭证。触发器启动工作流程,操作在启动之后执行某一步。
集成Duaer 社区节点的风险
在 Duaer 里安装社区节点前,要清楚代码来自实例管理员信任的来源,并了解权限范围。
集成Duaer 社区节点排障
Duaer 社区节点装不上或跑失败时,先核对版本、权限和节点文档,再查实例日志。
集成在 Duaer 里对应用做自定义 API 调用
当 Duaer 某个应用节点没有你要的接口时,用 HTTP Request,并复用该应用已保存的认证。
集成Duaer 里的集成入口
Duaer 内置触发器、动作与凭证。社区节点是额外包。自定义操作用 HTTP Request 复用已保存的认证。
凭证Duaer 内置凭证目录
按服务列出 Duaer 内置凭证说明。创建流程见凭证总览;节点文档会链到对应服务页。
创建节点为 Duaer 创建自定义节点
内置节点和自定义操作都不够用、而且这一步要反复用时,再为 Duaer 写一个节点包。