Skip to main content

Custom Prompts

Create personalized AI prompts tailored to your specific needs.

Why Custom Prompts?​

While Dialogix includes 25+ built-in prompts, you might need actions specific to your work:

  • Technical writers — "Convert to API documentation format"
  • Marketers — "Rewrite for our brand voice"
  • Developers — "Convert to TypeScript types"
  • Support teams — "Draft customer response"

Custom prompts let you save these as one-click actions.

Creating a Custom Prompt​

  1. Open the Options Page (right-click Dialogix icon → Options)
  2. Navigate to the Prompts section
  3. Click Add Custom Prompt
  4. Fill in the details:
FieldDescription
NameShort name shown in the popup (e.g., "To TypeScript")
IconChoose from available icons
PromptThe full prompt sent to the AI
EnabledWhether to show in the action popup
PinnedShow at the top of the action list

Using Placeholders​

Make your prompts dynamic with these placeholders:

${input} — Selected Text​

The text the user selected on the page.

Translate this to Spanish: ${input}

${lang} — Target Language​

The user's preferred language (set in options).

Summarize in ${lang}: ${input}

Prompt Writing Tips​

Be Specific​

❌ "Make this better"
✅ "Rewrite to be more concise while maintaining a professional tone"

Use Delimiters​

Wrap input in clear delimiters to help the AI distinguish your instructions from the content:

Rewrite the text between triple quotes to be more formal:
"""${input}"""

Request Output Format​

Tell the AI exactly what you want back:

Summarize in bullet points. Output only the bullets, no introduction.
"""${input}"""

Specify Language Behavior​

For multilingual use cases:

Respond in the same language as the input text.

Example Custom Prompts​

Code Review​

Review this code for bugs, security issues, and performance problems.
Provide feedback as a numbered list.
"""${input}"""

Brand Voice Rewrite​

Rewrite this text in our brand voice: friendly, professional, and slightly playful.
Keep the same meaning but adjust the tone.
"""${input}"""
Respond in ${lang}.

Email Response​

Draft a professional email response to this message.
Be helpful and solution-oriented.
"""${input}"""

SQL to Explanation​

Explain what this SQL query does in plain English.
Include what tables are accessed and what the output would contain.
"""${input}"""

Managing Prompts​

Enable/Disable​

Toggle prompts on or off without deleting them. Disabled prompts won't appear in the popup.

Pin to Top​

Pin your most-used prompts so they appear first in the popup menu.

Reorder​

Drag and drop to reorder prompts in your preferred sequence.

Delete​

Remove custom prompts you no longer need. Built-in prompts can be disabled but not deleted.

Best Practices​

  1. Start simple — Begin with a basic prompt and refine based on results
  2. Test thoroughly — Try your prompt with different types of text
  3. Use max tokens wisely — Set a reasonable limit for each prompt
  4. Document your prompts — Keep notes on what each custom prompt does