
Company News
Andrew Becherer Joins Socket as Chief Information Security Officer
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.
wechaty-plugin-intercom
Advanced tools
Wechaty Intercom Plugin helps you build better customer relationships through WeChat across the customer journey.
Intercom is a Conversational Relationship Platform (CRP).
Wechaty Intercom Plugin helps you build better customer relationships through WeChat across the customer journey.

Wechaty Intercom Plugin helps you to manage your customers/leads/users in the WeChat Room, with the power of the Intercom service.
import { WechatyIntercom } from 'wechaty-plugin-intercom'
const config = {
room: 'room_id@chatroom',
mention: true,
webhookProxyUrl : 'https://smee.io/your_smee_io_proxy_url',
intercomToken : 'your_intercom_authorization_token',
}
const IntercomPlugin = WechatyIntercom(config)
const wechaty = new Wechaty()
wechaty.use(IntercomPlugin)
config.room: The room id of your service WeChat room.config.mention: If set to true, customers need to use @ to mention the bot when they want to ask questions.config.webhookProxyUrl: A semee.io link that you need to set it to receive the Intercom Webhook events.
config.intercomToken: The Authorization Token for your Intercom account.
In order to receive the reply and close events from Intercom, we need to configure two webhooks:
conversation.admin.repliedconversation.admin.closedThe request endpoint URL must be as same as the webhookProxyUrl setting in the config.

Do not forget to click [Save] button after you set them.
The following two environment variables will be used if the required information is not provided by the config.
WECHATY_PLUGIN_INTERCOM_TOKENprocess.env.WECHATY_PLUGIN_INTERCOM_TOKEN will be used if the config.intercomToken is not provided.
Learn more about the authorization token of intercom: Intercom Developers - How to get your Access Token
WECHATY_PLUGIN_INTERCOM_WEBHOOK_PROXY_URLWe receive webhook payloads with the help from <smee.io>, by proxy them to our locally running Wechaty Plugin application.
process.env.WECHATY_PLUGIN_INTERCOM_WEBHOOK_PROXY_URL will be used if the config.webhookProxyUrl is not provided.
See:

Our Friday BOT are using wechaty-plugin-intercom to connect our WeChat customers to Intercom.
You can read the source code from: https://github.com/wechaty/friday/blob/master/src/plugins/intercom.ts
at to mention in config.Huan LI (李卓桓), Tencent TVP of Chatbot, <zixia@zixia.net>
FAQs
Wechaty Intercom Plugin helps you build better customer relationships through WeChat across the customer journey.
The npm package wechaty-plugin-intercom receives a total of 4 weekly downloads. As such, wechaty-plugin-intercom popularity was classified as not popular.
We found that wechaty-plugin-intercom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.

Company News
Replit is integrating Socket Firewall into its AI-powered development experience to help protect builders from malicious open source packages.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.