Custom automation suite specifically designed for Alan Harper Composites manufacturing workflows, integrating ClickUp project management, Pipedrive CRM, and client communication systems.
The AHC-Automator skill provides three core automation workflows:
90132745943# Email → ClickUp → Pipedrive Chain
python scripts/email_to_clickup_pipedrive.py
# Client Onboarding
python scripts/client_onboarding.py --client "Cliente Novo" --email "cliente@empresa.com"
# Project Completion
python scripts/project_completion.py --project-id 123456
Monitors specific emails from Ian/Ronaldo and automatically creates tasks in ClickUp and deals in Pipedrive.
📧 Email received from Ian/Ronaldo
↓
🔍 Parse email content for keywords
↓
✅ Create ClickUp task with structured data
↓
💼 Create/update Pipedrive deal
↓
📱 Send WhatsApp notification
ClickUp Keywords:
Pipedrive Keywords:
Email monitoring is handled by existing cron jobs:
ian@alanharpercomposites.com.br (Every 5 minutes)ronaldoaibot@gmail.com (Every 5 minutes)# Example usage in scripts/email_to_clickup_pipedrive.py
from ahc_automator import EmailProcessor, ClickUpClient, PipedriveClient
processor = EmailProcessor()
email_data = processor.parse_latest_emails(['ian@alanharpercomposites.com.br'])
for email in email_data:
if processor.contains_keywords(email, 'clickup'):
clickup = ClickUpClient()
task_result = clickup.create_task_from_email(email)
if processor.contains_keywords(email, 'pipedrive'):
pipedrive = PipedriveClient()
deal_result = pipedrive.create_deal_from_email(email)
Automated client onboarding process that creates structured projects, folders, and templates.
👤 New client identified
↓
📂 Create ClickUp project with structured folders
↓
📋 Generate template tasks based on client type
↓
📧 Send welcome email sequence
↓
📅 Schedule follow-up activities
📁 [CLIENT_NAME] - Composite Manufacturing Project
├── 📂 01 - Design & Engineering
│ ├── Task: Initial requirements gathering
│ ├── Task: Technical specifications review
│ └── Task: Design approval
├── 📂 02 - Material Planning
│ ├── Task: Material cost estimation
│ ├── Task: Supplier quotes
│ └── Task: Material ordering
├── 📂 03 - Manufacturing
│ ├── Task: Production planning
│ ├── Task: Quality control setup
│ └── Task: Manufacturing execution
├── 📂 04 - Quality & Testing
│ ├── Task: Quality testing protocols
│ ├── Task: Final inspection
│ └── Task: Test results documentation
└── 📂 05 - Delivery & Closure
├── Task: Delivery coordination
├── Task: Client handover
└── Task: Project closure documentation
# Standard onboarding
python scripts/client_onboarding.py \
--client "Aerospace Corp" \
--email "contact@aerospace.com" \
--template "aerospace" \
--value "50000" \
--currency "EUR"
# Quick onboarding
python scripts/client_onboarding.py --quick --client "Quick Client"
Automated project closure workflow with reporting, invoicing, and client satisfaction tracking.
✅ Task marked complete in ClickUp
↓
📊 Generate project delivery report
↓
💰 Trigger invoice generation
↓
📋 Send client satisfaction survey
↓
📱 Update stakeholders via WhatsApp
Connects with existing accounting system to:
scripts/email_to_clickup_pipedrive.pyscripts/client_onboarding.pyscripts/project_completion.pyscripts/whatsapp_notifier.pyscripts/ahc_utils.pyscripts/email_parser.pyscripts/report_generator.pyconfigs/ahc_config.json{
"clickup": {
"team_id": "90132745943",
"default_space": "AHC Projects",
"templates": {
"standard": "901322408351",
"aerospace": "901322408352",
"custom": "901322408353"
}
},
"pipedrive": {
"api_token": "env:PIPEDRIVE_API_TOKEN",
"default_pipeline": "AHC Manufacturing",
"default_stage": "New Opportunity"
},
"email": {
"monitor_accounts": [
"ian@alanharpercomposites.com.br",
"ronaldoaibot@gmail.com"
],
"keywords": {
"clickup": ["adicionar tarefa", "nova tarefa", "clickup", "lista de convidados"],
"pipedrive": ["criar deal", "nova oportunidade", "pipedrive", "add person"]
}
},
"whatsapp": {
"notification_groups": ["AHC Team", "Management"],
"individual_contacts": ["Ian", "Ronaldo", "Alan"]
}
}
configs/email_templates.jsonClient communication templates for different stages of the workflow.
90132745943901322408351pipedrive_client.pyAll workflows log to /Users/andreantunes/.openclaw/workspace/logs/ahc-automator/:
email_processing.log: Email monitoring and parsingclickup_operations.log: ClickUp API interactionspipedrive_operations.log: Pipedrive CRM operationsnotifications.log: WhatsApp and email notifications# Check all workflow health
python scripts/health_check.py
# Specific workflow check
python scripts/health_check.py --workflow email_to_clickup
Automated error recovery for common issues:
crontab -lEnable debug logging:
export AHC_DEBUG=true
python scripts/email_to_clickup_pipedrive.py --debug
For AHC-specific automation issues:
/Users/andreantunes/.openclaw/workspace/logs/ahc-automator/Email → ClickUp → Pipedrive Chain:
Client Onboarding:
Project Completion:
This skill provides the foundation for scalable automation at Alan Harper Composites, reducing manual work while improving consistency and client satisfaction.
共 1 个版本