# n8n-eventbrite-api

Custom n8n node for Eventbrite API integration. This node allows you to interact with Eventbrite's API to manage events, organizations, users, and orders.

## Features

- **Event Management**: Search events, get event details, list your events, create and update events
- **Organization Management**: Get organization details and list organization events
- **User Management**: Get user profiles and authenticated user information
- **Order Management**: List orders for events and get order details
- **AI Agent Optimized**: Special AI mode for simplified and structured output
- **Comprehensive API Coverage**: Supports most common Eventbrite API operations

## Installation

```bash
npm install @cryptodevops/n8n-nodes-eventbrite
```

## Configuration

1. Get your Eventbrite Private Token from your [Eventbrite account settings](https://www.eventbrite.com/platform/api-keys)
2. In n8n, create new credentials for "Eventbrite API"
3. Enter your Private Token

## Supported Operations

### Events
- **Search Events**: Search for public events with filters
- **Get Event**: Get detailed information about a specific event
- **List My Events**: List events owned by the authenticated user
- **Create Event**: Create a new event
- **Update Event**: Update an existing event

### Organizations
- **Get Organization**: Get details of an organization
- **List Organization Events**: List events for an organization

### Users
- **Get My Profile**: Get authenticated user profile
- **Get User**: Get details of a specific user

### Orders
- **List Orders**: List orders for an event
- **Get Order**: Get details of a specific order

## AI Agent Mode

This node includes a special AI Agent mode that:
- Simplifies output format for better AI processing
- Provides human-readable summaries
- Structures data optimally for AI agents
- Includes relevant metadata and timestamps

## Examples

### Search Events
```json
{
  "resource": "event",
  "operation": "searchEvents",
  "searchQuery": "music concert",
  "location": "Paris, France",
  "additionalFields": {
    "maxResults": 10,
    "sortBy": "date"
  }
}
```

### Create Event
```json
{
  "resource": "event",
  "operation": "createEvent",
  "eventName": "My Amazing Concert",
  "eventDescription": "A fantastic music event",
  "startDate": "2024-06-01T20:00:00Z",
  "endDate": "2024-06-01T23:00:00Z",
  "currency": "USD"
}
```

## API Documentation

For more information about the Eventbrite API, visit the [official documentation](https://www.eventbrite.com/platform/api).

## License

MIT

## Support

For issues and questions, please visit our [GitHub repository](https://github.com/GitCryptoDevOps/n8n-eventbrite-api).