Skip to content

The Sales Copy Generator is a Flask-based web application that allows users to generate fully customized sales and marketing copy using OpenAI's GPT-4o model.

License

Notifications You must be signed in to change notification settings

Couchtr26/Offer_Builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧰 Sales Copy Generator Web App
This project is a Flask-based web app that generates multiple types of sales content using OpenAI's GPT models. It allows users to input basic product information and automatically generates:

3 short sales offers

3 cold email pitches

3 social media ads

1 full product page copy

All outputs are saved to CSV for later use or export.

🚀 Features
Simple web form interface (Flask)

Dynamic sales copy generation via OpenAI GPT-4o

CSV export of generated content (Pandas)

API key protection via dotenv

Fully local deployment (no cloud hosting required)

⚙ How It Works
User submits product, audience, benefit, and tone.

The app sends the data to the generate_offer() function via OpenAI API.

GPT-4o returns multiple pre-formatted sales assets.

The results are rendered in HTML and exported to CSV.

🧮 Tech Stack
Python

Flask

OpenAI API

Pandas

python-dotenv

📦 Installation
1️⃣ Clone repo:

bash
Copy
Edit
git clone <your-repo-url>
cd <your-repo-directory>
2️⃣ Install dependencies:

bash
Copy
Edit
pip install -r requirements.txt
3️⃣ Set up your OpenAI API key:

Create a .env file.

Add your API key:

bash
Copy
Edit
OPENAI_API_KEY=your-api-key-here
4️⃣ Run locally:

bash
Copy
Edit
python app.py
📝 Files
app.py — Main Flask web app

generator.py — Content generation logic using OpenAI GPT

requirements.txt — All required Python dependencies

About

The Sales Copy Generator is a Flask-based web application that allows users to generate fully customized sales and marketing copy using OpenAI's GPT-4o model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages