With Custom Prompts you define the text that ThunderAI sends to the AI service, together with the email you are reading or writing. Your prompts appear in the ThunderAI menus next to the built-in ones.

Open the Manage Prompts page with the Manage your promptsManage your prompts button in the add-on options.

The Manage Prompts page: the prompt list on the left, the selected prompt on the right The Manage Prompts page: the prompt list on the left, the selected prompt on the right
The Manage Prompts page in the Detail view

The page

The page shows all your prompts and the built-in ones in a single list. Next to the name, each prompt has a badge:

  • Personal: a prompt you created. You can change it or delete it.
  • System: a built-in prompt. It is read-only and is marked with a padlock.
  • Organization: a prompt set by your organization's configuration (see below). It is read-only.

The search box filters the list by name, ID or prompt text.

The list has two views, and you switch between them with the DetailDetail and TableTable buttons:

  • Detail: the list is on the left, and the selected prompt opens on the right, where you can change it.
  • Table: one row per prompt, with its text, the menu it is in, the action and its options. Click EditEdit (or OpenOpen on a read-only prompt) to open it in the Detail view. The More actionsMore actions button gives more actions: Duplicate, Export and Delete.
The Table view of the Manage Prompts page The Table view of the Manage Prompts page
The Table view

Every change is saved immediately. There is no "Save all" button. When you click SaveSave on a prompt, or delete or import prompts, the change is stored and the menus are updated at once.
If you leave a prompt with changes you have not saved, ThunderAI asks whether to apply them or discard them.

Creating a prompt

Click + New prompt+ New prompt, fill in the fields, then click SaveSave.

  • ID: the unique identifier of the prompt. It must be lowercase, with no spaces. While the field is empty, ThunderAI builds the ID from the name as you type it.
  • Name: the text shown in the menus. It cannot contain the % character.
  • Prompt Text: the text sent to the AI service. You can use the data placeholders here: type {% to get the list of the available ones. A known placeholder is highlighted. An unknown one is shown in red, and one that does not work with the menu you chose (for example a compose-only placeholder in a prompt shown when reading) is shown in amber.
  • Add to menu: when the prompt is shown:
    • Always: when reading and when composing an email.
    • Reading an email: only when reading.
    • Composing an email: only when composing.
  • Action: what happens with the answer of the AI service:
    • Close button: the answer is only shown, and the AI chat window can be closed.
    • Do reply: a new compose window opens, replying to the selected message with the answer (as the built-in "Reply to this email" prompt does).
    • Substitute text: the answer replaces the original text in the email you are writing.

Options

Five switches change how the prompt works:

  • Text selection needed: the prompt works only on the selected text.
  • Always add the signature: the signature defined in the options is always added.
  • Ask for additional text: after the AI chat window opens, ThunderAI asks for some text, which is added to the prompt. Use it with the {%additional_text%} placeholder.
  • Define the response language in the prompt: a statement with the default language, set in the add-on options, is added to the prompt. If no default language is set, the statement is "Reply in the same language".
  • Enable the text comparison viewer: it adds a button to the AI chat window that shows the differences between the original text and the one proposed by the AI. It is useful for "rewrite" prompts. It is available only when the Action is Substitute text.

If the prompt text uses {%additional_text%}, {%selected_text%} or {%selected_html%} but the matching switch is off, the switch is highlighted.

A connection for each prompt

By default, a prompt uses the connection set in the add-on options. Open the Connection [API] section to choose a different AI service, model or server for one prompt only. ResetReset clears these settings: after you click SaveSave, the prompt goes back to the global connection.

The Connection section of a prompt, set to use a different Ollama server The Connection section of a prompt, set to use a different Ollama server
A prompt that uses its own Ollama server

When the global connection is ChatGPT Web and the prompt has no connection of its own, a ChatGPT Web section lets you choose a model, a project or a custom GPT for this prompt.

Built-in prompts

The built-in (System) prompts cannot be changed. The only option you can change is Ask for additional text. The other options are marked "fixed by the prompt".

To make your own version of a built-in prompt, click Duplicate and editDuplicate and edit. The copy is a new personal prompt, with the same text and options, that you can change freely.

A built-in prompt open in the Detail view, read-only A built-in prompt open in the Detail view, read-only
A built-in prompt is read-only

Showing, hiding and ordering the prompts

This page defines what a prompt does. Where it appears is set on the Menu Order page, opened with the Manage menu order settingsManage menu order settings button in the add-on options: there you can reorder the prompts in the menus, and hide a prompt (built-in ones too) by dragging it into the "Hidden items" section.
The Menu positionMenu position button at the top of a prompt opens the Menu Order page and highlights that prompt.

Other actions

  • DuplicateDuplicate: creates a copy of a personal prompt.
  • DeleteDelete: deletes a personal prompt, after a confirmation.
  • Export all promptsExport all prompts: saves all the prompts to a file. ThunderAI asks whether to include the connection settings: if you include them, the file also contains the API keys. You can also export a single prompt from the More actionsMore actions menu in the Table view.
  • Import new promptsImport new prompts: loads prompts from an exported file. Prompts with an ID already in the list are overwritten, and prompts with a new ID are added. The imported prompts are saved immediately, so ThunderAI asks for a confirmation first.
  • Manage your data placeholdersManage your data placeholders: opens the page where you define your own data placeholders.

Prompts managed by your organization

If your organization configures ThunderAI with a policy, the page can show some differences:

  • Organization prompts are read-only. If one has the same ID as one of your prompts, yours is kept but disabled, and it works again if the organization prompt is removed.
  • If prompt management is disabled, you cannot create, duplicate, import or export prompts, and your own prompts are read-only and are not shown in the menus. They are not deleted.
  • If the built-in prompts are disabled, they are still listed here, but they are not shown in the menus.

Administrators can find the details in the Enterprise Configuration Guide.


Go back to addon page