File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change
1
+ PLATFORM_REDIS_URL="${{"Redis (Platform)".REDIS_URL}}" # Auto-configured Redis for bot data storage
2
+ POSTGRES_PASSWORD="${{"Postgres (Platform)".POSTGRES_PASSWORD}}" # Auto-configured database password
3
+ POSTGRES_USER="${{"Postgres (Platform)".POSTGRES_USER}}" # Auto-configured database username
4
+ POSTGRES_URL="${{"Postgres (Platform)".DATABASE_URL}}" # Auto-configured PostgreSQL connection URL
5
+ NODE_ENV="production" # Environment mode (keep as production for Railway)
6
+ WEBHOOK_POLL_INTERVAL="1000" # How often to check for agent replies (milliseconds)
7
+ DATABASE_SSL_VALIDATE="true" # Enable secure database connections (recommended)
8
+ TELEGRAM_BOT_TOKEN="" # Get from @BotFather on Telegram - REQUIRED
9
+ UNTHREAD_API_KEY="" # Get from Unthread dashboard API settings - REQUIRED
10
+ UNTHREAD_SLACK_CHANNEL_ID="" # Target Slack channel ID from Unthread - REQUIRED
11
+ UNTHREAD_WEBHOOK_SECRET="" # Webhook secret from Unthread dashboard - REQUIRED
12
+ WEBHOOK_REDIS_URL="" # Redis URL for webhook processing (optional for basic bot)
13
+ COMPANY_NAME="" # Your company name (optional - used in ticket formatting)
Original file line number Diff line number Diff line change 3
3
# =============================================================================
4
4
5
5
# ======= Environment & Configuration =======
6
- # Ignore all .env files except the example template
6
+ # Ignore all .env files except templates
7
7
.env *
8
8
! .env.example
9
+ ! .env.railway
9
10
10
11
# ======= Build Output & Dependencies =======
11
12
# Node.js
Original file line number Diff line number Diff line change 8
8
* - TELEGRAM_BOT_TOKEN: Telegram Bot API authentication token
9
9
* - UNTHREAD_API_KEY: Unthread platform API key for ticket creation
10
10
* - UNTHREAD_SLACK_CHANNEL_ID: Target Slack channel for ticket routing
11
- * - UNTHREAD_WEBHOOK_SECRET: Secret for webhook signature verification
11
+ * - UNTHREAD_WEBHOOK_SECRET: Secret for webhook signature verification (required for full integration)
12
12
* - PLATFORM_REDIS_URL: Redis connection for bot state management
13
13
* - WEBHOOK_REDIS_URL: Redis connection for webhook event processing
14
14
* - POSTGRES_URL: PostgreSQL database connection for persistent storage
You can’t perform that action at this time.
0 commit comments