Workflow input and context
Read trigger payload and accumulated step output
ProcessFlow execution
Trigger → connect → AI → push → review
Process: vendor_intake_enrichment · execution_id: pf_8f2a
AI agent chat
sync · agent trigger“Enrich vendor Acme Parts — pull CRM account and classify industry.”
WebApp form
sync · form submit{ "vendor_name": "Acme Parts", "tax_id": "FI-12345", "contact": "ops@acme.fi" }
Parent process
async · process-to-processonboarding_pipeline → queue subflow · cursor: batch 12/40
step: receive_input → merged process_data.vendor
Controlled automation
“Write real code. Run inside safety rules—prototypes become live workflows without a rewrite.”
Platform
Turn know-how stuck in people's heads into workflows you can review—step-based ProcessFlow with JavaScript or TypeScript. Start from APIs, WebApps, schedules, and AI; call connections, Datapools, AI steps, and files inside platform safety rules.
Adoption context
Related workflow: Ops exception handling with human approval · Adoption path
ProcessFlow is how work moves through Tealfabric—not a separate scripting tool beside the platform.
Teams usually choose between no-code builders that are hard to extend, custom scripts that are fragile and insecure, or heavy enterprise workflow software disconnected from data and system connections.
ProcessFlow offers a third path: step-based automation with real code, inside a sandbox that enforces safety. Every step runs in a controlled environment where code can use platform services but cannot bypass platform boundaries or security rules.
Operations teams ship automation without standing up separate job runners.
The patterns below are illustrative examples—common starting points, not a fixed catalog.
webhook → OCR
→ CRM · DataPool
Webhook receives a file → OCR extracts text → validation step → CRM connection updates the account → result written to a Datapool.
event trigger
parallel checks
Event trigger on new user → parallel checks (identity, compliance, provisioning) → notification step → WebApp shows live status.
cron → ERP
TypeScript transform
Scheduled trigger → pull from ERP connection → transform in TypeScript → batch write to Datapool → summary email to ops.
WebApp sync
async queue
WebApp submits form → workflow validates immediately → background workflow handles heavy work → user checks queue status.
PDF OCR
LLM classify
Upload to platform storage → PDF OCR step → AI summarization → route by classification.
AI chat, WebApp, or parent workflow starts a controlled multi-step run.
A vendor intake workflow receives input from AI, a self-service form, and an upstream onboarding pipeline. Steps call Salesforce, run AI classification, push to HubSpot, write to a Datapool—and leave step logs and queue history for operators.
ProcessFlow execution
Trigger → connect → AI → push → review
Process: vendor_intake_enrichment · execution_id: pf_8f2a
AI agent chat
sync · agent trigger“Enrich vendor Acme Parts — pull CRM account and classify industry.”
WebApp form
sync · form submit{ "vendor_name": "Acme Parts", "tax_id": "FI-12345", "contact": "ops@acme.fi" }
Parent process
async · process-to-processonboarding_pipeline → queue subflow · cursor: batch 12/40
step: receive_input → merged process_data.vendor
Composable steps, flexible timing, and operable execution.
Design in the platform library, test before go-live, and run from anywhere your business needs work to start.
steps · conditions
merge semantics
Multi-step workflows with conditions, branching, and shared state.
Model work as a sequence of steps—each runs logic that validates data, calls a system, transforms a file, or decides what happens next. Output from each successful step flows into shared state for later steps.
JS · TS
per step
Choose the language per step—meet teams where they already work.
JavaScript for JSON-centric transforms; TypeScript for typed step logic and safer refactors. The platform detects or respects the language you choose per step.
sequential · parallel
sync · async
Strict order when steps depend on each other; parallel when branches are independent.
Run now and wait for an answer, or queue and check later. Same workflow definition—choose timing per run. Suited to approvals, enrichment chains, and overnight imports alike.
API · WebApp
cron · webhook
API, WebApps, schedules, platform events, webhooks, and workflow-to-workflow.
External systems start runs with platform API credentials. User-facing apps call workflows immediately or in the background. Cron, events, and webhooks start runs automatically—one workflow can queue another without blocking.
safety rules
platform-scoped
Real code inside a controlled environment—not raw server access.
Step code runs in an isolated environment with approved platform services. Shell execution, raw network calls, direct database drivers, and environment tampering are blocked at save time and at runtime.
integrations
DataPool · LLM
Connections, Datapools, files, credentials, OCR, AI, and notifications from step code.
Every step starts with injected context and service handles—platform scope, workflow input, configured connections, internal API, database, Datapools, files, secrets, logging, and document intelligence.
workflow chains
batch cursor
Fan-out sub-workflows, event chains, and cursor-based continuations.
Workflows can trigger other workflows for reuse and event-driven chains. Iterate over bounded lists in one step, or hand off the next batch by queuing another run with a cursor—large datasets without overloading a single execution.
step logs
queue · history
Step logs, run history, queue visibility, and structured error codes.
When something fails at 2 a.m., teams see which step, which run, and why—not a black box. Workflow activity sits alongside connections, security, and data history in one place.
Authors write normal step logic. The sandbox supplies context, services, and safety rules so snippets stay small and focused. Configurable capability profiles let operators tighten or broaden what a run may do.
Read trigger payload and accumulated step output
Every operation stays inside your platform account
Call configured connections to external systems
Reach platform APIs with execution authorization
Query and update transactional data safely
Insert and update operational datasets from steps
Read and write platform-scoped storage
Retrieve secrets at runtime—never hardcoded in snippets
Write execution logs for debugging and review
PDF and image OCR from platform files
AI-powered steps within your platform rules
Email and messaging from workflow logic
Modern step code, JSON-centric transforms, async service calls
Typed step logic, larger teams, safer refactors
ProcessFlow decides the steps; Integrations connect to your systems. Configure Salesforce, SFTP, or email once—call from any step without credentials in code. Combine multiple systems in one controlled workflow and land outputs in Datapools for reporting and follow-on workflows.
Turn business rules into production automations
We walk through step design, immediate and queued runs, stored credentials, AI steps, Datapool writes, and run history—on the same platform as connections and access controls.
Pilots start with one live workflow—system connections, steps, and full history.