Skip to main content

Workflow Templates

NetPad provides pre-built workflow templates for common use cases. Use templates as starting points for your workflows. Templates are accessible through the Template Gallery when creating a new workflow.

Accessing Workflow Templatesโ€‹

The Workflow Template Gallery is available when creating a new workflow:

  1. Navigate to Workflows - Click "New Workflow" from the dashboard
  2. Open Template Gallery - Click the "Templates" tab in the workflow creation dialog
  3. Browse Templates - Explore templates by category
tip

The Template Gallery is also accessible from the Empty Workflow State when you first open the Workflow Editor without an existing workflow.

Template Categoriesโ€‹

Workflow templates are organized into categories:

Form Processingโ€‹

Templates for processing form submissions:

  • Form to Email - Send email notifications when forms are submitted
  • Form to Database - Save form submissions to MongoDB collections
  • Form Validation - Validate and enrich form data before saving
  • Submission Routing - Route submissions based on conditions

Data Processingโ€‹

Templates for data operations and synchronization:

  • Scheduled Sync - Sync data between collections on a schedule
  • Data Pipeline - Transform and process data through multiple steps
  • Bulk Operations - Perform bulk updates or transformations
  • Data Cleanup - Clean and normalize data automatically

Integrationsโ€‹

Templates for external system integration:

  • Webhook Processor - Process incoming webhook data
  • API Monitoring - Monitor external APIs and trigger actions
  • Database Sync - Sync with external databases
  • Service Integration - Connect to third-party services

AI Workflowsโ€‹

Templates leveraging AI capabilities:

  • Text Classification - Classify text using AI
  • Data Extraction - Extract structured data from unstructured text
  • Content Generation - Generate content using AI
  • Sentiment Analysis - Analyze sentiment of text data

Logicโ€‹

Templates for conditional routing and logic:

  • Conditional Routing - Route data based on conditions
  • Batch Processing - Process data in batches
  • Parallel Execution - Execute multiple operations in parallel
  • Error Handling - Handle errors and retries

Previewing Workflow Templatesโ€‹

Before using a template, you can preview it to see what it includes:

Opening Previewโ€‹

  1. Click Template Card - Click on any workflow template card
  2. Preview Dialog Opens - See detailed template information

Preview Informationโ€‹

The preview shows:

Template Detailsโ€‹

  • Name - Full template name
  • Description - Detailed description of use case
  • Category - Template category
  • Icon - Visual identifier

Template Metadataโ€‹

  • Complexity Level - Simple, Moderate, or Advanced
  • Estimated Setup Time - How long to customize
  • Node Count - Number of nodes included

Node and Edge Listโ€‹

  • All Nodes - Complete list of nodes in the template
  • Node Types - What type each node is
  • Node Labels - How nodes are labeled
  • Edges - Connections between nodes
  • Data Flow - How data flows through the workflow

Preview Actionsโ€‹

From the preview dialog, you can:

  1. Use Template - Apply template as-is and start customizing
  2. Close - Return to template gallery

Using Workflow Templatesโ€‹

Applying a Templateโ€‹

  1. Click "Use Template" - In the template preview dialog
  2. Name Your Workflow - Enter a name for your workflow
  3. Workflow Editor Opens - Template nodes and edges are loaded
  4. Start Customizing - Modify nodes, add/remove as needed

Available Templatesโ€‹

Form Processing Templatesโ€‹

Email Confirmationโ€‹

Send confirmation email after form submission.

Loading workflow...

Configuration:

  • Form: Your form
  • Email To: Form submitter email
  • Email Subject: "Thank you for your submission"
  • Email Body: Include form data

Team Notificationโ€‹

Notify team members of new form submissions.

Loading workflow...

Configuration:

  • Form: Your form
  • Email To: Team email addresses
  • Slack Channel: Team channel

Data Validationโ€‹

Validate and enrich form data before saving.

Loading workflow...

Data Synchronization Templatesโ€‹

Sync Collectionsโ€‹

Sync data between MongoDB collections.

Nodes:

  • Schedule Trigger (or Form Trigger)
  • MongoDB Query (source collection)
  • Transform (map fields)
  • MongoDB Write (target collection)

Update related documents when data changes.

Nodes:

  • Form Trigger
  • MongoDB Query (find related)
  • Transform (update data)
  • MongoDB Write (update related)

Integration Templatesโ€‹

Webhook to MongoDBโ€‹

Save webhook data to MongoDB.

Nodes:

  • Webhook Trigger
  • Transform (format data)
  • MongoDB Write

API to Formโ€‹

Send API data to form submission.

Nodes:

  • API Trigger
  • Transform (format as form data)
  • Form Submission (internal)

Business Automation Templatesโ€‹

Order Processingโ€‹

Process orders from form submissions.

Loading workflow...

Approval Workflowโ€‹

Multi-step approval process.

Loading workflow...

Using Templatesโ€‹

Selecting a Templateโ€‹

  1. Click "New Workflow" - From the workflows dashboard
  2. Open Template Gallery - Click the "Templates" tab
  3. Browse Templates - Filter by category or search
  4. Preview Template - Click template card to see details
  5. Review Template:
    • See node structure
    • Read description
    • Check complexity and estimated time
    • Review nodes and edges list

Customizing Templatesโ€‹

After selecting template:

  1. Configure Nodes:

    • Update node settings
    • Map to your data
    • Adjust logic
  2. Add/Remove Nodes:

    • Add additional nodes
    • Remove unnecessary nodes
    • Modify connections
  3. Test Workflow:

    • Test with your data
    • Verify behavior
    • Make adjustments

Saving Custom Templatesโ€‹

Create your own templates:

  1. Build Workflow:

    • Create workflow
    • Configure nodes
    • Test thoroughly
  2. Save as Template:

    • Click "Save as Template"
    • Name template
    • Add description
    • Choose category
  3. Share Template:

    • Make template public (optional)
    • Share with team
    • Use in other workflows

Template Metadataโ€‹

Each workflow template includes metadata to help you choose:

Complexity Levelsโ€‹

  • Simple - Basic workflows with straightforward logic
  • Moderate - Workflows with conditional logic or multiple steps
  • Advanced - Complex workflows with advanced features

Estimated Setup Timeโ€‹

  • Quick - 2-5 minutes to customize
  • Standard - 5-10 minutes to customize
  • Extended - 10-15 minutes to customize

Node Countโ€‹

  • Small - 2-5 nodes
  • Medium - 6-10 nodes
  • Large - 11+ nodes

Creating Custom Templatesโ€‹

Best Practicesโ€‹

  1. Keep It Generic: Make templates reusable
  2. Document Well: Add clear descriptions
  3. Test Thoroughly: Ensure templates work
  4. Use Variables: Make templates configurable
  5. Handle Errors: Include error handling

Template Structureโ€‹

Good templates include:

  • Clear trigger configuration
  • Well-documented nodes
  • Error handling
  • Configurable settings
  • Example data

Community Templatesโ€‹

Sharing Templatesโ€‹

Share templates with the community:

  • Make template public
  • Add to template gallery
  • Help others automate

Finding Templatesโ€‹

Browse community templates:

  • Template gallery
  • Search by use case
  • Filter by category
  • Rate and review

Next Stepsโ€‹