Documentation

PromptPlan Template Fields: Short Text, Long Text, and Select Inputs

Understand PromptPlan field types and best practices for clean, reusable template input design.

Updated 2026-03-08

#fields#input design#templates

Field purpose

Fields define the input form users fill before running a template.

Supported field types

short_text

Use for compact values:

  • audience
  • product name
  • language

long_text

Use for larger context:

  • article body
  • code diff
  • meeting notes

select

Use for controlled options:

  • tone: neutral, direct, friendly
  • output depth: brief, standard, deep

Good field design

  • Keep names stable and machine-friendly: article_text
  • Keep labels human-friendly: "Article text"
  • Mark only truly required fields as required
  • Use default values when they save time

Example field mapping

Prompt body:

text
Explain this for {{audience}} in a {{tone}} tone:
{{article_text}}

Fields:

  • audience (short_text)
  • tone (select)
  • article_text (long_text)

Related reading

PreviousPromptPlan Templates Explained: Structure, Fields, and Reuse
NextRunning Templates in PromptPlan: Validation, Rendering, and Output