THE PROMPT FACTORY
Build custom AI prompts that automate your repetitive work
Want us to build your automation system?
Book a 30-minute strategy call to discuss your operations infrastructure
These prompts turn your manual repetitive work into one-click automation.
You do the work once to build the tool. Then you never do the manual labor again.
Look at your to-do list. It is full of grunt work. You sit there doing tons of manual repetitive client delivery and operations.
This is a waste of your brain.
We are going to stop that. We will take the manual tasks you hate doing and turn them into a one-click action.
To make this happen, we use a specific process. We are going to make the AI build these tools for you. You will hire three virtual employees in the next ten minutes. A consultant to find the bottleneck. An architect to plan the logic. An engineer to build the solution.
Before we start
Open Gemini. We are processing complex logic. You need a model that pays attention. Gemini holds context better than the others for this specific workflow.
Critical: Keep the same chat window
You must do this entire process in a single chat window. Do not refresh the page. Do not start a new conversation for the next step. The AI builds on its own memory. If you break the chain, the system fails.
Get your data ready. Open the documents you created from the prerequisite resources.
Your Offer Memo
What you sell
Your Lead Magnet
The context
The right tool for this
The consultant
You should not guess what to automate. You will guess wrong. You are too close to your own operations. You accept slow, manual grunt work because you have always done it that way.
We need an objective set of eyes to look at your process and find the friction. We are going to ask the AI to act as a consultant.
It will analyze what you sell and how you get leads. Then it will list the exact steps you are taking manually to bridge that gap. The AI will return a list of specific tasks tailored to your offer. These are your "Automation Opportunities."
Highest cognitive load
The task you procrastinate on because it requires too much thinking
Most repetitive
The task you do every single day or week that feels like grunt work
Revenue-adjacent
Tasks that directly impact revenue - lead nurturing, proposal writing, follow-ups
Read through the list the AI gives you. Find the one that takes up the most mental energy. The one you procrastinate on. That is the target.
The Consultant Prompt
Analyzes your business to find the exact manual tasks that should be automated. Returns a prioritized list of 'Automation Opportunities.'
# ROLE DEFINITION
You are the **AI Operations Architect & Conversion Systems Analyst**. Your expertise lies in deconstructing B2B sales funnels, identifying "operational drag" (repetitive, high-cognitive-load manual tasks), and designing generative AI workflows to eliminate that friction. You view business processes not as abstract concepts, but as sequences of logic that can be engineered into prompt chains.
# CONTEXT & OBJECTIVE
The user will provide two foundational business assets:
1. **The Offer Memo:** Defines the product/service, the target pricing, the mechanism, and the ideal client.
2. **The Lead Magnet:** Defines the entry point, the free value provided, and the initial intent of the lead.
Your mission is to analyze the "Conversion Gap" between these two assets. You must identify 5-10 specific, high-value opportunities where manual human effort is currently wasted and can be replaced or optimized by a **Generative AI Prompt Sequence**.
# CRITICAL DISTINCTION
Focus on **"Prompt-able" Automation**, not just software automation.
* *Software Automation:* Moving data from A to B (e.g., Zapier).
* *Prompt-able Automation:* Tasks requiring reasoning, creativity, synthesis, or analysis (e.g., "Read this lead's LinkedIn profile and write a personalized connection request based on my Offer"). **Focus solely on this category.**
# STEP-BY-STEP ANALYSIS LOGIC
1. **Asset Decoding:** Analyze the Offer Memo to understand the complexity and cost of the sale. Analyze the Lead Magnet to understand the sophistication level of the incoming lead.
2. **Gap Mapping:** Visualize the necessary steps to move a user from consuming the Lead Magnet to purchasing the Offer. (e.g., Nurturing, Qualification, Objection Handling, Meeting Prep, Proposal Writing).
3. **Friction Identification:** Pinpoint steps that currently require:
* Subjective decision-making.
* Custom content creation.
* Data synthesis/research.
4. **Solution Engineering:** Formulate how a specific AI prompt chain could execute this task instantly.
# INPUT DATA
**[OFFER MEMO]**
[PASTE YOUR OFFER MEMO HERE]
**[LEAD MAGNET CONTEXT]**
[PASTE YOUR LEAD MAGNET CONTENT/DESCRIPTION HERE]
# OUTPUT FORMAT REQUIREMENTS
Present your findings as a structured list of 5-10 "Automation Opportunities." You must strictly adhere to the following layout for each item:
## Opportunity [X]
**1. Name of Task:** [Concise, Action-Oriented Title]
**2. The Current Friction:** [Explain specifically why this task is a bottleneck. Is it slow? Does it require too much research? Is it mentally draining?]
**3. The AI Solution:** [Describe the specific Prompt Logic. E.g., "A prompt that takes [Input A] and generates [Output B] using [Framework C]."]
# CONSTRAINT CHECKLIST
* Do not suggest general business advice; stick to **workflow automation**.
* Ensure every suggestion can actually be executed by an LLM (Large Language Model).
* Prioritize tasks that directly impact revenue or save significant founder time.
* Keep the tone professional, analytical, and strategic.
The architect
You have a list of targets. Pick one. Choose the task that drains you the most. The one you are most likely to skip because it feels like work.
Do not try to write the prompt yet. Most people skip this step. They jump straight to writing instructions. This is why their results are average.
Complex tasks require structure. You cannot build a house without a drawing. We are going to ask the AI to design the logic skeleton for you.
It will look at the task and break it down into steps. It will map the inputs and the outputs. It will also tell you if you need one prompt or a sequence of prompts to get the job done.
The Architect Prompt
Designs the logic skeleton for your automation. Returns a 'Prompt Chain Inventory' telling you exactly how many prompts you need to build.
# ROLE DEFINITION
You are the **AI Systems Architect & Logic Engineer**. Your current phase in the development lifecycle is **Technical Specification**. You do not build products yet; you design the architectural blueprints that ensure the final product is robust, logical, and error-free. Your output must be a structural document, not an executable script.
# CONTEXT & GOAL
The user has identified a business process to automate ("The Opportunity") and is now requesting a technical breakdown of *how* that automation will function.
**Your Objective:** Create a detailed **"Prompt Logic Skeleton"** (a technical spec sheet) for the user's selected option. This serves as a validation layer to ensure the workflow is sound before we write the code.
# INPUT DATA
**User Selection:**
[WRITE THE OPTION NUMBER YOU CHOSE FROM STEP 1]
# OPERATIONAL CONSTRAINTS
1. **CHAIN VS. SINGLE:** Determine if this task is simple enough for one prompt, or if it requires a "Prompt Chain" (breaking the task into smaller steps for higher quality). If it is complex, break it down.
2. **NO GENERATION:** Do not write the final prompts yet. Write *about* them.
3. **REALISM:** Only request variables (inputs) that are reasonable for a human to have on hand.
# OUTPUT ARCHITECTURE
Produce a "Prompt Specification Sheet" using the following Markdown structure exactly:
## 1. The Operational Directive
*A single, precise sentence defining the "Definition of Done" for this workflow.*
*(e.g., "Take a raw CSV of leads and output a fully personalized email sequence for each one.")*
## 2. The Prompt Chain Inventory (Crucial)
*Define exactly how many separate prompts we need to build to execute this workflow.*
* **Prompt #1 [Name]:** (e.g., "The Analyzer" - Extracts data from input)
* **Prompt #2 [Name]:** (e.g., "The Drafter" - Uses data from Prompt 1 to write content)
* **Prompt #3 [Name]:** (e.g., "The Formatter" - Turns content into JSON)
*(If only one prompt is needed, just list Prompt #1).*
## 3. Dynamic Variable Schema (The Inputs)
*List the distinct data points the user must provide to start the chain.*
* `{Variable_Name}`: [Description]
## 4. Algorithmic Logic Flow (The "Brain")
*Map the step-by-step cognitive process across the prompts.*
* **Step 1:** ...
* **Step 2:** ...
## 5. Output Interface Design
*Describe the physical look of the final result.*
* **Format:** [Table / Email / JSON / Report]
---
# VALIDATION PROTOCOL
End your response with this exact question:
*"Does this inventory accurately map the workflow? If yes, command me to 'Build Prompt #1'. If no, tell me what to adjust."*
The AI will return a technical document with a "Prompt Chain Inventory." This is your checklist. It tells you exactly how many prompts you need to build in the next step. Review the logic. Make sure it matches how you actually do the work. If it misses a step, tell the AI to fix it now.
The engineer
You have the blueprints. They are useless on their own. You need to build the actual tool.
We are going to turn that logic document into a production-ready prompt. This is the code you will copy and paste to do your work.
The instruction is simple. You run the prompt below once for every item in your inventory. If the Architect told you to build three prompts, you will run this three times.
The Engineer Prompt
Builds the actual production-ready prompt for each step in your chain. Run this once per prompt in your inventory.
# ROLE DEFINITION
You are the **Lead Prompt Engineer & Automation Pipeline Architect**.
Your goal is to systematically build the tools required to execute the "Prompt Chain Inventory" we agreed upon in the previous step. You view prompts as modular code blocks that must function independently but integrate perfectly as a sequence.
# INPUT DATA (USER SELECTION)
**TARGET_TASK:**
[INSERT HERE WHICH PROMPT FROM THE INVENTORY TO BUILD NOW]
# CONTEXTUAL MEMORY & DATABANK
1. **Business DNA:** Recall the User's Offer Memo and Lead Magnet context provided in Step 1.
2. **The Inventory:** Recall the "Prompt Chain Inventory" (the list of prompts) defined in Step 2.
# COMPILATION PROTOCOL (Internal Execution Logic)
Based on the `TARGET_TASK` above, generate the **Production-Grade Prompt** for that specific step. Follow this engineering checklist:
## 1. Inventory Validation
* Confirm which step in the chain this is (e.g., Step 1 of 3, or Step 2 of 3).
## 2. Input/Output Handshaking (Crucial)
* **If this is Prompt #1:** Ensure the input variables are raw data the user possesses (e.g., `{Raw_Transcript}`, `{Website_URL}`).
* **If this is Prompt #2 or later:** You must assume the input comes from the *output* of the previous prompt. Design the input variable to accept that specific format.
* *Example:* If Prompt #1 output a JSON list, Prompt #2's input section must say: `[PASTE_JSON_OUTPUT_FROM_STEP_1]`.
## 3. Business Context Hard-Coding
* Do not make the prompt generic. Implicitly "hard-code" my business constraints (Offer/Lead Magnet details) into the prompt instructions so I don't have to type them every time.
## 4. Chain of Thought Transcription
* Translate the logic from the Blueprint into imperative, step-by-step instructions for the AI model that will run this prompt.
# RESPONSE FORMAT
Your output must look like this:
**[Prompt for {{ TARGET_TASK }}]**
```markdown
# ROLE
[Specific Role]
# CONTEXT
[My Business Context hard-coded here]
# INPUT DATA
[Variable_Name]: [INSERT DATA HERE]
# INSTRUCTIONS
1. ...
2. ...
# OUTPUT FORMAT
[Specific format]
```
The test drive
You have the code. Now we find out if it works.
Open a new chat window. This is important. Do not test this inside the "Prompt Factory" chat you just used. The AI holds too much context there. You want a clean environment to simulate what happens when you run this task next week.
Copy the code block for "Prompt #1"
This is the first prompt the Engineer built for you
Paste it into a fresh chat window
Do not hit enter yet
Replace the input brackets with real data
Delete the [INSERT TRANSCRIPT] or similar brackets and paste your actual data
Run the prompt and check the output
If you have multiple prompts, take the result and feed it into Prompt #2
For prompt chains
If your inventory has multiple prompts, repeat this process. Take the result from Prompt #1, copy it, then paste the code for Prompt #2 and feed it the previous output. Continue until the chain is complete.
The debugger
The first time you run your new tool, it might not be perfect. You might only get 80% of the result you wanted. This is normal.
The tone might sound like a robot. It might miss a specific data point. Do not try to fix the prompt code manually. You will break the logic variables if you mess with the text block.
Let the AI repair itself. It knows the structure better than you do. Reply to the output you didn't like with the text below.
The Debugger Prompt
Fixes prompt issues automatically. Paste the original prompt, the bad output, and explain what went wrong. The AI rewrites the prompt to fix it.
# ROLE DEFINITION You are the **Lead Prompt Optimization Engineer**. Your specialty is "Prompt Debugging" - analyzing why a specific prompt failed to deliver the desired result and rewriting the prompt's internal logic to fix the error permanently. You do not just edit text; you edit the *instructions* that generate the text. # INPUT DATA **1. The Original Prompt:** [PASTE THE PROMPT YOU JUST BUILT] **2. The Output Received:** [PASTE THE RESULT THE AI GAVE YOU] **3. My Feedback (The Error):** [EXPLAIN WHAT WENT WRONG] *(Example: "The tone was too aggressive," "It missed the second step," "The JSON formatting was broken.")* # DIAGNOSTIC PROTOCOL Before rewriting, analyze the friction point: 1. **If the Tone was off:** Adjust the "Persona" and "Context" sections. Add specific negative constraints (e.g., "Do not use hype language"). 2. **If the Logic was wrong:** Rewrite the "Chain of Thought" or "Instructions" section to be more explicit. 3. **If the Format was wrong:** Tighten the "Output Format" section with rigid examples. # OPERATIONAL OBJECTIVE Rewrite the `Original Prompt` to Version 2.0. The new prompt must logically prevent the error described in `My Feedback` from ever happening again. # OUTPUT REQUIREMENTS * **Code Block Only:** Provide **ONLY** the rewritten prompt inside a Markdown code block. * **Ready-to-Run:** The output must be the full, corrected prompt, ready for me to copy and paste into a new chat window. * **Commentary:** You may add a very brief "Change Log" above the code block explaining what you fixed (e.g., *"I added a constraint to prevent sales language"*), but the primary output is the code.
The AI will rewrite the tool. Paste the new code into a fresh window and try again. Repeat until you're happy with the prompt and outcomes.
What you have now
You have just built something 99% of your competitors will never have.
Custom automation tools
Tailored to your exact business and workflow
Hours saved every week
One-click actions replace manual grunt work
A repeatable process
Use this factory to build more tools anytime
Your competitors are still manually writing every email. They are staring at blank pages trying to come up with ideas. You now have a set of custom tools that do the heavy lifting for you.
You press a button. The work gets done.
Want the full automation system installed?
We build AI-powered operations infrastructure for B2B companies. Book a call to see what this looks like for your business.
Book a Strategy Call