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
Slack
Telegram
6 steps Setup ~12 min Used on 2.1k sites Content Ops Free to import

How this workflow runs
What happens at each step once the workflow is on, and what you need before you import it.
WordPress New PostThe workflow starts automatically when a new post is published in WordPress. FlowMattic captures that data for the steps below.
WordPress Get User by IDWordPress — get an user profile by ID. Data is mapped from earlier steps; connect your WordPress account on import.
Router 3 pathsThe 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.
Slack Send Channel MessageOn 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.
Telegram Send a Text MessageOn 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.
- 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.
More AI Content Engine workflows
Other ready-to-import templates from the same category.
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


