Overview
The Templates module allows you to create, organize, and quickly access pre-written message templates. This guide covers everything you need to know about working with templates.Understanding Template Types
The system supports two types of templates:Predefined Templates
Type 1: System-wide templates available to all users. These are pre-configured and cannot be deleted by regular users.
Custom Templates
Type 2: User-created templates. You can create, edit, and delete your own custom templates.
Creating a New Template
Enter Template Name
Type a unique name for your template. The system validates in real-time:
- ✅ Shows “Nombre válido” if the name is available
- ❌ Shows error if name already exists or contains invalid characters
Configure Opening Message
Enter the opening message content in the “Apertura” field. This is the message shown when the interaction starts.You can include:
- Formatted text
- Line breaks
- Special characters
Configure Closing Message
Enter the closing message content in the “Cierre” field. This is the message shown when concluding the interaction.
Select a Color (Optional)
Choose a color to visually identify your template:
- Blue, Green, Red, Purple
- Yellow, Pink, Cyan, Orange
Using Templates
Opening a Template
Copying Template Text
Copy Opening or Closing
Click either:
- “Copiar texto” under the Opening section
- “Copiar texto” under the Closing section
Managing Templates
Editing a Template
Deleting a Template
You can only edit or delete templates you created. Predefined templates and templates created by others are read-only.
Favorites System
Adding to Favorites
Removing from Favorites
Color Customization
Select Color
Choose from the available color palette:
- Blue:
#3b82f6 - Green:
#10b981 - Red:
#ef4444 - Purple:
#a855f7 - Yellow:
#f59e0b - Pink:
#ec4899 - Cyan:
#06b6d4 - Orange:
#f97316
Searching Templates
Basic Search
Advanced Content Search
If enabled in preferences, you can search template content:Enable Content Search
Check the preferences to enable searching within template content (opening and closing messages).
Search
Enter your search term. Results show:
- Templates with matching names
- Templates with matching content (marked with 📄 indicator)
Filtering Templates
Exporting Templates
Wait for Processing
The system generates an Excel file containing:
- Template names
- Type
- Creator
- Opening message (HTML stripped)
- Closing message (HTML stripped)
Advanced Features
Template Caching
The system uses intelligent caching to improve performance:- Local Storage: Templates are cached in browser local storage
- 5-Minute Validity: Cache refreshes every 5 minutes
- Background Sync: Changes sync in real-time via Firebase listeners
Real-Time Collaboration
The system supports real-time updates:- Changes made by other users appear automatically
- Your favorites sync across all your devices
- No manual refresh needed
Current Duty Manager Display
The templates page includes a live display of the current duty manager:Automatic Detection
The system:
- Reads today’s schedules
- Checks shift times
- Determines who is currently on duty
Best Practices
Use Descriptive Names
Give templates clear, searchable names that describe their purpose.
Organize with Colors
Use colors to group related templates (e.g., all customer service templates in blue).
Favorite Your Most Used
Star frequently-used templates for quick access.
Keep Content Updated
Regularly review and update template content to ensure accuracy.
Troubleshooting
Template not saving
Template not saving
Solution: Check that:
- The template name is unique
- You have internet connectivity
- The name doesn’t contain special characters
Cannot edit or delete template
Cannot edit or delete template
Solution: You can only edit/delete templates you created. Check that:
- The template shows your username as creator
- You’re logged in with the correct account
- The template is Type 2 (custom)
Favorites not syncing
Favorites not syncing
Solution: Favorites are stored per user. Ensure:
- You’re logged in with the same account on all devices
- Firebase has connectivity
- Local storage is enabled in your browser
Copied text has wrong format
Copied text has wrong format
Solution: The system strips HTML tags when copying. If you need formatted text:
- Copy manually from the preview
- Or paste into a rich text editor that preserves formatting
Related Resources
Managing Schedules
Learn about shift scheduling
Working with Procedures
Access documented procedures
