Forjinn Docs

Development Platform

Documentation v2.0
Made with
by Forjinn

Best Practices

Learn about best practices and how to implement it effectively.

2 min read
🆕Recently updated
Last updated: 12/9/2025

Best Practices for Building Robust Flows & AI Solutions

This page distills years of platform usage, developer/enterprise feedback, and observed support tickets—giving actionable guidance for building, deploying, and operating advanced chatflows, automations, and agent-based systems in InnoSynth-Forjinn.


Design Best Practices

  • Start Simple, Layer Complexity: Prototype with minimal nodes, then add conditions, error handling, and advanced branches.
  • Modularize: Use Custom Functions, Agents, and Tools as reusable blocks; avoid giant single flows.
  • Leverage Workspaces: Organize logically: per-team, per-customer, per-project. Use workspace-level credentials and data isolation.
  • Version Everything: Before changing a live agent/flow, export (backup) the current version.
  • Document Flows: Use Sticky Notes to explain decisions, special logic, or config quirks.

Security Best Practices

  • Rotate API Keys regularly in Credential Manager.
  • Never include secrets in prompts, sticky notes, or unencrypted files.
  • Enforce SSO, 2FA, and least privilege in workspaces.
  • Monitor login activity and audit logs (see Login Activity).
  • Set up webhooks/alerts for abnormal errors or failed logins.

Workflow/Component/Agent Construction

  • Chunk Text Well: For semantic search, experiment with different chunking + overlap settings; domain matters.
  • Prompt Engineering: Use clear, goal-oriented prompts—prefer structured or few-shot examples when needed.
  • Connect Failure Paths: For each risky node (API call, tool, LLM), conditionally route on errors/timeouts.
  • Avoid Infinite Loops: Always cap Iteration and Loop nodes.

Scaling & Ops

  • Use horizontal scaling (K8s, Docker) for workers under high load.
  • Batch jobs/evaluations for large-scale testing.
  • Store logs and flows in persistent, backed-up storage.

Maintenance & Quality

  • Use scheduled test runs or e2e monitoring for mission-critical flows.
  • Periodically clean up unused workspaces, flows, and credentials.
  • Standardize labels/tags on datasets and flows for easier search/reporting.

User & Data Management

  • Remove or demote users no longer requiring full access (privacy and billing).
  • Archive or delete old workflows and data regularly (respect retention).

Knowledge & Compliance

  • For regulated industries, document all data processing steps and data egress (AI/provider use).
  • Include a Data Protection Officer or Security contact for audits.

Further Guidance

  • Regularly check for platform updates, new components, and bugfixes (release notes).
  • Tag/document experimental flows with clear labels and version notes.

Good design = robust, maintainable, and scalable automations. Use this as your internal checklist, and update policies as your org or project grows.