-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
84 lines (68 loc) · 3.1 KB
/
.env.example
File metadata and controls
84 lines (68 loc) · 3.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Lead Generator Environment Variables
# Application configuration
NODE_ENV=development
LOG_LEVEL=info # error, warn, info, debug
# Mailgun Configuration (Required)
MAILGUN_API_KEY=your_mailgun_api_key_here
MAILGUN_DOMAIN=your_mailgun_domain_here
MAILGUN_BASE_URL=https://api.mailgun.net # or https://api.eu.mailgun.net for EU
# OpenAI Configuration (Required for AI personalization)
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_MODEL=gpt-4o-mini # or gpt-4, gpt-3.5-turbo
OPENAI_MAX_TOKENS=500
OPENAI_TEMPERATURE=0.7
# Twilio Configuration (Future Voice AI implementation)
TWILIO_ACCOUNT_SID=your_twilio_account_sid_here
TWILIO_AUTH_TOKEN=your_twilio_auth_token_here
TWILIO_PHONE_NUMBER=your_twilio_phone_number_here
# Email Configuration
DEFAULT_FROM_EMAIL=your_name@your_domain.com
DEFAULT_FROM_NAME=Your Name
DEFAULT_REPLY_TO=your_reply_email@your_domain.com
# Batch Processing Configuration
BATCH_SIZE=300 # Number of emails per batch (Mailgun limit consideration)
BATCH_DELAY_MS=1000 # Delay between batches in milliseconds
MAX_RETRIES=3 # Maximum retry attempts for failed emails
# Rate Limiting
RATE_LIMIT_ENABLED=true
RATE_LIMIT_MAX_PER_HOUR=1000 # Maximum emails per hour
# Template Configuration
DEFAULT_TEMPLATE=professional # Default template to use
PERSONALIZATION_ENABLED=true # Enable AI personalization
# CSV Configuration
CSV_ENCODING=utf8 # CSV file encoding
CSV_DELIMITER=, # CSV delimiter character
# Logging and Monitoring
ENABLE_EMAIL_TRACKING=true # Enable email open/click tracking
ENABLE_DETAILED_LOGGING=true # Enable detailed operation logging
LOG_FILE_PATH=./logs/lead-generator.log
# Bland.ai Voice AI Configuration
BLAND_AI_API_KEY=your_bland_ai_api_key_here
BLAND_AI_BASE_URL=https://api.bland.ai
BLAND_AI_PHONE_NUMBER=your_bland_ai_phone_number_here
# Voice Campaign Configuration
VOICE_WEBHOOK_PORT=3001 # Port for webhook server
VOICE_WEBHOOK_URL=https://your-domain.com/webhook # Public webhook URL
CALENDLY_LINK=https://calendly.com/your-username # Calendly scheduling link
SMS_SERVICE_API_KEY=your_sms_service_api_key_here # For sending Calendly links
# Call Compliance Settings - Standard Business Hours (9 AM - 5 PM, Monday-Friday)
CALL_HOURS_START=09:00 # Start time for calls (24h format)
CALL_HOURS_END=17:00 # End time for calls (24h format)
CALL_TIMEZONE=America/New_York # Timezone for call hours (IANA timezone identifier)
MAX_CALL_ATTEMPTS=3 # Maximum call attempts per contact
CALL_RETRY_DELAY_HOURS=24 # Hours between retry attempts
# Common US Timezones:
# - America/New_York (Eastern Time)
# - America/Chicago (Central Time)
# - America/Denver (Mountain Time)
# - America/Los_Angeles (Pacific Time)
# - America/Phoenix (Arizona Time - no DST)
# Note: Calls are automatically restricted to weekdays only (Monday-Friday)
# Voice Script Configuration
COMPANY_NAME=Your Company Name
CALLER_NAME=Your Name
VOICE_SCRIPT_LANGUAGE=en # Language for voice scripts
# Development/Testing
DRY_RUN=false # Set to true to simulate sending without actually sending emails
TEST_EMAIL=your_test_email@domain.com # Email for testing purposes
VOICE_DRY_RUN=false # Set to true to simulate voice calls without making them