tr Skip to content

Distribute new posts differently by author role

When a post is published, FlowMattic looks up its author and reads the author’s WordPress role from the wp_capabilities user meta (change the key if your database prefix is not wp_). A Router sends each post down one path: editor posts to Slack, contributor posts to Telegram and author posts to email.

WordPress Router Slack Telegram Email

6 steps Setup ~12 min Used on 2.1k sites Content Ops Free to import

The Distribute new posts differently by author role workflow on the FlowMattic canvas, with 6 steps across WordPress, Router, Slack, Telegram, Email
The workflow as it appears in the builder after import. Each step opens for editing.

How this workflow runs

What happens at each step once the workflow is on, and what you need before you import it.

  1. Step 1Trigger
    WordPress New Post

    The workflow starts automatically when a new post is published in WordPress. FlowMattic captures that data for the steps below.

  2. Step 2Action
    WordPress Get User by ID

    WordPress — get an user profile by ID. Data is mapped from earlier steps; connect your WordPress account on import.

  3. Step 3Logic
    Router 3 paths

    The Router checks your conditions and sends each run down the matching path of 3 — Editor role, Contributor role, Author role — so different cases get different actions.

  4. Step 4Action
    Slack Send Channel Message

    On the “Editor role” path — Slack — post or Schedule a new message to a specific #channel. Data is mapped from earlier steps; connect your Slack account on import.

  5. Step 5Action
    Telegram Send a Text Message

    On the “Contributor role” path — Telegram — sends a text message with support to markup. Data is mapped from earlier steps; connect your Telegram account on import.

  6. Step 6Action
    Email Send Email

    On the “Author role” path — Email — send an email using built-in WP mail function or custom SMTP. Data is mapped from earlier steps; connect your Email account on import.

What you need

  • FlowMatticCore
  • Slack AccountAccount
  • Telegram AccountAccount

After importing, map your own data. To keep the template universal, not every step is pre-filled. Open each step in the builder and connect your accounts and fields (channels, lists, sheets, recipients) before you switch the workflow on.

Import this workflow into your WordPress site

Download the JSON, import it from the Workflows screen and connect your accounts. Every run stays on your server, with no per-task fees.

30-day money-back guarantee Unlimited workflows and runs Self-hosted

Customers who run it every day

Rated 4.8 out of 5 by customers
Read more reviews

Easy to use, familiar UI for automating all kinds of wordpress tasks. Integrating all our plugins together is key and flowmattic fits the job perfectly.

Verified User in Marketing and Advertising

Great product, saves a lot of money on automation subscription. Also great support and response from the team.