Overview
Custom Prompts let you create your own AI prompt library by loading database pages as sources for AI interactions. This feature enables you to build standardized, reusable prompts that incorporate your own content, ensuring consistent AI responses across your team.Custom Prompts were introduced in v0.9.3 and work with both AI Chat and the Ask AI feature in documents.
What Are Custom Prompts?
Custom Prompts turn your database pages into AI prompt templates:- Database-powered - Store prompts in structured database format
- Reusable - Use the same prompt multiple times across different contexts
- Customizable - Tailor prompts to your specific workflows and needs
- Team-wide - Share prompt libraries with your team members
Creating Custom Prompts
Add Prompt Fields
Set up your database with these essential properties:
- Prompt Name (Text) - The title/name of your prompt
- Prompt Content (Text) - The actual prompt text
- Category (Select) - Optional categorization (Writing, Coding, Analysis, etc.)
- Tags (Multi-select) - Optional tags for filtering
Using Custom Prompts
In AI Chat
Open Prompt Menu
Click the prompt icon in the chat input area or type
/ to open the prompt selector.Apply the Prompt
The prompt content is applied to your message. Add any additional context or variables.
In Document Ask AI
- Select text in your document
- Open the Ask AI menu (
Cmd/Ctrl + /) - Choose a custom prompt from your library
- The AI applies the prompt to your selected content
Custom Prompt Examples
Writing Prompts
Content Improvement
Content Improvement
Name: Improve ClarityPrompt:
Tone Adjustment
Tone Adjustment
Name: Make ProfessionalPrompt:
Format Conversion
Format Conversion
Name: Convert to EmailPrompt:
Analysis Prompts
Meeting Summary
Meeting Summary
Name: Summarize MeetingPrompt:
Document Review
Document Review
Name: Review ProposalPrompt:
Development Prompts
Code Review
Code Review
Name: Code Review ChecklistPrompt:
API Documentation
API Documentation
Name: Generate API DocsPrompt:
Advanced Custom Prompts
Parameterized Prompts
Create prompts with placeholders for variables:Multi-Step Prompts
Create complex prompts with multiple stages:Context-Rich Prompts
Include context and constraints in your prompts:Organizing Your Prompt Library
Database Structure
Optimal database setup for Custom Prompts:| Property | Type | Purpose |
|---|---|---|
| Name | Text | Prompt identifier |
| Prompt | Text | The actual prompt content |
| Category | Select | Group by type (Writing, Code, Analysis) |
| Use Case | Multi-select | Specific applications |
| Model | Select | Best AI model for this prompt |
| Variables | Text | List of placeholders to fill |
| Version | Number | Track prompt iterations |
| Last Used | Date | Track usage frequency |
Categories to Consider
Content Creation
Writing, editing, formatting, and content improvement prompts
Analysis
Summarization, review, comparison, and evaluation prompts
Development
Code review, documentation, debugging, and testing prompts
Planning
Project planning, brainstorming, and strategy prompts
Using Views for Organization
Create different database views for prompt organization:- By Category - Board view grouped by Category
- By Frequency - Sort by Last Used date
- By Project - Filter prompts for specific projects
- Favorites - Filter for most-used prompts
Sharing Custom Prompts
Team Prompt Libraries
Share your prompt database with team members:- Set appropriate sharing permissions on the database page
- Team members can load the shared database as custom prompts
- Everyone uses the same standardized prompts
- Update prompts centrally for entire team
When you update prompts in the database, changes are immediately available to everyone using that database as a custom prompt source.
Project-Specific Prompts
Create separate prompt databases for different projects:- Marketing Prompts - Social media, blog posts, campaigns
- Engineering Prompts - Code review, documentation, architecture
- Product Prompts - User stories, feature specs, requirements
- Support Prompts - Response templates, troubleshooting guides
Best Practices
Be Specific
Clear, detailed prompts produce better AI responses. Include format, tone, and length requirements.
Test and Iterate
Refine prompts based on AI outputs. Track versions to compare effectiveness.
Include Examples
Add example outputs in your prompts to guide the AI’s response format.
Document Variables
List all placeholders and variables that need to be filled when using the prompt.
Writing Effective Prompts
Troubleshooting
Prompts Not Appearing
If your custom prompts don’t show up:- Verify the database page is loaded as a custom prompt source
- Check that the database has the correct property names
- Ensure the database has at least one row with prompt content
- Reload the custom prompt source
Inconsistent AI Responses
If the AI gives varying results with the same prompt:- Make the prompt more specific and detailed
- Include examples of desired outputs
- Specify format and structure requirements
- Mention what to avoid or exclude
Managing Multiple Prompt Libraries
- Use clear naming for database pages: “Team Prompts - Marketing”
- Unload unused prompt libraries to reduce clutter
- Create a master database linking to all prompt libraries
- Document which prompts work best with which AI models
Custom Prompts vs. AppFlowy Prompt Library
| Feature | Custom Prompts | Built-in Library |
|---|---|---|
| Source | Your database pages | Pre-built by AppFlowy |
| Customization | Fully customizable | Fixed prompts |
| Sharing | Share with team | Available to all users |
| Updates | You control updates | Updated by AppFlowy |
| Use Case | Organization-specific | General purpose |
Related Features
AI Chat
Use custom prompts in interactive AI conversations
Databases
Learn more about creating and organizing databases
Templates
Create reusable document and database templates
Collaboration
Share prompt libraries with your team