How to Chain Prompts Together: Email Drafting Edition
So far, you’ve learned the basics of prompt engineering and built a custom assistant. Now, let’s take it up a notch by creating a multi-step AI workflow — using prompt chaining. We’ll walk through a real-world task: drafting the perfect email. 🔗 What is Prompt Chaining? Prompt chaining means using the output of one AI prompt as the input for the next. It’s a way to break complex tasks into smaller, manageable steps — and guide the AI to better results. ✉️ Use Case: Writing a Polished Email We’ll guide the AI through 3 steps: Generate key points Create a rough email draft Polish the final version 🧱 Step 1: Gather Key Points You are a professional assistant. Ask the user what the email is about, who it's for, and what tone they want to use. Then summarize the key points to include. Example Input: I need to email a client about rescheduling our meeting. I want to stay polite but firm. They’ve rescheduled twice already. Example Output: Key Points: ...