beginner 7 min read
View as Markdown

Getting Started with Prompts - Create Your First AI Prompt Template

Learn how to create, save, and use dynamic prompt templates in DatBot.AI. Master the prompt system to build powerful, reusable AI workflows.

Prerequisites

  • DatBot.AI account

Create Your First Prompt Template

Prompt templates are the building blocks of automation in DatBot.AI. They let you save, organize, and reuse your best prompts with dynamic variables* that adapt to any situation.

*What are dynamic variables? Think of them like blanks in a Mad Libs game. You write a prompt once with blanks like ${customer name} or ${product}, and each time you use it, you fill in those blanks with different information. This turns one prompt into a reusable template that works for any customer, any product, or any situation!

Why Use Prompt Templates?

  • Save Time: Stop rewriting similar prompts
  • Stay Organized: Keep prompts in folders by project or purpose
  • Build Workflows: Chain prompts together for complex automation
  • Share with Teams: Let colleagues use your proven prompts

Step-by-Step Guide

1. Click “Add Prompt”

Start by clicking the “Add Prompt” button in the bottom right corner of your screen.

Add Prompt button location

2. Name Your Prompt

Give your prompt a clear, descriptive name. This helps you find it later and tells teammates what it does.

Good names:

  • “Weekly Report Generator”
  • “Customer Email Response”
  • “Code Review Assistant”

Avoid generic names like:

  • “Template 1”
  • “My Prompt”
  • “Test”

3. Choose a Folder

Choosing a folder for your prompt

Select or create a folder to organize your prompt. Folders help you:

  • Group related prompts by project
  • Separate personal and team prompts
  • Build organized workflows

Pro Tip

You’ll need to expand folders to view prompts inside them later. Keep your folder structure simple and logical.

4. Write Your Initial Prompt

Start with a simple version of what you want. Don’t worry about making it perfect - the Magic Prompt feature will help enhance it.

Example starter prompt:

Write a weekly status report for my team

5. Use Magic Prompt ✨

Magic Prompt button

Click the “Magic Prompt” button to automatically enhance your prompt. This AI-powered feature:

  • Adds structure and clarity
  • Suggests dynamic variables
  • Improves output quality
  • Makes prompts more reusable
Enhanced prompt after using Magic Prompt

Your enhanced prompt might look like:

Create a comprehensive weekly status report for ${TEAM_NAME} covering the week starting from ${START_DATE}.

Include the following sections:
1. Key Accomplishments
2. Work in Progress
3. Upcoming Priorities
4. Blockers and Risks
5. Team Member Highlights

(A real prompt will be much longer and more detailed, but you get the idea)

6. Choose Execution Mode

Execution mode selection

Select how your prompt should run:

Standard Mode

  • Runs immediately like a normal chat prompt
  • Best for quick tasks and simple queries
  • Fastest response time

Deep Dive Mode 🔍

  • Comprehensive research mode
  • Analyzes 100-200+ web sources
  • Takes 6-7 minutes to complete
  • Includes citations and source verification
  • Perfect for market research, competitive analysis, or in-depth reports

Quick Report Mode

  • Balanced research option
  • Reviews 20-100 web sources
  • Completes in under 5 minutes
  • Good for time-sensitive research needs

With Search Mode 🔎

  • Includes limited search result summaries
  • Model validates findings against search results
  • Ideal for fact-checking and current events

7. Save and Use Your Prompt

Once saved, your prompt appears in the right-hand prompt panel, organized in your chosen folder.

Prompt saved in folder

Using Your Saved Prompts

Single Prompt Execution

  1. Expand the folder containing your prompt
  2. Click on the prompt name
  3. Fill in any dynamic variables in the popup window
  4. Submit to run the prompt
Dynamic variable input window

If your prompt has no variables, it will go straight to the chat input for immediate use.

Workflow Execution (Multiple Prompts)

Run all prompts in a folder as an automated workflow:

  1. Click the play button (▶️) next to any folder
  2. Fill in all variables for all prompts at once
  3. Watch as each prompt runs automatically in sequence
  4. Get combined results from your entire workflow

This is perfect for:

  • Multi-step content creation
  • Comprehensive analysis workflows
  • Automated reporting sequences
  • Complex problem-solving chains

Best Practices

Organizing Prompts

Create a folder structure that makes sense for your work:

📁 Marketing
  └── Social Media
  └── Email Campaigns
  └── Blog Writing
📁 Development
  └── Code Reviews
  └── Documentation
  └── Bug Analysis
📁 Personal
  └── Learning
  └── Planning

Writing Effective Prompts

  1. Use descriptive variable names: ${customerName} not ${name} - this is for your own benefit later when you forgot what you made.
  2. Set clear constraints: Length, tone, style preferences

Variable Best Practices

Good variable examples:

  • ${target audience}
  • ${DATE_RANGE}
  • ${Product Name}
  • ${maxWords} All of the above formats are allowed

Tips:

  • Be descriptive with using magic prompt - it will optimize for exactly what you tell it
  • USE MAGIC PROMPT (seriously, it’s better than … the vast majority of us flesh creatures at writing prompts)
  • Keep variable names consistent across related prompts - the workflow execution will ‘remember’ and coalesce all of the same named variables across the workflow, so you’ll see something like (used 35 times)- save yourself typing!

Troubleshooting

Common Issues

Prompt not appearing in folder:

  • Check you’re looking in the correct folder
  • Expand the folder (click the folder icon)
  • Scroll down (might be off-screen)
  • Refresh the page

Variables not working:

  • Use template literal syntax: ${variable}
  • Avoid spaces in variable names
  • Check for typos

Workflow stopping mid-execution:

  • Check for errors in variable references
  • Ensure all required variables are filled
  • Verify execution mode compatibility

Prompt right side panel isn’t showing up

  • Click the arrow in the top right (or the right burger menu on mobile) - it’s collapsed
  • Still not showing up? You might be logged out - go back to https://chat.datbot.ai and log in again

What’s Next?

Now that you’ve created your first prompt template:

Persona-Specific Guides

Looking for prompts tailored to your role? Check out our specialized guides:

You’re Ready!

Start building your prompt library and watch your productivity soar. Remember, the best prompts are the ones you refine over time.