Guides and Guidance
provide contextual help to user within your data import experience
Flatfile’s Guide system enables you to create and manage contextual help content within your data import experience. The system consists of two main components: Guides (content) and Guidance (display configuration). This separation allows for flexible, targeted help delivery that adapts to different user roles and contexts.
When you implement guides in your space, the system manages content delivery based on user interactions and predetermined triggers, ensuring users receive help exactly when they need it.
Understanding the Guide Architecture
Guides are environment-level resources that contain the actual help content. Guidance configurations are space-level resources that determine how and when those guides are displayed. This architecture offers several key benefits:
- Centralized content management: Update a guide once at the environment level, and the changes propagate to all spaces using that guide
- Consistent messaging: Maintain uniform help content across multiple spaces
- Efficient maintenance: No need to update the same content in multiple spaces
Guides and guidance are coupled by a unique slug, creating a one-to-many relationship where a single guide can be displayed in multiple spaces with different presentation settings.
Creating Guides
Guides are content blocks that contain help text, instructions, or documentation. Each guide is versioned and can contain multiple content blocks.
Guide Structure
A guide consists of a metadata section and content blocks:
Guide slugs must be unique within your environment and cannot be changed after creation. Choose them carefully as they serve as permanent identifiers that connect guides to guidance configurations.
Creating via API
- Obtain your Secret Key from the API Keys page.
- Make an authenticated request to create a guide:
Configuring Guidance
Guidance determines how and when guides are presented to users. It includes display type, trigger conditions, and targeting rules. Each guidance configuration lives at the space level and references a guide by its slug.
Display Types
Flatfile offers three display types for guides, each suited to different content lengths and use cases:
-
Tooltip
- Lightweight popups that appear on hover
- Best for quick tips and short explanations (1-2 lines)
- Automatically positioned relative to target
-
Sidebar
- Full-height panel on the right side
- Ideal for detailed documentation with multiple sections
- Perfect for step-by-step instructions
-
Popout
- Modal-style window in center of screen
- Good for medium-length content (2-3 sentences)
- Can include rich media
Choose your display type based on content length and importance. Tooltips work best for simple hints, while sidebars are better for comprehensive documentation.
Target Locations
Guides can be attached to specific UI elements using static or dynamic targets:
Static Targets
Pre-defined locations in the UI:
Dynamic Targets
Generated targets for specific instances:
Trigger Types
Guides can be triggered in three ways:
- First: Displays the first time a user accesses the space
- Hover: Appears when the user hovers over the target element
- Manual: Triggered by a specific user action or click
Role-Based Display
Configure different guidance for different user roles to ensure users only see guidance relevant to their permissions:
Creating Guidance via API
To create guidance using the API, follow these steps:
- Obtain your Secret Key from the API Keys page.
- Make an authenticated request to create guidance at the space level:
Implementation Examples
1. Onboarding Guide
Create a guide for new users:
2. Feature Tour
Create a sequence of guides for a feature tour:
3. Role-Specific Documentation
Create different guides for different user roles:
For optimal user experience, consider implementing progressive disclosure - showing more complex guides only after users have mastered the basics.
Best Practices for Guide Creation
When creating guides, follow these principles:
- Identify the right UI element: Choose specific interface components that need explanation
- Consider user roles: Determine which users (admins, guests, regular users) need to see each guide
- Select appropriate format:
- Tooltips for quick hints (1-2 lines)
- Popouts for feature explanations (2-3 sentences)
- Sidebars for detailed instructions (longer content with sections)
- Choose the right trigger: Use “first” for onboarding, “hover” for discoverable tips, and “manual” for on-demand help
This ensures your guidance appears exactly where and when needed, for the right users, in the most appropriate format.
Troubleshooting
Common issues and their solutions:
Issue | Solution |
---|---|
Guide not appearing | Check that both guide (environment) and guidance (space) are correctly configured with matching slugs |
Content not updating | Ensure guide is updated at the environment level |
Display issues | Confirm content length suits chosen display type |
Role-specific guides not showing | Verify user role permissions match guidance configuration |