Skip to Content
SahajFlowHelp Center
Administration

Flow automations

What Is It?

A flow automation is a rule: when something happens, if conditions hold, then do one or more actions. SahajFlow calls them workflows. They run server-side, after the business action that triggered them has been saved.

Why Would I Use It?

To stop doing the same follow-up by hand: notify an owner when a deal changes stage, create a task when a quote is accepted, send a reminder before a due date, or generate a scheduled project report.

Before You Begin

  • Automation on your plan (Premium).
  • automation.workflow.* permissions. Enable/disable and execution may need additional grants.
  • Agreement on what the rule should do before you build it; automations act on real records.

Where Can I Find It?

Flow Automations (/dashboard/administration/workflows). Each workflow has a detail page with its definition and its execution history.

How Does It Work?

Triggers

Record events: created, updated, deleted, status changed, assignment changed. Schedules: daily, weekly, monthly, once, first day of month, last day of month, and custom.

Schedule times are interpreted in the workspace timezone.

Conditions

A workflow has up to 25 conditions, combined with AND or OR. Supported operators: equals, not equals, contains, greater/greater-or-equal, less/less-or-equal, is empty, is not empty, and in.

Conditions may only compare an allow-listed set of record fields. Anything outside the list is rejected when the workflow is saved, so a rule cannot read arbitrary data.

Actions

Up to 10 actions per workflow:

ActionWhat it does
Update recordWrites allow-listed fields only; unknown fields are skipped
Create activityAdds a history entry
Send notificationInternal notification to a workspace member
Send emailQueued email; never blocks the triggering transaction
Create taskFollow-up task in a project (needs project and title)
Assign userSets the owner through the owning module's service
Change statusMoves a record through its normal status rules
DelayWaits between 1 hour and 30 days
Generate project reportBuilds and sends a scheduled client report

Guardrails

  • A chain of workflows can trigger other workflows to a maximum depth of 3.
  • Scheduled scans evaluate at most 200 targets per run.
  • "Due soon" task triggers use a 2-day window.
  • Actions go through the owning module's services, so permissions and validation still apply; an automation cannot bypass a lifecycle rule.

Execution history

Every run is recorded with its outcome and step details. Executions are read-only. Use them to answer "why did this record change?" and "why did nobody get an email?".

How to Use It

Build a follow-up rule

  1. Open Flow Automations.
  2. Create a workflow and name it for the outcome ("Notify owner on stage change").
  3. Choose the trigger record type and event.
  4. Add conditions, for example stage equals Proposal.
  5. Add actions: send a notification to the owner, and create a task.
  6. Save.
  7. Test with Execute on a safe record.
  8. Enable the workflow.

Pause a rule

  1. Open the workflow.
  2. Choose Disable.
  3. New events stop matching; history stays.

Investigate a run

  1. Open the workflow's executions.
  2. Find the run by time or record.
  3. Read each step's outcome. A skipped action usually means a condition failed or the target was invalid.

What Happens Next?

  • Enabled workflows run on new matching events or on their schedule.
  • Notifications and emails are delivered asynchronously.
  • Delayed steps resume later; they survive a worker restart because the wait is stored.

Important Things to Know

  • Automations never bypass business rules. They call the same services people do.
  • Email is queued, so delivery is not instant.
  • Loops are capped at depth 3; a rule that triggers itself stops.
  • Conditions are allow-listed; you cannot compare arbitrary fields.
  • Deleting a workflow does not erase its history.
  • Automation is implemented, despite older roadmaps listing it as "later".
  • Screens were not exercised; labels are unverified.

Common Problems

SymptomLikely causeWhat to do
Rule never firesDisabled, wrong trigger type, or conditions never trueCheck status and execution history
Email not receivedQueued job failed, or recipient invalidInspect the run and the recipient's membership
"Field not allowed" on saveCondition uses a field outside the allow-listUse a permitted field
Rule fires repeatedlyUpdate action re-triggers updateNarrow conditions; depth cap limits damage
Task not createdMissing project or title, or duplicate suppressedSupply both; check duplicates

On this page