๐Ÿซ The โ€œIf-Thenโ€ Prompt for Decision-Making

Use If-Then prompts to get smarter, more relevant AI answers by guiding responses with clear conditions and outcomes.

๐Ÿ“Œ 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!

Reply

or to participate.