/intercom-pack:intercom-deploy-integrationfrom intercom-pack
Deploys Intercom-powered applications to Vercel, Fly.io, and Cloud Run with proper secret management, signed webhook endpoints, and health checks.
Ships in intercom-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Deploy Intercom-powered applications to Vercel, Fly.io, or Google Cloud Run with proper
secret management, signed webhook endpoints, and health checks. The workflow is the same
across platforms — provision two secrets, deploy, wire a /health probe, then register
the webhook URL — and each platform's copy-ready code lives in
references/implementation.md.
vercel, flyctl, or gcloud)Two secrets drive every deployment. INTERCOM_ACCESS_TOKEN authenticates API calls
(passed to the SDK as new IntercomClient({ token })); INTERCOM_WEBHOOK_SECRET is the
Developer Hub signing secret used to verify inbound webhook payloads (HMAC-SHA1 over the
raw body, compared against the X-Hub-Signature header). Store both in the platform's
secret store — never hardcode them: vercel env add, fly secrets set, or Cloud Run
Secret Manager. A mismatched webhook secret returns 401 Invalid signature; an invalid
token surfaces as a degraded health check rather than a hard failure.
Pick the platform that matches your stack. Each step below shows the essential skeleton;
open references/implementation.md for the complete webhook
handler, vercel.json, fly.toml, Cloud Run deploy script, and shared health-check code.
vercel env add INTERCOM_ACCESS_TOKEN production then
vercel env add INTERCOM_WEBHOOK_SECRET production.fly secrets set INTERCOM_ACCESS_TOKEN=... INTERCOM_WEBHOOK_SECRET=....--set-secrets.Read the raw request body (disable body parsing), recompute the HMAC-SHA1 signature, and
compare with crypto.timingSafeEqual. Return within 5 seconds — queue slower work:
const expected = "sha1=" + crypto
.createHmac("sha1", process.env.INTERCOM_WEBHOOK_SECRET!)
.update(rawBody)
.digest("hex");
if (!crypto.timingSafeEqual(Buffer.from(sig), Buffer.from(expected))) return res.status(401).end();
Write this to api/webhooks/intercom.ts (Vercel) or the equivalent route. Full handler,
including the raw-body read and the Vercel config export, is in the Vercel section of
references/implementation.md.
Expose a /health route that calls client.admins.list() and reports healthy /
degraded with latency. Edit your platform config to wire it as the liveness probe
(fly.toml checks block, or Cloud Run's default). Full code is in the Health Check
section of references/implementation.md.
Run the platform deploy command: vercel --prod, fly deploy, or the
gcloud run deploy script. Verify with curl https://your-domain.com/health.
In Developer Hub > Webhooks, set the endpoint to https://your-domain.com/api/webhooks/intercom,
select topics (see the reference table below), copy the signing secret into your platform
secrets, and send a test notification to confirm a 200.
| Topic | Fires When |
|---|---|
conversation.user.created | New conversation from contact |
conversation.user.replied | Contact replies |
conversation.admin.replied | Admin replies |
conversation.admin.closed | Conversation closed |
contact.created | New contact created |
contact.signed_up | Lead converts to user |
contact.tag.created | Tag applied to contact |
user.created | New user (legacy topic) |
A successful run produces a deployed service reachable over HTTPS with:
INTERCOM_ACCESS_TOKEN and INTERCOM_WEBHOOK_SECRET stored in the platform's
secret store (never in source).200 { "received": true } for valid
payloads and 401 for bad signatures./health endpoint returning {"status":"healthy","services":{"intercom":{"connected":true,"latencyMs":142}}}.| Issue | Cause | Solution |
|---|---|---|
| Webhook 401 | Signature mismatch | Verify secret matches Developer Hub |
| Cold start timeout | Serverless spin-up | Set min instances > 0 |
| Secret not found | Missing config | Verify secrets with platform CLI |
| Health check failing | Token invalid in prod | Verify production token |
| Webhook delivery fails | 5s timeout exceeded | Queue events, process async |
Start from the Vercel skeleton, then drill into the platform you're shipping to:
vercel env add INTERCOM_ACCESS_TOKEN production
vercel env add INTERCOM_WEBHOOK_SECRET production
vercel --prod
Full end-to-end walkthroughs for Vercel, Fly.io, and Cloud Run — including expected output and how to read a failing test notification — are in references/examples.md.
For webhook payload handling and event-processing patterns after deployment, see the
intercom-webhooks-events skill in this pack.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin intercom-pack24 skills in this plugin
/intercom-ci-integrationConfigure CI/CD pipelines for Intercom integrations with GitHub Actions.
Use when setting up automated testing, configuring CI with Intercom secrets,
or integrating Intercom API tests into your build process.
Trigger with phrases like "intercom CI", "intercom GitHub Actions",
"intercom automated tests", "CI intercom", "intercom pipeline".
/intercom-common-errorsDiagnose and fix Intercom API errors by HTTP status code and error type.
Use when encountering Intercom errors, debugging failed API requests,
or troubleshooting integration issues.
Trigger with phrases like "intercom error", "fix intercom",
"intercom not working", "debug intercom", "intercom 401", "intercom 429".
/intercom-Other plugins' skills for the same job