KarexiaDocumentation Français
In this view

AI & team

Automation: conditional rules, visual workflows and decision studio (DMN)

Three automation levels: conditional rules watching your posts, a visual workflow builder (webhook, cron or event triggers, agent tasks, tools, approvals, conditions) and a process studio with DMN decision tables. Everything starts disabled or under approval.

Summary

Trigger
You repeat the same sequence by hand (recycle a high-performing post, route a lead, trigger a report) and want to automate it without losing control.
Duration
30 to 60 minutes per automation

Who does what, step by step

Automation: conditional rules, visual workflows and decision studio (DMN)Who does what, step by step: Community manager, Organization owner-administratorCommunity managerOrganization12345678
Plain circle: normal step · bold outline: step with a guardrail (approval, consent or confirmation).

Steps

  1. 1

    Create a conditional rule on posts Community manager

    Automations page > « New rule »: name, trigger (absolute engagement threshold or multiple of the account average), action (call-to-action comment, Meta boost or recycle), cooldown, max per post, platforms, then « Create the rule ». Every rule is born disabled and in « suggest » mode.

  2. 2

    Simulate then switch to automatic mode Community manager

    On the rule card: « Simulate » (dry-run) then the « Enabled » box. Automatic mode requires a simulation under 30 days old AND acknowledgement of the Law 25 notice (tick the box then « Confirm »). The owner approves this switch.

    /automations Consent gate → Organization owner-administrator
  3. 3

    Create a workflow from a template Organization owner-administrator

    Workflows page: « New workflow » (name, description) or instantiate a template from the list. Definitions have a draft, published or archived status, a version and their step composition; opening one launches the visual builder.

  4. 4

    Compose steps in the visual builder Organization owner-administrator

    Drag from the palette: Agent task (LLM call with prompt/AI persona), Tool call (registry MCP tool), Approval (puts the run on hold for a human), Condition (true/false branches), Parallel, Delay, Notification, Loop. Connect nodes, configure each, then « Save » and « Validate »: errors (isolated node, cycle) are listed.

  5. 5

    Add triggers Organization owner-administrator

    « Workflow triggers » panel > « New trigger »: Webhook (secret incoming URL, the JSON body becomes the run inputs), Scheduled (5-field cron or RRULE with IANA timezone) or Event (e.g. contact.created). « Test » fires by hand; a real run requires a published workflow.

  6. 6

    Publish and execute Organization owner-administrator

    « Publish » makes the definition executable; « Execute » (with its inputs) creates a run tracked in AI Activity. Approval nodes stop the run until a human decision in /approvals; outward tool calls stay subject to CASL / Law 25 compliance.

  7. 7

    Model a business decision (DMN) Organization owner-administrator

    Process studio (/workflows/studio): drag start, task, decision, gateway, end; for a decision node open the DMN table editor (inputs, rules, hit policy, default) in deterministic, hybrid or AI mode and « Test » with sample values. Hybrid mode makes an AI choice (dmn_hybrid, 1 credit) only when no rule decides.

  8. 8

    Compile and run the process Organization owner-administrator

    Save the process (or import a BPMN file), then « Compile & run » generates the executable workflow and shows the live run visualiser. The action is reserved for owners and admins.

Collaboration

  • Community manager: rules on posts. Owner-admin: workflows, triggers, DMN studio, switch to automatic mode.
  • Marketing team: proposes automations and tests via « Simulate » / « Test » without activating anything in production.
  • A viewer can neither create, publish nor execute (server 403).

With the AI Copilot

  • « « Create a rule that recycles posts above 2x the average » (automation_rule_create, confirmed; the rule is born disabled). »
  • « « Simulate this rule then list its runs » (automation_rule_simulate, automation_rule_runs). »
  • « « Instantiate the lead follow-up template, validate and publish it » (workflow_instantiate_template, workflow_validate, publish_workflow, run_workflow). »

Outcome

Audited automations: rules simulated before activation, validated and published workflows, tested DMN decisions, runs visible in AI Activity.

Pitfalls

See also