n8n-nodes-cohost
v0.1.1
Published
n8n community node for the Cohost event management platform
Maintainers
Readme
n8n-nodes-cohost
An n8n community node for the Cohost event management and ticketing platform.
Automate workflows with Cohost — create and manage events, tickets, attendees, series, tables, channels, and more directly from your n8n instance.
Get Started
- Sign up at cohost.vip
- Go to Settings > API Keys
- Create a new API key
- Add it to your n8n Cohost credential
Installation
n8n Cloud or Self-Hosted
- Go to Settings > Community Nodes
- Click Install
- Enter
n8n-nodes-cohostand click Install
Manual Installation
cd /path/to/your/n8n
npm install n8n-nodes-cohostRestart n8n after installation.
Authentication
| Method | Use Case | |--------|----------| | API Key | Direct integration — generate from Settings > API Keys | | OAuth2 | Delegated access for multi-tenant integrations |
Both methods support a configurable Base URL (default: https://api.cohost.vip/v1) for self-hosted or development environments.
Supported Resources
| Resource | Operations | |----------|------------| | Event | Get, List, Create, Update, Delete, Clone, Set Location, Get Barcodes | | Ticket | List, Create, Update, Delete, Quick Update | | Coupon | Create, Get, List, Update, Delete | | Attendee | List, Create, Delete, Bulk Delete | | Series | Create, Create Instances, List Instances, Update | | Instance | List, Create, Get, Update, Delete, Bulk Create | | Table | List, Create, Update, Delete | | Channel | List, Add, Remove | | Analytics | Get Stats, Export | | Purchase Group | List, Update, Delete |
Development
Prerequisites
- Node.js 18+
- npm or pnpm
Setup
npm install
npm run build
npm run dev # watch modeRunning Tests
npm testProject Structure
n8n-nodes-cohost/
├── credentials/
│ ├── CohostApi.credentials.ts # API Key credential
│ └── CohostOAuth2Api.credentials.ts # OAuth2 credential
├── nodes/Cohost/
│ ├── Cohost.node.ts # Main node with execute() routing
│ ├── Cohost.node.json # n8n codex metadata
│ ├── GenericFunctions.ts # API request helper
│ ├── cohost.svg # Node icon
│ ├── descriptions/ # Resource/operation definitions
│ └── __tests__/ # Unit tests
├── package.json
└── tsconfig.jsonAdding New Operations
- Add or update a description file in
nodes/Cohost/descriptions/ - Export operations and fields from
descriptions/index.ts - Handle the new operation inside
execute()inCohost.node.ts - Add tests in
__tests__/
Links
License
MIT
