Skip to main content

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

1

Create a Database

Create a new database (grid, board, or calendar view) to store your prompts.
2

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
3

Add Your Prompts

Create rows in the database, each representing one prompt:
4

Load as Custom Prompts

In AI Chat or Ask AI:
  1. Click the prompt selector icon
  2. Choose Load Custom Prompts
  3. Select your database page
  4. Your prompts are now available for use

Using Custom Prompts

In AI Chat

1

Open Prompt Menu

Click the prompt icon in the chat input area or type / to open the prompt selector.
2

Select Your Custom Prompt

Browse the prompt library and select your custom prompt from the list.
3

Apply the Prompt

The prompt content is applied to your message. Add any additional context or variables.
4

Send to AI

Press Enter to send the customized prompt to the AI.

In Document Ask AI

  1. Select text in your document
  2. Open the Ask AI menu (Cmd/Ctrl + /)
  3. Choose a custom prompt from your library
  4. The AI applies the prompt to your selected content
You can load multiple database pages as custom prompt sources, organizing prompts by project, team, or use case.

Custom Prompt Examples

Writing Prompts

Name: Improve ClarityPrompt:
Name: Make ProfessionalPrompt:
Name: Convert to EmailPrompt:

Analysis Prompts

Name: Summarize MeetingPrompt:
Name: Review ProposalPrompt:

Development Prompts

Name: Code Review ChecklistPrompt:
Name: Generate API DocsPrompt:

Advanced Custom Prompts

Parameterized Prompts

Create prompts with placeholders for variables:
When using this prompt, replace the bracketed placeholders with specific values.

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:

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:
  1. Set appropriate sharing permissions on the database page
  2. Team members can load the shared database as custom prompts
  3. Everyone uses the same standardized prompts
  4. 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

1

Define the Task

Start with a clear action verb: “Summarize”, “Analyze”, “Generate”, “Review”
2

Provide Context

Include relevant background, constraints, and requirements
3

Specify Format

Define how the output should be structured (bullets, paragraphs, tables)
4

Set Tone and Style

Indicate the desired tone: professional, casual, technical, etc.
5

Add Examples

Show what good output looks like with concrete examples

Troubleshooting

Prompts Not Appearing

If your custom prompts don’t show up:
  1. Verify the database page is loaded as a custom prompt source
  2. Check that the database has the correct property names
  3. Ensure the database has at least one row with prompt content
  4. 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

Use both! Leverage the built-in library for common tasks and create custom prompts for your specific workflows.

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