Skip to content

Guide

Automate tasks with rules

Automations & integrations · 8 min read

Automation rules (sometimes called workflows) do routine community tasks for you, such as welcoming new members, tagging active posters, or awarding points. Each rule has a trigger, optional conditions, and one or more actions. You build them under Admin → Automations → Rules.

Who can do this: Owners and admins. Moderators don't see Automations. · Where: Web (admin console). · Plan: Automations, and how many rules you can have, depend on your platform plan. Without them, the page shows Upgrade to automate, and existing rules pause until you upgrade.

How an automation rule works

A rule reads like a sentence: When (Trigger) something happens, Only if (Conditions) these are true, Then (Actions) do this. A note under the trigger says who the actions apply to.

  1. Go to Admin → Automations → Rules and click Create rule.
  2. Enter a Rule name, an optional Description, and a Priority (higher runs first when rules share an event).
  3. Under When (Trigger), choose the event and fill in any extra settings. Choose How often the rule may run: Every time, Once per member, or Only once (once for the whole community).
  4. Under Only if (Conditions), click Add condition for each filter. Conditions are optional; all of them must be true.
  5. Under Then (Actions), click Add action for each action.
  6. Leave Turn on after saving off to test the rule first, or turn it on to start right away.
  7. Click Save rule. The rule's page opens.

Turning a rule on doesn't run it for past events. If the rule changes member data (adding to a space, assigning tags, or awarding points), confirm Enable high-risk actions? to save. One rule can trigger another, up to 5 rules in a chain.

Automation triggers

Group Trigger (extra setting)
Member New member joins community, Member joins space (space), Member levels up, Member reaches points threshold (points), Member completes onboarding, Member leaves the community
Content New post created (space), Post receives comment
Event Event RSVP (event), Member checks in to an event, Event created, Event cancelled
Course Member enrolls in a course, Member completes a lesson, Member passes a quiz, Member completes a course
Membership & billing Member joins an access group / Member leaves an access group (access group), Member subscription starts / Member subscription ends (subscription plan), Member payment fails

Leave a space, event, access group, or plan empty to match any. A few triggers act on someone you might not expect. Post receives comment acts on the commenter, and Event cancelled on whoever cancelled. Use Apply to on an action to reach the post author or attendees instead. Member leaves the community runs after the person is gone, so it takes no conditions and allows only Trigger webhook and a notification to Community admins.

Automation conditions

Conditions can check Member tags (contains or does not contain, with one or more tags), Days since joined and Member points (compared with a number), Trigger space, and Content type (Discussion, Question, or Article). Trigger space appears for space, post, event, and course triggers. Content type appears for post triggers.

Automation actions

Action What it does
Send system notification Sends an in-app notification with a title and message
Send email Sends marketing email to the triggering member when the selected trigger and community support it. See Send automated marketing emails.
Add to space / Remove from space Adds the member to a space as Member or Moderator, or removes them
Change space role Sets the member's role in a space: Member, Moderator, or Admin
Assign tag / Remove tag Adds or removes a member tag
Award points Gives points. The optional Reason (optional) appears in the member's points history.
Award badge Gives a badge from your gamification settings
Trigger webhook Sends an HTTP request with optional headers, body, and Signing secret (optional). With a secret, the request is HMAC-signed the same way as a webhook. See Set up webhooks.

Apply to chooses who an action affects: Whoever triggered it, the Post author, or the Event host. Notifications can also go to Event attendees or Community admins, sent to each person separately.

Each action can run immediately or after a delay of up to seven days from the trigger. Automations cannot change access groups. Use the editor’s variable picker to personalize text or a webhook body. Email actions follow marketing preferences and the shared email allowance; their preview and administrator test are separate from a rule’s dry run.

Start from an automation template

Click Start from a template to open Choose a template, and filter by category if you like, such as Onboarding or Courses. A card's To pick after using: line lists anything you'll have to choose yourself: a space, a tag, or a badge. Click Blank rule instead to build a rule from scratch.

Click a template to preview how it works, step by step, then click Use template, or All templates to go back. A filled-in rule form opens. Complete anything left empty and click Save rule. Nothing is created until you save, and saved rules count toward your rule limit.

Manage automation rules

A rule's page shows How this rule works as a step-by-step flow, its logs, and Edit rule, Test rule, Run now, Duplicate rule, and Delete rule. Duplicates start turned off. Test rule, also on the form before you save, is a dry run that never runs actions; Run now runs the rule for real. See Review automation execution logs.

On the Rules page, each card shows where the rule applies, how many conditions it has, and its recent failures, such as Failed 5 times in a row. Sort offers Newest first, Priority, Last run, Most runs, and Most failures (7 days). Click Select to turn several rules on or off, or delete them.

A rule set to Only once stays on after it has run, but real events won't run it again. Its card shows Only once: already ran ([time]), won't run again, and its page says This rule has already run. To run it again, click Duplicate rule and turn the copy on.

Turn an automation rule on or off

Use the switch on a rule's card, or Status on its page. Turning it off pauses it without deleting it. While it's off, delayed actions that come due are skipped. Editing an action cancels its runs that are still waiting.

A rule that's missing a required setting, or that uses something since deleted, can't be turned on and tells you why, such as Pick a space for the space action or The event this rule is limited to no longer exists.

After 5 failed runs in a row, the owner and admins get an Automation rule keeps failing notification. The rule stays on until you turn it off. In the Mateflow app, the notification names the rule but doesn't open it; check the rule's log on the web.

Edit an automation in the flow view

New and existing rules open in an editable flow. Select a trigger, condition, action, or timing node to configure it; Form view switches to the form, and Flow view returns to the flow. Use Rule settings for the name, description, priority, and initial on/off setting.

Actions are grouped by their offset from the trigger. Changing a timing group changes every action in it; offsets are independent, not added in sequence. You can duplicate actions or add another at the same time. Changing the trigger shows the affected settings and can be undone. Edits stay local until you save. Rerun a test after changing the definition, and review the warning about queued actions before saving action changes.

Send notifications around an event’s scheduled time

Choose Before an event starts or After the scheduled event end as the trigger. Set a whole-minute offset: 1–10,080 minutes before start, or 0–10,080 minutes after the scheduled end. The latter follows the event schedule, not the moment a Live session actually ends. Optionally restrict it to a space or event.

These triggers allow exactly one immediate system notification to members still attending when it sends. Guests are not separate recipients, and an RSVP does not prove attendance. Set timing on the trigger, with no extra action delay. Member preferences and personal reminders still apply. Run now is unavailable for these scheduled triggers.

Event RSVP fires when status changes, including withdrawals, waitlisting, host edits, and promotions. For a registration confirmation, filter New RSVP status to attending; use previous status and change source if needed. Existing rules are not changed automatically.

Related articles

Was this guide helpful?

Back to guides

Can't find what you need?

If you're a member of a community, its admins are the right people to ask. If you're building or running one on Mateflow, our team can help.