Sim

Intercom

在 Intercom 中管理联系人、公司、对话、工单和消息

in

Intercom 是一个领先的客户沟通平台,能够让您在一个地方管理和自动化与联系人、公司、对话、工单和消息的互动。Sim 中的 Intercom 集成让您的代理可以通过自动化工作流以编程方式管理客户关系、支持请求和对话。

使用 Intercom 工具,您可以:

  • 联系人管理: 创建、获取、更新、列出、搜索和删除联系人——自动化您的 CRM 流程并保持客户记录的最新。
  • 公司管理: 创建新公司、检索公司详细信息,并列出与您的用户或业务客户相关的所有公司。
  • 对话处理: 获取、列出、回复和搜索对话——让代理能够跟踪正在进行的支持线程、提供答案并自动执行后续操作。
  • 工单管理: 以编程方式创建和检索工单,帮助您自动化客户服务、支持问题跟踪和工作流升级。
  • 发送消息: 向用户或潜在客户触发消息,用于入职、支持或营销,所有这些都可以在您的工作流自动化中完成。

通过将 Intercom 工具集成到 Sim 中,您可以让工作流直接与用户沟通,自动化客户支持流程,管理潜在客户,并大规模简化沟通。无论您是需要创建新联系人、保持客户数据同步、管理支持工单,还是发送个性化的参与消息,Intercom 工具都提供了一种全面的方式,将客户互动管理作为智能自动化的一部分。

使用说明

将 Intercom 集成到工作流中。可以创建、获取、更新、列出、搜索和删除联系人;创建、获取和列出公司;获取、列出、回复和搜索对话;创建和获取工单;以及创建消息。

工具

intercom_create_contact

使用 email、external_id 或 role 在 Intercom 中创建一个新联系人

输入

参数类型必需描述
rolestring联系人角色。可选 'user' 或 'lead'。如未指定,默认为 'lead'。
emailstring联系人邮箱地址
external_idstring客户端为联系人提供的唯一标识符
phonestring联系人电话号码
namestring联系人姓名
avatarstring联系人头像图片 URL
signed_up_atnumber用户注册时间(Unix 时间戳)
last_seen_atnumber用户最后一次在线时间(Unix 时间戳)
owner_idstring被分配为该联系人账户所有者的管理员 ID
unsubscribed_from_emailsboolean联系人是否已退订邮件
custom_attributesstring自定义属性,格式为 JSON 对象(如:{"attribute_name": "value"})
company_idstring创建联系人时关联的公司 ID

输出

参数类型描述
contactobject创建的联系人对象

intercom_get_contact

通过 ID 从 Intercom 获取单个联系人

输入

参数类型必需描述
contactIdstring要检索的联系人 ID

输出

参数类型描述
contactobject联系人对象

intercom_update_contact

更新 Intercom 中的现有联系人

输入

参数类型必需描述
contactIdstring要更新的联系人 ID
rolestring联系人角色。可选 'user' 或 'lead'。
external_idstring客户端为联系人提供的唯一标识符
emailstring联系人邮箱地址
phonestring联系人电话号码
namestring联系人姓名
avatarstring联系人头像图片 URL
signed_up_atnumber用户注册时间(Unix 时间戳)
last_seen_atnumber用户最后一次在线时间(Unix 时间戳)
owner_idstring被分配为该联系人账户所有者的管理员 ID
unsubscribed_from_emailsboolean联系人是否已退订邮件
custom_attributesstring自定义属性,格式为 JSON 对象(如:{"attribute_name": "value"})
company_idstring关联的公司 ID

输出

参数类型描述
contactobject更新后的联系人对象

intercom_list_contacts

列出所有来自 Intercom 的联系人,支持分页

输入

参数类型必需描述
per_pagenumber每页结果数量 (最大值: 150)
starting_afterstring分页游标 - 起始 ID

输出

参数类型描述
contactsarray联系人对象数组

intercom_search_contacts

使用查询在 Intercom 中搜索联系人

输入

参数类型必填描述
querystring搜索查询(例如:{"field":"email", "operator":"=", "value":"user@example.com"})
per_pagenumber每页结果数量(最大值:150)
starting_afterstring用于分页的游标
sort_fieldstring排序字段(例如:"name","created_at","last_seen_at")
sort_orderstring排序方式:“ascending” 或 “descending”

输出

参数类型描述
contactsarray匹配的联系人对象数组

intercom_delete_contact

通过 ID 从 Intercom 中删除联系人

输入

参数类型必需描述
contactIdstring要删除的联系人 ID

输出

参数类型描述
idstring已删除联系人的 ID
deletedboolean联系人是否已被删除
metadataobject操作元数据

intercom_create_company

在 Intercom 中创建或更新公司

输入

参数类型必填描述
company_idstring您为公司设置的唯一标识符
namestring公司名称
websitestring公司网站
planstring公司套餐名称
sizenumber公司员工数量
industrystring公司所属行业
monthly_spendnumber公司为您的业务带来的收入。注意:此字段会将浮点数截断为整数(例如:155.98 变为 155)
custom_attributesstring自定义属性,格式为 JSON 对象
remote_created_atnumber您创建公司时的 Unix 时间戳

输出

参数类型描述
companyobject新建或更新的公司对象

intercom_get_company

通过 ID 从 Intercom 检索单个公司

输入

参数类型必需描述
companyIdstring要检索的公司 ID

输出

参数类型描述
companyobject公司对象

intercom_list_companies

列出来自 Intercom 的所有公司,支持分页。注意:此端点限制为通过分页返回最多 10,000 家公司。对于超过 10,000 家公司的数据集,请改用 Scroll API。

输入

参数类型必填描述
per_pagenumber每页结果数量
pagenumber页码
starting_afterstring分页游标(优先于基于页码的分页)

输出

参数类型描述
companiesarray公司对象数组

intercom_get_conversation

通过 ID 从 Intercom 检索单个会话

输入

参数类型必需描述
conversationIdstring要检索的会话 ID
display_asstring设为 "plaintext" 可检索纯文本消息
include_translationsboolean若为 true,会话内容将被翻译为检测到的会话语言

输出

参数类型描述
conversationobject会话对象

intercom_list_conversations

列出 Intercom 中的所有会话,并支持分页

输入

参数类型必需描述
per_pagenumber每页结果数量(最大值:150)
starting_afterstring分页游标
sortstring排序字段(例如:"waiting_since"、"updated_at"、"created_at")
orderstring排序方式:"asc"(升序)或 "desc"(降序)

输出

参数类型描述
conversationsarray会话对象数组

intercom_reply_conversation

以管理员身份在 Intercom 中回复对话

输入

参数类型必需描述
conversationIdstring要回复的会话 ID
message_typestring消息类型:"comment" 或 "note"
bodystring回复正文
admin_idstring回复管理员的 ID。如果未提供,将使用默认管理员(Operator/Fin)。
attachment_urlsstring以逗号分隔的图片 URL 列表(最多 10 个)
created_atnumber回复创建时的 Unix 时间戳。如果未提供,则使用当前时间。

输出

参数类型描述
conversationobject更新后的会话对象

intercom_search_conversations

使用查询在 Intercom 中搜索对话

输入

参数类型必需描述
querystring作为 JSON 对象的搜索查询
per_pagenumber每页结果数量(最大值:150)
starting_afterstring分页游标
sort_fieldstring排序字段(例如:"created_at","updated_at")
sort_orderstring排序顺序:“ascending” 或 “descending”

输出

参数类型描述
conversationsarray匹配的会话对象数组

intercom_create_ticket

在 Intercom 中创建新工单

输入

参数类型必需描述
ticket_type_idstring工单类型的 ID
contactsstring联系人标识符的 JSON 数组(例如:[{"id": "contact_id"}])
ticket_attributesstring包含 default_titledefault_description 的工单属性 JSON 对象
company_idstring要关联工单的公司 ID
created_atnumber工单创建时的 Unix 时间戳。如果未提供,则使用当前时间。
conversation_to_link_idstring要关联到此工单的现有会话 ID
disable_notificationsboolean若为 true,创建工单时将不发送通知

输出

参数类型描述
ticketobject创建的工单对象

intercom_get_ticket

从 Intercom 按 ID 检索单个工单

输入

参数类型必需描述
ticketIdstring要检索的工单 ID

输出

参数类型描述
ticketobject工单对象

intercom_create_message

在 Intercom 中创建并发送新的管理员发起的消息

输入

参数类型必需描述
message_typestring消息类型:“inapp” 表示应用内消息,“email” 表示电子邮件消息
templatestring消息模板样式:“plain” 表示纯文本,“personal” 表示个性化样式
subjectstring消息主题(仅适用于 email 类型)
bodystring消息正文
from_typestring发送方类型:“admin”
from_idstring发送消息的管理员 ID
to_typestring接收方类型:“contact”
to_idstring接收消息的联系人的 ID
created_atnumber消息创建时的 Unix 时间戳。如果未提供,则使用当前时间。

输出

参数类型描述
messageobject创建的消息对象

注意事项

  • 类别:tools
  • 类型:intercom
On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started