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:
- Request to reschedule the meeting
- Acknowledge previous changes
- Emphasize importance of locking in a time
- Maintain a polite and professional tone
🪄 Step 2: First Draft
Write a professional email using these key points:
- Request to reschedule the meeting
- Acknowledge previous changes
- Emphasize importance of locking in a time
- Maintain a polite and professional tone
Example Output:
Subject: Request to Confirm New Meeting Time
Hi [Client Name],
I hope you're doing well. I wanted to follow up regarding our meeting. I understand schedules can shift, and I appreciate your time so far.
Would it be possible to reschedule to a time that works best for you? Given the importance of this discussion, I’d like to ensure we can confirm a time that works for both of us.
Looking forward to your reply,
[Your Name]
🎯 Step 3: Polish the Final Version
Improve the following email for clarity and tone, and make it slightly more concise:
Example Input:
Hi [Client Name],
I hope you're doing well. I wanted to follow up regarding our meeting. I understand schedules can shift, and I appreciate your time so far.
Would it be possible to reschedule to a time that works best for you? Given the importance of this discussion, I’d like to ensure we can confirm a time that works for both of us.
Looking forward to your reply,
[Your Name]
Example Output:
Subject: Request to Reschedule
Hi [Client Name],
Hope you're doing well. I wanted to follow up on our meeting and see if we could confirm a new time. I understand things come up and appreciate your flexibility.
Given the importance of our discussion, I’d love to lock in a time that works for us both.
Best,
[Your Name]
🧠 Final Thoughts
Prompt chaining is a great next step in your AI journey. It helps you guide the model step-by-step — just like working with a human assistant. You stay in control while letting the AI do the heavy lifting.
Comments
Post a Comment