The cl ingest command is your primary tool for submitting customer feedback to ClosedLoop AI for analysis. It transforms raw customer feedback into structured, actionable insights through AI-powered analysis.
# Basic ingestioncl ingest "The app crashes when I try to upload large files"# With metadata for better analysiscl ingest "Great product, love the new features!" \ --title "Positive Feedback" \ --customer "customer-456" \ --name "Jane Smith" \ --email "jane@example.com" \ --url "https://support.example.com/ticket/789"
cl ingest "The mobile app keeps crashing when I try to upload photos. This is really frustrating and I'm considering switching to a competitor." \ --title "Mobile App Crash Issue" \ --customer "customer-123" \ --name "Sarah Johnson" \ --email "sarah@company.com" \ --url "https://support.yourcompany.com/ticket/456"
cl ingest "We love the new dashboard design, but the navigation is confusing. It took us 10 minutes to find the settings menu." \ --title "Dashboard Navigation Feedback" \ --customer "enterprise-456" \ --name "Mike Chen" \ --email "mike@techcorp.com"
cl ingest "The pricing is too high compared to competitors. We're getting 30% less value for 50% more cost." \ --title "Pricing Feedback" \ --customer "customer-789" \ --name "Lisa Wang" \ --email "lisa@startup.com" \ --url "https://surveys.company.com/response/123"
# Submit and wait for AI analysiscl ingest "Customer complaint about slow performance" --wait# Output shows real-time processing status:# ✅ Feedback submitted: 74e3dd87-878f-41cf-8e5a-87527bbf7770# ⏳ Processing... (this may take a few minutes)# ✅ Analysis complete! View insights with: cl insight
# List only completed feedbackcl ingest --status completed# Search for specific contentcl ingest --search "crash"# Get feedback from specific customercl ingest --json | jq '.data[] | select(.customer_id == "customer-123")'