intercom-hello-world

Featured

Create a minimal working Intercom example with contacts, conversations, and messages. Use when starting a new Intercom integration, testing your setup, or learning the core Intercom API data model. Trigger with phrases like "intercom hello world", "intercom example", "intercom quick start", "simple intercom code", "first intercom API call".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Intercom Hello World ## Overview Minimal working examples covering the Intercom core data model: contacts (users and leads), conversations, messages, and tags. ## Prerequisites - Completed `intercom-install-auth` setup - `intercom-client` package installed - Valid access token in environment ## Instructions ### Step 1: Create a Contact Contacts are the core entity. They have a `role` of either `user` (identified) or `lead` (anonymous). ```typescript import { IntercomClient } from "intercom-client"; const client = new IntercomClient({ token: process.env.INTERCOM_ACCESS_TOKEN!, }); // Create a user contact const user = await client.contacts.create({ role: "user", externalId: "user-12345", email: "jane@example.com", name: "Jane Smith", customAttributes: { plan: "pro", signup_date: Math.floor(Date.now() / 1000), }, }); console.log(`Created contact: ${user.id} (${user.role})`); // Response shape: // { // type: "contact", // id: "6657add46abd0167d9419c3a", // workspace_id: "abc123", // external_id: "user-12345", // role: "user", // email: "jane@example.com", // name: "Jane Smith", // custom_attributes: { plan: "pro", signup_date: 1711100000 }, // created_at: 1711100000, // updated_at: 1711100000, // ... // } ``` ### Step 2: Search for Contacts ```typescript // Search contacts by email const results = await client.contacts.search({ query: { field: "email", operator: "=", value: "jane@example.com", }, }); co...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category