Laminar
  • Laminar
  • Platform
    • Overview
    • Getting Started
    • Advanced
      • Configurations
      • HTTP Request Batching
      • Workflow Exit Points
      • Invoke Secondary Workflows
      • Managing Notifications
    • Best Practices
    • Keywords
      • lam.resolveThenExecute
      • lam.exit
      • lam.execute
      • lam.asyncExecute
      • lam.httpRequest
      • lam.httpRequests
  • Concepts
    • Workflows
      • Global Workflow Object
    • Flows
      • Flow Types
        • HTTP Request
        • Data Transformations
      • Flow Runs
      • Supported Languages
    • API Key
    • Configurations
    • API
      • Reference
        • Workspaces
          • Issues
          • Users
          • Invitations
            • Decline
            • Accept
            • Received
            • Created
          • Workflows
          • Flows
          • Auth credentials
          • Api keys
          • Api descriptions
        • Workflow
          • Execute
            • External
          • Flows
          • Executions
        • Users
        • Flows
          • Runs
          • Versions
          • Stats
          • Recent runs
          • Read
        • Configurations
          • Properties
          • Flow credentials
          • Workspace
        • Auth credentials
        • Api descriptions
        • Api keys
        • Transform
          • Test
        • Lami
          • Public
          • Direct
        • Auth
          • Signin
          • Register
          • Refresh
          • Me
          • Users
            • Password
    • Changelog
  • External Links
    • Book a Demo
    • Playground
    • Sign In
  • Specification
Powered by GitBook
On this page
  • Keep Workflows Focused
  • Implement Proper Error Handling
  • Credential Management

Was this helpful?

  1. Platform

Best Practices

Learn all the best practices to build simple integrations that scale

PreviousManaging NotificationsNextKeywords

Last updated 1 month ago

Was this helpful?

When designing workflows in Laminar, following these best practices will help you create solutions that are maintainable, secure, and performant as your integrations grow.

Keep Workflows Focused

  • Design each workflow to accomplish a single, well-defined purpose

  • Break complex processes into multiple linked workflows instead of creating monolithic configurations

  • Use for independent sub-processes

Implement Proper Error Handling

  • Add validation steps at the beginning of workflows

  • Add with descriptive messages for expected failure scenarios or inputs that don't meet requirements

  • Design workflows to be idempotent whenever possible

Credential Management

  • Never hardcode credentials in workflow step programs

  • Use for all sensitive information

  • Rotate credentials regularly via configuration updates

3.7 Sonnet

asynchronous workflow triggering
exit points
Laminar's configuration management system