enhancementgood first issueintegrationnew-featurenew-integration
Repository metrics
- Stars
- (1,930 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
Description
Add Pylon integration to sync B2B customer support conversations, issues, accounts, and team data into CORE.
Reference Implementations
Existing Integrations (use as templates)
integrations/hubspot/- Similar customer platformintegrations/slack/- Messaging and conversation sync referenceintegrations/linear/- Issue tracking integration
Required Files Structure
integrations/pylon/
├── src/
│ ├── index.ts # Main entry, API spec
│ ├── schedule.ts # Sync logic
│ ├── utils.ts # Pylon API utilities
│ ├── account-create.ts # API token setup
│ └── create-activity.ts # Activity formatting
├── package.json
├── tsup.config.ts
└── README.md
Pylon API Integration
OAuth Setup
- Use API Token authentication (created by Admin users in API Settings)
- Tokens can be created and revoked from Team Settings > API Settings
- Base URL: Pylon instance API endpoint
- Multiple tokens supported per account
Key Endpoints
GET /issues- List all support issuesGET /issues/{id}- Get issue detailsGET /accounts- List customer accountsGET /accounts/{id}- Get account detailsGET /conversations- List conversationsGET /conversations/{id}- Get conversation detailsGET /users- List team membersGET /tags- List tags
Events to Track
- Issues - Created, updated, resolved, closed support issues
- Conversations - Customer messages, agent replies, internal notes
- Accounts - New B2B accounts, account updates
- Assignments - Issue assignments to team members
- Tags - Tags applied/removed from issues
Implementation Tasks
- Set up basic integration structure following
integrations/github/src/index.tspattern - Implement API Token authentication in
account-create.ts - Create API utilities in
utils.tswith Pylon API client - Implement sync logic in
schedule.tsfor issues, conversations, accounts - Convert Pylon events to CORE activity format
- Add error handling and rate limiting
- Create integration documentation
- Add to
integrations/README.md
Technical Notes
- REST API with JSON responses
- API Token authentication (Admin-only token creation)
- Designed specifically for B2B customer support workflows
- Supports omnichannel communication (Slack, email, in-app)
- Only Admin users can create API tokens
- Multiple tokens can be active simultaneously and revoked individually
- Check API reference for pagination patterns
Resources
Labels
enhancement, integration, new-feature