Publishing overview
Flow publishing in Phinite provides enterprise-grade deployment capabilities with full version control, access management, and observability. Understanding the publishing process is crucial for maintaining stable, secure, and auditable workflows.Publishing workflow
Access control and permissions
Role-based publishing permissions
| Role | Can Save Flows | Can Publish to Dev | Can Publish to UAT | Can Publish to Prod |
|---|---|---|---|---|
| SuperAdmin | ✅ | ✅ | ✅ | ✅ |
| Admin | ✅ | ✅ | ✅ | ✅ |
| Developer | ✅ | ✅ | ❌ | ❌ |
| Tester | ❌ | ❌ | ❌ | ❌ |
| Viewer | ❌ | ❌ | ❌ | ❌ |
Environment-specific access
- Development: All users with “Developer” role or higher
- UAT: Requires “Admin” role for publishing
- Production: Requires “Admin” or “SuperAdmin” role with additional approval workflows
Pre-publishing checklist
Flow validation requirements
- Flow is saved successfully
- All required block fields are filled
- Agent prompts are complete and tested
- RAG sources are properly connected
- Tool integrations are configured
- Variables are properly mapped
- Conditional edges have valid logic
- Flow has clear Start and End blocks
- No orphaned blocks or disconnected components
Common validation failures
Missing required fields
Missing required fields
Error: “Please fill all required details for the following blocks: agent, tool”Debugging steps:Resolution: Fill all required fields and re-validate
- Check each block in the Inspector panel
- Verify all required fields are populated
- Look for red validation indicators
- Test blocks individually before publishing
Invalid connections
Invalid connections
Error: “Flow contains invalid connections or orphaned blocks”Debugging steps:Resolution: Connect all blocks properly and ensure flow integrity
- Check for blocks without proper connections
- Verify Start block has outgoing connections
- Ensure End blocks have incoming connections
- Look for disconnected blocks in the canvas
Tool integration errors
Tool integration errors
Error: “Tool integration failed validation”Debugging steps:Resolution: Fix tool configuration and authentication
- Check tool authentication in DevStudio
- Verify API keys and credentials
- Test tools independently
- Review tool parameter mapping
Publishing process

Step-by-step publishing
1
Save your flow
Click “Save” in the studio header to persist your changes.
You should see a success message confirming the flow is saved.
2
Run validation
The system automatically validates your flow before publishing.
3
Add version details
Provide a clear description of changes in this version.Good version notes:Poor version notes:
4
Select target environment
Choose the appropriate environment for deployment.
Production deployments may require additional approval workflows depending on your organization’s policies.
5
Confirm and publish
Review all settings and confirm the publication.
You should see a success message and the new version in the version history.
Version management
Version history interface
The version history panel (Sidebar/canvas/VersionHistory.tsx) provides comprehensive version management:
- Version list: View all published versions with timestamps and notes
- Version details: Inspect specific version configurations
- Copy to draft: Create a new draft based on any published version
- Environment status: See which environments each version is deployed to
Version numbering
Phinite automatically manages version numbers:- First version: Starts at version 1
- Subsequent versions: Incrementally numbered (2, 3, 4, etc.)
- Draft versions: Not numbered until published
- Version notes: Required for all published versions
Copying versions to draft
1
Access version history
Click “Version History” in the studio sidebar.
2
Select source version
Choose the version you want to copy from the list.
3
Copy to draft
Click “Copy to Draft” and confirm the action.
4
Edit and republish
Make your changes and publish as a new version.
Debugging publishing issues
Common publishing problems
Publishing fails with validation errors
Publishing fails with validation errors
Symptoms: Flow fails to publish with validation error messagesDebugging steps:Resolution: Address all validation errors before attempting to publish
- Review the specific validation error messages
- Check each block for missing required fields
- Verify all connections are valid
- Test individual components before publishing
Version creation fails
Version creation fails
Symptoms: Flow saves but version creation failsDebugging steps:Resolution: Check permissions, network, and server status
- Check network connectivity
- Verify user permissions
- Review server logs for errors
- Try publishing to a different environment
Environment deployment issues
Environment deployment issues
Symptoms: Version created but deployment to target environment failsDebugging steps:Resolution: Fix environment configuration or contact system administrator
- Check environment configuration
- Verify environment-specific settings
- Review deployment logs
- Test with a simpler flow first
Post-publishing monitoring
Deployment verification
1
Check deployment status
Verify the flow is successfully deployed to the target environment.
2
Test flow execution
Run test scenarios to ensure the flow works as expected.
3
Monitor performance
Use Observability tools to track flow performance.
4
Review logs
Check execution logs for any issues or errors.
Performance monitoring
- Execution success rate: Track how often flows complete successfully
- Response times: Monitor flow execution duration
- Error rates: Identify common failure points
- Resource usage: Track token consumption and API calls
Best practices
Version management
- Descriptive notes: Always provide clear, actionable version descriptions
- Incremental changes: Make small, focused changes rather than large overhauls
- Testing: Thoroughly test flows before publishing to production
- Rollback plan: Keep previous versions available for quick rollback
Security considerations
- Access control: Regularly review who has publishing permissions
- Environment isolation: Maintain strict separation between environments
- Audit trails: Monitor all publishing activities for compliance
- Secret management: Ensure sensitive data is properly secured
Performance optimization
- Efficient flows: Design flows for optimal performance and resource usage
- Monitoring: Set up alerts for performance degradation
- Scaling: Plan for increased load and usage patterns
- Optimization: Continuously optimize based on performance data
Integration with other components
Assistant integration
- Conversational Assistants: Deploy flows for chat and voice interactions
- Email Assistants: Publish flows for email automation
- Autonomous Assistants: Deploy background automation flows
Observability integration
- Execution Logs: Monitor published flow performance
- Usage Metrics: Track flow usage and performance
- Error Tracking: Identify and resolve issues
Environment management
- Build Configuration: Configure deployment settings
- Lifecycle: Recommended testing and deployment flow