Skip to content

Synapse autonomous lead agent listens for new lead inquiries, uses AI to research the company, automatically enriches the data and creates a perfectly formatted, prioritized record in SuiteCRM... all without human intervention

Notifications You must be signed in to change notification settings

Oghenesuvwe-dev/Synapse-lead-Agent

Repository files navigation

Synapse Autonomous Lead Intelligence Agent

Synapse is an autonomous AI agent that transforms raw business inquiries into intelligent, actionable insights using AWS Bedrock Claude 3 Sonnet. Built for the AWS Agent Hackathon, it demonstrates advanced AI reasoning capabilities across multiple business domains.

🚀 Quick Deploy

# 1. Clone and setup
git clone <repo-url>
cd synapse-project

# 2. Deploy infrastructure
cd infra
sam build -t monolith-template.yaml
sam deploy --stack-name synapse-monolith --capabilities CAPABILITY_IAM

# 3. Setup secrets
aws secretsmanager create-secret \
  --name "Synapse/SuiteCRM" \
  --secret-string '{
    "url": "http://synapse.suiteondemand.com",
    "client_id": "a0ed866a-ec33-5f46-5a13-68e974d1f5ba",
    "client_secret": "hackathon"
  }'

# 4. Test
curl -X POST <API_GATEWAY_URL>/webhook \
  -H "Content-Type: application/json" \
  -d '{"text":"Test lead from TechCorp"}'

💰 Cost Management

Enter Zero-Cost Standby

./scripts/standby-mode.sh

Result: $0.00/month - All resources deleted, templates preserved

Redeploy from Standby

./scripts/deploy.sh
# Then recreate secrets (see above)

Architecture

Monolith LambdaBedrock Claude 3Web ScrapingSuiteCRMNotifications

  • Input: Email/Slack/Website webhooks
  • Processing: Single Lambda function (no throttling)
  • AI: Bedrock Claude 3 Sonnet analysis
  • Output: CRM leads + Email/Slack notifications

Key Features

  • Real CRM Integration: SuiteCRM OAuth2
  • AI-Powered Analysis: Claude 3 Sonnet
  • Multi-Channel: Email + Slack + Web
  • Zero-Cost Standby: Complete resource deletion
  • Quick Redeploy: 3-minute reactivation

Project Structure

├── lambda/
│   └── monolith.py        # Main processing function
├── infra/
│   └── monolith-template.yaml  # CloudFormation template
├── scripts/
│   ├── standby-mode.sh    # Enter zero-cost mode
│   └── deploy.sh          # Quick redeploy
└── demo.html              # Frontend interface

Built with AWS Bedrock Claude 3 Sonnet | API Gateway | Lambda | S3 | SES | Secrets Manager | SuiteCRM OAuth2

About

Synapse autonomous lead agent listens for new lead inquiries, uses AI to research the company, automatically enriches the data and creates a perfectly formatted, prioritized record in SuiteCRM... all without human intervention

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •