📌 Quick Context:
Want AI to provide smarter, more relevant answers instead of generic responses? Use the “If-Then” structure in your prompts. This helps AI evaluate conditions and give context-aware suggestions tailored to your needs.
How to Do It in 3 Steps:
🔹 Step 1: Define the Condition ("If")
Clearly specify the situation or requirement that should guide AI’s response.
Example:
👉 If I have a budget of $500 for travel…
👉 If I’m a beginner in coding…
🔹 Step 2: Specify the Outcome ("Then")
Tell AI exactly what you want it to do when the condition is met.
Example:
👉 If I have a budget of $500 for travel, then suggest destinations that fit within that budget.
👉 If I’m a beginner in coding, then recommend an easy language to start with and a beginner-friendly project.
🔹 Step 3: Add Multiple Conditions for Complex Logic
For more nuanced responses, add multiple conditions.
Example:
👉 If I have a budget of $500 for travel AND can only travel in October, then suggest destinations that fit within that budget and time constraint.
👉 If I’m a beginner in coding AND I’m passionate about bird watching, then recommend an easy language to start with and a beginner-friendly project.
More Examples of If-Then Prompts
🧳 Travel & Leisure
👉 If I have a budget of $500 for a trip, then suggest destinations that fit within that budget.
👉 If I want to visit Europe but avoid tourist crowds, then recommend underrated cities.
🧑🏫 Learning & Education
👉 If I’m a complete beginner in coding, then recommend an easy language to start with and a beginner-friendly project.
👉 If I want to learn history in an engaging way, then suggest interactive methods like games or documentaries.
📈 Career & Productivity
👉 If I only have 15 minutes to improve my productivity, then suggest a quick technique I can apply right now.
👉 If I want to switch careers to data science, then outline the first three steps I should take.
📺 Entertainment & Hobbies
👉 If I love cyberpunk movies, then recommend books with a similar theme.
👉 If I enjoy strategy board games, then suggest a new one based on my interest in Risk and Catan.
🏃 Health & Fitness
👉 If I only have 10 minutes to exercise, then suggest an effective workout routine.
👉 If I need a high-protein meal under 500 calories, then give me a simple recipe.
🧑💻 Technology & AI
👉 If I want to automate boring tasks, then suggest beginner-friendly AI tools I can use.
👉 If I’m new to prompt engineering, then teach me one simple technique to improve my prompts.
Try It Yourself!
Use this format in your next chatbot query: "If I [condition], then [desired response]."
Happy prompting!