Submission System
Understanding the content submission and moderation system in NestSaaS
NestSaaS includes a powerful submission system that allows users to submit content to your platform. This system is particularly useful for directory listings, marketplaces, or any scenario where you want to accept user-generated content with moderation.
Submission Features
- User Submissions: Allow registered users to submit content
- Moderation Workflow: Review and approve or reject submissions
- Payment Integration: Optionally charge for submissions
- Subscription Plans: Offer different submission plans
- Status Tracking: Keep users informed about submission status
- Metadata Customization: Collect specific information based on content type
Submission Workflow
The submission process follows these steps:
- Creation: User creates a draft submission
- Editing: User completes the submission form with all required information
- Payment (optional): User pays for the submission if required
- Application: User submits the content for review
- Moderation: Admin reviews the submission
- Resolution: Submission is approved or rejected
- Publication: Approved submissions are published
Submission Status
Submissions can have the following statuses:
- DRAFT: Initial creation, still being edited by the user
- APPLICATION: Submitted for review
- APPROVED: Submission has been approved
- REJECTED: Submission has been rejected
- PUBLISHED: Submission is live and publicly visible
- ARCHIVED: Submission is no longer active
Submission Plans
NestSaaS supports different submission plans, allowing you to offer various levels of service:
Plan Type | Description |
---|---|
Free | Basic submission without payment |
One-time Payment | Single payment for a submission |
Subscription | Recurring payment for ongoing submissions |
Each plan can have different features, such as:
- Priority review
- Featured placement
- Extended listing duration
- Additional media attachments
- Custom fields
Implementation
Data Model
Submissions in NestSaaS are implemented using the Article model with specific status values:
Server Actions
NestSaaS provides server actions for handling submissions:
Admin Moderation
Administrators can review and moderate submissions through the admin panel:
- View all pending submissions
- Review submission details and content
- Approve or reject submissions with feedback
- Edit submissions if necessary before approval
- Manage submission categories and metadata requirements
Payment Integration
The submission system integrates with the payment system to handle paid submissions:
One-time Payment Submissions
For submissions requiring a one-time payment:
- User creates a submission and selects a paid plan
- System creates a Purchase record linked to the submission
- User completes payment through Stripe
- Upon successful payment, the submission status is updated
Subscription-based Submissions
For submissions requiring a subscription:
- User subscribes to a submission plan
- System creates a Subscription record
- User can submit content as long as the subscription is active
- Subscription status is checked when creating new submissions
Customization
The submission system can be customized for different Space types:
Custom Submission Fields
Define custom metadata fields for submissions based on Space type, refer spaces docs for more details.
Custom Validation
Implement validation rules for submission fields:
Best Practices
- Clear Guidelines: Provide clear submission guidelines to users
- Responsive Moderation: Review submissions promptly to maintain user engagement
- Feedback: Provide helpful feedback for rejected submissions
- Automated Checks: Implement basic automated validation before human review
- Scalable Workflow: Design your moderation workflow to scale with volume
- User Communication: Keep users informed about submission status changes
- Spam Prevention: Implement measures to prevent spam submissions
Next Steps
- Admin Panel - Learn how to manage submissions
- Payment System - Understand payment integration for submissions