Skip to main content
All CollectionsPromptsInputs & Snippets
Input Variable: Select Type
Input Variable: Select Type

Learn how to effectively use the Input Variable Select Type in Promptitude for better prompt management!

Promptitude Team avatar
Written by Promptitude Team
Updated this week

If you're not familiar with input variables and their function, we recommend reviewing them before proceeding. ;-) Input Variable "Select" Type allows you to create a list of options for users to choose from, making your prompts more interactive and tailored to their needs.

What is Input Variable Select Type?

The Input Variable Select Type is a format that enables you to provide users with a list of options. This allows them to select one or more choices, which will then be incorporated into your prompt. It’s a great way to gather specific information without overwhelming users with too many choices at once.

To set up your Input Variable Select Type, you’ll need to understand the following components:

📌 Basic Fields: Required Information

  • Label: This is the name of your field. It should be clear and descriptive.

  • Type: For this feature, you will select "Select."

  • Name: This is the identifier that will be used in your prompt. It should be enclosed in double brackets.

  • Options: Here, you will list the choices available to the user. You can add options by pressing enter or remove them using the trash can icon.

  • Default Value: This is the pre-selected option that will appear when the prompt is first displayed. It’s usually the first item in your list.

  • Content Limit: This sets a maximum number of words for the input.

📌 Advanced Fields: Optional Enhancements

In addition to the basic fields, you have some optional advanced fields that can enhance your input visually when used in the form:

  • Help Text: This is additional information that can guide users on how to use the field.

  • Placeholder: This text appears within the field to provide hints about what to enter.

  • User needs to select: This option indicates whether users must make a selection.

  • Display: You can choose how the options will be displayed (e.g., dropdown or checkboxes).

👌🏻 Tips for Effective Use

To make the most of this input, consider the following tips:

  • Keep Options Concise: Avoid lengthy descriptions for each option. Short and clear options enhance usability.

  • Test Different Displays: Depending on the number of options, try different display formats (like dropdowns for large lists) to see what works best.

  • Preview Your Prompt: Always use the Preview Prompt feature to ensure that everything is functioning as expected.

✏️ Example in Action

Let’s say you want to create a prompt that asks users to select a tone for their email response. You could set it up like this:

  • Label: Email Tone

  • Type: Select

  • Name: [email_tone]

  • Options:

    • Professional

    • Casual

    • Friendly

    • Assertive

  • Default Value: Professional

Try one of the many suggestions from the Inspiration Library. Check it out here: Compose Professional Email Responses

Remember, by understanding its components and following best practices, you can create effective prompts that meet your business needs.

Happy prompting!

Did this answer your question?