Use variables in custom prompts
Add flexible placeholders to prompts that users fill in each time, eliminating the need to create separate prompts for similar tasks.
Variables are blank fields in your prompt that users fill in each time they use it. Instead of creating separate prompts for similar tasks, you create 1 prompt with variables that change.
For example, instead of creating separate prompts for drafting letters to different people, you create 1 prompt with a
{{recipient name}}
variable. Users fill in a different name each time they use the prompt.Variable types
CoCounsel offers 3 types of variables:
- Manual Entry: Users type their own text (names, dates, amounts, custom questions).
- Multiple Choice: Users select from options you create (document types, party roles, urgency levels).
- Files/Databases: Users upload documents (contracts, correspondence, discovery materials).
Add a variable to your prompt
- When creating or editing a prompt, locate theInsert variablebutton, then selectInsert variable.
- Choose the variable type that matches what users need to provide.
Use Manual Entry variables
Manual Entry
variablesWhen to use
Manual Entry
:- Client or party names
- Specific dates or time periods
- Dollar amounts or numbers
- Jurisdictions
- Custom questions or instructions
- Any unique text that changes each time
- SelectManual Entryfrom the dropdown.
- Enter a descriptive title for the variable, for example client name, case number, or jurisdiction.
Use Multiple Choice variables
Multiple Choice
variablesWhen to use
Multiple Choice
:- Party selection (Plaintiff/Defendant/Third Party)
- Document types (Motion to Dismiss/Motion for Summary Judgment)
- Litigation stages (Initial Discovery/Expert Discovery)
- Yes/No decisions or standard choices
- Governing law selections
- Select Multiple Choice from the dropdown.
- Enter a title for your variable, for example Select party role or Document type.
- To add options, select+ Addoption. Additional fields will appear.
- To remove an option, select the trash can icon next to that option.
Use Files/Databases variables
Files/Databases
variablesWhen to use Files/Databases:
- Contracts for review or analysis
- Documents to compare
- Discovery materials to summarize
- Precedent documents to reference
- SelectFiles/Databasesfrom the dropdown.
- Enter a title for the variable, for example contract to review, opposing counsel letter, or financial statements.
- Users will see a file upload button when they use your prompt.
important
Users must fill in all
Manual Entry
fields, select from all Multiple Choice
dropdowns, and upload all required files before selecting Submit
.