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:
| Action | What it does |
|---|---|
| Update record | Writes allow-listed fields only; unknown fields are skipped |
| Create activity | Adds a history entry |
| Send notification | Internal notification to a workspace member |
| Send email | Queued email; never blocks the triggering transaction |
| Create task | Follow-up task in a project (needs project and title) |
| Assign user | Sets the owner through the owning module's service |
| Change status | Moves a record through its normal status rules |
| Delay | Waits between 1 hour and 30 days |
| Generate project report | Builds 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
- Open Flow Automations.
- Create a workflow and name it for the outcome ("Notify owner on stage change").
- Choose the trigger record type and event.
- Add conditions, for example stage equals Proposal.
- Add actions: send a notification to the owner, and create a task.
- Save.
- Test with Execute on a safe record.
- Enable the workflow.
Pause a rule
- Open the workflow.
- Choose Disable.
- New events stop matching; history stays.
Investigate a run
- Open the workflow's executions.
- Find the run by time or record.
- 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
| Symptom | Likely cause | What to do |
|---|---|---|
| Rule never fires | Disabled, wrong trigger type, or conditions never true | Check status and execution history |
| Email not received | Queued job failed, or recipient invalid | Inspect the run and the recipient's membership |
| "Field not allowed" on save | Condition uses a field outside the allow-list | Use a permitted field |
| Rule fires repeatedly | Update action re-triggers update | Narrow conditions; depth cap limits damage |
| Task not created | Missing project or title, or duplicate suppressed | Supply both; check duplicates |
Related Guides
- Administration overview
- Monitoring and alerts
- Notifications
- Business workflows
Administration overview
The Control section is where a workspace is configured: identity, people, access, plan, automations, and archived records. It is visible to OWNERs, ADMI…
Archived items
SahajFlow archives records instead of deleting them. Archived items is the list of records that have been archived, with the ability to restore them.