Muin is in private beta.Watch the public release announcement —talk to us.
Falaah Falaah AI

Automations

Build no-code WHEN–IF–THEN automations: react to document events or schedules, filter with conditions, and notify, assign, escalate, or run AI agents.

Automations are Muin’s no-code rules engine: WHEN something happens, IF it matches your conditions, THEN take action. They handle the routine follow-through — notifications, assignments, escalations — so nothing waits on someone remembering to check a queue.

You’ll find them alongside your workflows at Workflows, where the gallery, your defined automations, and run history live together.

The Three Parts of Every Automation

WHEN — the trigger

  • Document events — a document is created, updated, or changes status
  • Schedule — run at a recurring time
  • Webhook — an external system calls in
  • Manual — you trigger it yourself (great for testing)

IF — the conditions

Narrow the trigger to exactly the cases you mean. Conditions can match on amount, status, business status, vendor name, document type, category, due date, and who submitted it — combine them to express rules like “invoices over $5,000 from new vendors.”

THEN — the actions

  • Notify — email, Slack, or in-app notification to the right people
  • Update the document — set status or fields
  • Assign or create a task — put the follow-up on someone’s plate
  • Run an AI agent — hand the item to an agent for processing
  • Call a webhook — push the event to an external system
  • Escalate — route to a manager when thresholds are crossed

Building One

  1. Open Workflows and create a new automation — start from scratch or from a template.
  2. Pick the trigger, add conditions, choose actions.
  3. Test it with a manual trigger before relying on it (manual test runs are rate-limited to protect your quota).
  4. Activate when you’re happy. You can deactivate any time without deleting — the rule keeps its configuration and history.

Quotas and Limits

The number of active automations follows your subscription tier. If you hit the quota, deactivate rules you no longer need or consolidate overlapping ones — a single automation with good conditions often replaces several narrow ones.

Automations vs. Workflows

Automations are single-rule reactions: one trigger, one set of actions. For multi-step orchestration with stages, approvals, and branching, build a workflow instead — and let automations handle the simple reflexes around it.