Falaah Falaah AI
Platform

Building Workflows Without Code: A Visual Guide to Muin Automation

Create powerful business automations using Muin's visual workflow builder—no coding required. Approvals, notifications, and multi-step processes.

FT
Falaah Team
· · 10 min read
Building Workflows Without Code: A Visual Guide to Muin Automation

The best automation isn’t the most sophisticated—it’s the one people actually use and understand.

Think of a workflow like a recipe. You have ingredients (triggers), cooking instructions (actions), and decision points (“if it looks done, take it out”). The visual builder just makes that recipe visible and editable by anyone, not just developers.

This matters because the no-code movement is accelerating fast. Industry analysts project that low-code and no-code technologies will power a growing majority of new enterprise applications, and knowledge workers widely report that automation improves their job quality and productivity. The tools are ready; the question is whether you’re using them.

Muin Workflows Overview

Understanding Workflow Concepts

Before building, let’s understand the three building blocks. The diagram below shows how these elements connect:

Muin Workflow Automation Overview

Triggers

What starts the workflow?

A trigger is the event that kicks off your automation. Something happens, and the workflow begins.

Trigger TypeExample
DocumentNew invoice uploaded
TimeEvery Monday at 9 AM
ThresholdExpense exceeds $1,000
StatusApproval completed
ManualUser clicks “Run”

Conditions

What decisions need to be made?

Conditions are the “if this, then that” decision points that route work down different paths.

ConditionThen
Amount over $5,000Route to Director
Amount $5,000 or lessRoute to Manager
Vendor is PreferredAuto-approve
Document type is ContractSend to Legal

Actions

What should happen?

Actions are the tasks that execute when conditions are met.

ActionWhat It Does
Send NotificationEmail, SMS, or in-app alert
Create TaskAssign work to someone
Update RecordChange status, add data
Route for ApprovalSend to approval queue
Call APIConnect to external system
Run AgentTrigger an AI agent

Available Triggers

Muin supports a wide range of trigger types:

Document Triggers

New Document Uploaded

  • Fires when any document is uploaded
  • Filter by document type (invoice, contract, receipt)
  • Filter by uploader or department
  • Filter by module destination

Document Updated

  • Fires when document metadata changes
  • Filter by field changed
  • Track status changes

Document Deleted

  • Fires when document is removed
  • Useful for audit logging

Time Triggers

Scheduled

  • Run at specific times (daily, weekly, monthly)
  • Support for complex schedules
  • Time zone aware

Date Approaching

  • Fire X days before a date
  • Perfect for expirations, deadlines, renewals

Date Reached

  • Fire on a specific date
  • Contract end dates, payment due dates

Threshold Triggers

Amount Exceeds

  • Invoice amount over limit
  • Expense over budget
  • Vendor spend exceeds threshold

Count Reaches

  • Number of items hits target
  • Failed attempts threshold
  • Queue size limit

Status Triggers

Status Changed

  • Item moves to new status
  • Approval completed
  • Task finished

Approval Event

  • Approved, rejected, or escalated
  • Can trigger follow-up workflows

Manual Triggers

User Initiated

  • Click a button in the UI
  • Call from the API
  • Useful for on-demand processing

Available Actions

Here’s what your workflows can do:

Communication Actions

Send Email

  • To specific people or dynamic recipients
  • Use templates with merge fields
  • Include attachments
  • Track opens and clicks

Send Notification

  • In-app notifications
  • Mobile push notifications
  • Slack/Teams messages

Create Comment

  • Add notes to records
  • Tag team members
  • Document decisions

Work Assignment

Create Task

  • Assign to specific person or role
  • Set due date
  • Include context and links
  • Auto-assign based on rules

Route for Approval

  • Send to approval queue
  • Support multiple approvers
  • Set escalation rules

Assign Ownership

  • Change record owner
  • Transfer responsibility

Data Operations

Update Record

  • Change field values
  • Update status
  • Add tags/categories

Create Record

  • Create new documents
  • Generate reports
  • Add entries

Link Records

  • Connect related items
  • Create relationships

Integration Actions

Call External API

  • POST/GET to external services
  • Pass data dynamically
  • Handle responses

Sync to Integration

  • Push to QuickBooks, Xero, etc.
  • Update external records
  • Trigger external workflows

AI Actions

Run Agent

  • Trigger any Muin agent
  • Pass context
  • Handle agent results

Generate Summary

  • AI-generated text
  • Combine multiple data sources

Building Your First Workflow

Let’s build a practical workflow step by step:

Scenario: When a new invoice is uploaded, extract data, route for approval based on amount, and sync to accounting software.

Step 1: Create New Workflow

Here’s what the workflow interface looks like in Muin:

Muin Workflow Builder

  1. Navigate to Workflows in the left menu
  2. Click Create New Workflow
  3. Name it: “Invoice Processing Workflow”
  4. Add description: “Process invoices from upload to accounting”

Step 2: Add the Trigger

  1. Click Add Trigger
  2. Select Document Uploaded
  3. Configure:
    • Document Type: Invoice
    • Module: Finance
  4. Click Save

Your workflow will now start whenever an invoice is uploaded.

Step 3: Add AI Processing

  1. Click + Add Step after the trigger
  2. Select Run Agent
  3. Choose Invoice Extraction Agent
  4. This extracts vendor, amount, date, line items

Step 4: Add Conditional Routing

Now we’ll branch based on invoice amount:

  1. Click + Add Step

  2. Select Condition

  3. Configure the first branch:

    • If: Invoice Amount under $500
    • Label: “Auto-Approve”
  4. Click Add Branch

  5. Configure second branch:

    • If: Invoice Amount $500+ AND Invoice Amount under $5,000
    • Label: “Manager Approval”
  6. Click Add Branch

  7. Configure third branch:

    • If: Invoice Amount $5,000+
    • Label: “Director Approval”

Step 5: Add Actions for Each Branch

Auto-Approve Branch:

  1. Add action: Update Record
    • Set Status: “Approved”
  2. Add action: Send Notification
    • To: Finance Team
    • Message: “Invoice auto-approved: [vendor] - $[amount]”

Manager Approval Branch:

  1. Add action: Route for Approval
    • To: Department Manager
    • Deadline: 2 business days
  2. Add action: Send Email
    • To: Requester
    • Subject: “Invoice submitted for approval”

Director Approval Branch:

  1. Add action: Route for Approval
    • To: Finance Director
    • Deadline: 3 business days
  2. Add action: Send Email
    • To: Requester AND Manager
    • Subject: “High-value invoice requires director approval”

Step 6: Add Post-Approval Action

After any approval path completes:

  1. Click + Add Step (after all branches converge)
  2. Add condition: If Status = Approved
  3. Add action: Sync to Integration
    • Integration: QuickBooks
    • Action: Create Bill

Step 7: Test Your Workflow

  1. Click Test Workflow button
  2. Select a sample invoice from your documents
  3. Watch the workflow execute step by step
  4. Review each decision point
  5. Verify notifications were sent (to test recipients)
  6. Check the audit log

Step 8: Activate

  1. Review the workflow diagram
  2. Click Activate
  3. Your workflow is now live!

Workflow Templates

Don’t start from scratch. Muin includes templates for common processes:

Invoice Approval Template

  • Amount-based routing
  • Multi-tier approval
  • Auto-approve for trusted vendors
  • Accounting sync

Document Review Template

  • Assign reviewer
  • Set SLA deadline
  • Escalation on delay
  • Completion notification

Certification Renewal Template

  • Date-based triggers (90/60/30 days)
  • Multi-tier notifications
  • Escalation path
  • Compliance tracking

Vendor Onboarding Template

  • Multi-stage process
  • Document checklist
  • Verification steps
  • Approval gates
  • Activation workflow

Expense Approval Template

  • Policy checking
  • Amount-based routing
  • Receipt validation
  • Reimbursement tracking

Testing and Debugging

Before going live, thoroughly test your workflows:

Test Mode

Run workflows in test mode to:

  • See step-by-step execution
  • Verify conditions evaluate correctly
  • Check notification content
  • Confirm data updates

Enable Test Mode:

  1. Click Test Workflow
  2. Select test data
  3. Watch execution in real-time
  4. Review each step result

Execution Logs

After workflows run, review logs:

  • Timestamp for each step
  • Decision paths taken
  • Actions completed
  • Errors encountered

Access Logs:

  1. Go to workflow
  2. Click Run History
  3. Select specific run
  4. Expand steps for detail

Error Handling

Workflows can fail. Handle gracefully:

Retry Policy

  • Automatic retry on failure
  • Configure retry count and delay
  • Final failure notification

Error Actions

  • Add “On Error” actions
  • Notify admin of failures
  • Log error details
  • Skip or abort options

Advanced: Conditional Logic

For complex scenarios, use advanced conditions:

If/Then Branching

Multiple conditions can be combined:

  • IF Amount > $1000 AND Vendor = “Preferred”
  • IF Status = “Urgent” OR Days Until Due < 3

Parallel Paths (Coming Soon)

Some steps can run simultaneously:

  • Send notification AND create task (parallel)
  • Wait for both to complete
  • Continue to next step

Nested Conditions (Coming Soon)

Conditions within conditions:

  • IF Amount > $1000
    • IF Vendor is Preferred → Auto-approve
    • IF Vendor is New → Require review
  • IF Amount $1000 or less → Standard process

Loop Actions (Coming Soon)

Process multiple items:

  • FOR each line item in invoice
    • Check against budget
    • Flag if over category limit
  • Continue when all items checked

Best Practices

Start Simple

Your first workflow should be:

  • Single trigger
  • 2-3 actions
  • No complex branching

Add complexity once the basics work.

Use Descriptive Names

  • Workflow: “Invoice Approval - Standard”
  • Steps: “Route to Manager” not “Step 3”
  • Branches: “High Value Path” not “Branch A”

Include Error Handling

Always consider:

  • What if the document is malformed?
  • What if the approver is on vacation?
  • What if the external API is down?

Document Your Workflows

Add descriptions to:

  • Overall workflow purpose
  • Each major branch
  • Complex conditions
  • Integration points

Monitor and Iterate

After deployment:

  • Review execution logs weekly
  • Track failure rates
  • Gather user feedback
  • Optimize based on data

Get Started

If you want to try this, join the beta and build something small first. The invoice approval workflow is a good starting point—it’s practical, you’ll see results immediately, and you can expand from there.

The best workflows evolve. Start with something that works, then make it better based on what you learn. That’s how good systems get built.



Part of our Platform Features Series. Next up: Triggers & Schedules Deep Dive