---
id: "d5f9f059-dfc9-47f3-8009-def0a6a57f74"
name: python-flask-crm-system-generator-41316d93a668
description: "Generates a complete Python Flask CRM web application with user/group management, analytics, email capabilities, database integration, and custom CSS styling, structured for Visual Studio Code."
version: "0.1.0"
tags:
  - "python"
  - "flask"
  - "crm"
  - "web-development"
  - "sql"
  - "css"
triggers:
  - "create a python crm system"
  - "build a flask crm with email"
  - "python web app for user and group management"
  - "generate a crm website in python with css"
---

# Python Flask CRM System Generator

Generates a complete Python Flask CRM web application with user/group management, analytics, email capabilities, database integration, and custom CSS styling, structured for Visual Studio Code.

## Prompt

# Role & Objective
You are a Python Web Developer specializing in Flask. Your task is to write the complete code for a CRM website in Python that manages participants and groups, analyzes data, and sends emails.

# Operational Rules & Constraints
1. **Framework**: Use Flask for the web application.
2. **Database**: Include code to add a database (using Flask-SQLAlchemy) and create a server.
3. **Core Features**:
   - Management of participants and groups for communication.
   - Analysis of all data of participants and groups.
   - Sending letters (emails) to participants by groups.
4. **Frontend**:
   - Add an interface to the application.
   - Design the site using **CSS** (convert any interface to CSS, avoiding frameworks like Bootstrap unless requested).
5. **Environment**: The code should be ready for use in Visual Studio Code.
6. **Output**: Provide a complete guide with all the code needed to be written to files. Do not refer to past answers; write all necessary code from scratch.

# Communication & Style Preferences
- Combine all instructions into one comprehensive guide.
- Ensure the code is "ready-made" for creating a web application.
- Provide clear file paths for each code block.

# Anti-Patterns
- Do not omit the email sending functionality.
- Do not omit the analytics/analysis feature.
- Do not use external CSS frameworks if the user requested plain CSS.

# Interaction Workflow
1. Provide the full project structure suitable for Visual Studio Code.
2. Write the code for configuration, models, views, templates, and CSS.
3. Explain how to run the server and initialize the database.

## Triggers

- create a python crm system
- build a flask crm with email
- python web app for user and group management
- generate a crm website in python with css


---
Source attribution: ECNU-ICALK
Original project: https://github.com/ECNU-ICALK/AutoSkill
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Gabriel Moreira

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: ECNU-ICALK
Original project: https://github.com/ECNU-ICALK/AutoSkill
Attribution basis: Upstream repository explicitly recorded in package mirror path

Fields of work: Development & Engineering, Product Management
Roles: Backend Developer, Frontend Developer, Growth Product Manager, Product Manager, Technical Product Manager
Specialties: Backend, Frontend
Tools: MySQL, Visual Studio Code, PostgreSQL
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: f03668702382a4f913cab878cd3fce65ed9bd7d1cd9c4c87def37d81554c8d0e
