tr Skip to content

Connect WordPress and Discord

If your readers or members gather in a Discord server, your WordPress site and that server should know about each other. FlowMattic announces new posts in Discord, gives and removes Discord roles when WordPress roles change, and turns forum posts into drafts. It suits blogs, membership sites, course creators and game or software communities.

38 triggers 83 actions 7 example workflows 6 ready-made templates Unlimited runs

Try a pairing

When this happens in WordPress32 triggers

Do this in Discord12 actions

1. TriggerNew Post
2. ActionSend Channel Message

When WordPress fires New Post, FlowMattic runs Send Channel Message in Discord with the data from that event.

You build this in the FlowMattic workflow builder on your own site. See the setup steps

WordPress and Discord workflows you can build

Each one uses only triggers and actions the two integrations ship today, plus FlowMattic's own tools. Where the library has a ready-made template, import it instead of building from scratch.

WordPress app icon Discord app icon Ready-made template

Announce each new WordPress post in a Discord channel

The title, excerpt and link go to a channel such as #new-posts when you publish, so your community reads new articles without waiting for a newsletter.

New PostSend Channel Message

View the template
WordPress app icon Discord app icon

Send tutorials, news and releases to different channels

A Router reads the post's category and posts to the matching channel, so members who only follow #releases are not woken up by every blog post.

New PostRouterSend Channel Message

WordPress app icon Discord app icon

Give members their Discord role when they get a WordPress role

When a user is given a role such as premium member, Find User looks up the Discord name saved on their profile and Add Role gives them access to the members-only channels.

User Role AddedFind UserAdd Role

WordPress app icon Discord app icon

Take the Discord role away when the membership ends

User Role Removed runs the same lookup and Remove User Role closes the private channels, so access in Discord follows what members pay for on your site.

User Role RemovedFind UserRemove User Role

WordPress app icon Discord app icon

Send new comments to a moderators' channel

Every new comment, with author, post title and text, lands in a private #mod-queue channel, so the moderation team sees pending comments without logging in to wp-admin.

New CommentSend Channel Message

WordPress app icon Discord app icon

Open a forum thread to discuss each new article

Create new Forum Post starts a thread in a Discord forum channel named after the article, so comments and questions about it stay together instead of scattered in chat.

New PostCreate new Forum Post

WordPress app icon Discord app icon

Turn community showcase posts into WordPress drafts

When a member posts a project in your #showcase forum, FlowMattic creates a draft post with the text and author name, ready for an editor to polish and publish.

New Forum PostNew Post

Set up: new posts in a Discord channel

At the end, each post you publish on WordPress is announced in the Discord channel you choose.

  1. Connect Discord

    In FlowMattic, open Connects and add Discord for your server. WordPress needs no connection because FlowMattic runs on it.

  2. Trigger on New Post

    Create a workflow, choose WordPress and New Post, then publish a test post so FlowMattic captures the post fields.

  3. Write the announcement

    Add Discord with Send Channel Message, pick the channel and build the message from the title, excerpt and permalink.

  4. Test and switch on

    Test the step to see the message in Discord, adjust the wording, then switch the workflow on.

Import the ready-made template Beginner, about 5 min to set up
Announce each new WordPress post in a Discord channel Template
  1. WordPress app icon 1. Trigger in WordPress New Post
  2. Discord app icon 2. Action in Discord Send Channel Message

    Fields mapped from the earlier steps (a typical setup)

    From WordPressTo Discord
    Post titleMessage text
    Post excerptMessage text
    PermalinkMessage text
    Author nameMessage text
Built on the FlowMattic canvas. Test each step with real data, then switch the workflow on.

Triggers and actions in this pair

A trigger starts a workflow. An action is something FlowMattic does in the app as a step.

Good to know

  • Find User searches by Discord name, so role syncing needs each member's Discord name saved on their WordPress profile, for example in a profile field they fill in.
  • Discord only lets a bot assign roles that sit below its own role in the server's role list. Move FlowMattic's role above the member roles before testing Add Role.
  • New Post fires when a post is published. Edits to a published post fire Update Post instead, which you may want to leave out so Discord is not spammed with corrections.
WordPress app icon

WordPress

Integration page

Triggers (32)

  • New UserTriggers when a new user is registered
  • New PostTriggers when a new post is published
  • New PageTriggers when a new page is published
  • New MediaTriggers when a new media is uploaded
  • New CommentTriggers when a new comment is added
  • Comment ApprovedTriggers when a comment is approved
  • Update PostTriggers when a published post is updated
  • Update PageTriggers when a published page is updated
  • User LoginTriggers when an user logs into the site
  • User Visits a Page/PostTriggers when an user visit page, post or any post type singular page
  • User Deletes a PostTriggers when an user delete post of any post type
  • Post Meta UpdatedTriggers when post meta is updated
  • Post Meta Field UpdatedTriggers when post meta specific field is updated
  • User Profile UpdatedTriggers when user profile is updated
  • User Profile Field UpdatedTriggers when user profile specific field is updated
  • User Resets PasswordTriggers when user resets the password
  • User DeletedTriggers when user is deleted from the database
  • Category CreatedTriggers when a new category is created
  • Tag CreatedTriggers when a new tag is created
  • Term CreatedTriggers when a new term is created
  • User Role AddedTriggers when a new role is added to user
  • User Role RemovedTriggers when a role is removed from user
  • User Role ChangedTriggers when user role is changed
  • User Role Changed From Specific to DefinedTriggers when user role is changed from specific role to defined role
  • GDPR Export Data Request ConfirmedTriggers when user confirms request to export their personal data
  • GDPR Erase Data Request ConfirmedTriggers when user confirms request to erase their personal data
  • Plugin ActivatedTriggers when a plugin is activated
  • Plugin DeactivatedTriggers when a plugin is deactivated
  • Plugin UpdatedTriggers once for each plugin that is updated
  • Plugin DeletedTriggers when a plugin is deleted
  • Theme SwitchedTriggers when the active theme is changed
  • WordPress Core UpdatedTriggers when WordPress itself is updated

Actions (71)

  • New UserCreate a new user
  • Update UserUpdate an existing user details
  • Update User MetaUpdate User Metadata
  • Add Role to UserAdd role to existing user roles of an user
  • Change User RoleChange user role of an existing user and set new role
  • Remove User RoleRemove user role of an existing user
  • Delete UserDelete user account from site
  • New MediaCreate a new media
  • Rename MediaRename media title in media library
  • Delete MediaDelete media by ID from the media library
  • Search Media by TitleSearch media by title in media library
  • New PostCreate a new post
  • Update PostUpdate existing post of any post type with custom fields
  • Get User by IDGet an user profile by ID
  • Get User by EmailGet an user profile by Email
  • Create CategoryCreate a new category
  • Create TagCreate a new post tag
  • Create RoleCreate a new user role, if not exists
  • New CommentCreate a new comment on post
  • Get Post MetadataRetrieve all or custom metadata from any post
  • Get User MetadataRetrieve all or custom metadata from any user
  • Get Posts by Post TypeRetrieve all posts of specific post type
  • Get Post TaxonomiesRetrieve all taxonomies of a post
  • Get Post Taxonomy TermsRetrieves the terms of the taxonomy that are attached to the post
  • Get Post by IDRetrieve the post details by ID
  • Get Posts by MetadataRetrieve all posts of specific post type by metadata or custom fields
  • Get Taxonomy by NameRetrieve the taxonomy details by name
  • Get All Users by RoleRetrieve all users by user role
  • Add Tag to PostAdd a tag to the post
  • Remove Tag from PostRemove a tag from post
  • Add Category to PostAdd a category to post
  • Remove Category from PostRemove a category from post
  • Check Plugin ActiveCheck if a plugin is active
  • Activate PluginActivate a plugin if not already active
  • Update CategoryUpdate an existing category details
  • Update TagUpdate an existing tag details
  • Update TermUpdate an existing term details
  • GDPR Request Export Personal DataCreate a request to export user personal data (sends confirmation email)
  • GDPR Request Erase Personal DataCreate a request to erase user personal data (sends confirmation email)
  • GDPR Execute Export Personal DataExecute export of personal data using request ID from trigger
  • GDPR Execute Erase Personal DataExecute erasure of personal data using request ID from trigger
  • Create Media FolderCreate a new folder in the uploads directory
  • Rename Media File URLRename the actual file name and URL of a media item
  • Move Media to FolderMove a media file to a different folder in the uploads directory
  • Delete Post MetaDelete a specific meta key from a post
  • Update Post MetaUpdate a specific post meta key with a new value
  • Add Post MetaAdd a new meta key and value to a post
  • Delete User MetaDelete a specific meta key from a user
  • Update CommentUpdate an existing comment
  • Delete CommentDelete a comment by ID
  • Get CommentsRetrieve comments by post ID, user, or status
  • Set Post StatusChange the status of a post
  • Set Post ThumbnailSet the featured image of a post
  • Remove Post ThumbnailRemove the featured image from a post
  • Duplicate PostClone a post with its meta and taxonomies
  • Delete TermDelete a term from any taxonomy
  • Delete CategoryDelete a category by ID
  • Delete TagDelete a tag by ID
  • Get OptionRetrieve a WordPress option value
  • Update OptionUpdate a WordPress option value
  • Get Users by MetaRetrieve users by a specific meta key and value
  • Send Password ResetSend a password reset email to a user
  • Search WordPressSearch posts, users, post meta, user meta, taxonomy terms, options or comments. Never fails on a miss — always returns found or not_found
  • Create User if Not ExistsCreate a user only when a matching one does not exist. Always reports whether the user was created or already existed
  • Get User by UsernameGet an user profile by username (user_login)
  • Delete PostDelete post by ID from the site
  • Upload Base64 ImageUpload a base64 encoded image to the WordPress Media Library
  • Add Taxonomy to PostAdd a taxonomy to post
  • Remove Taxonomy from PostRemove a taxonomy from post
  • Create TermCreate a new taxonomy term
  • Get Media by IDRetrieve the media details by ID

Triggers (6)

  • New Message Posted to ChannelTriggers when a new message is posted to a specific text channel
  • New Forum PostTriggers when a new Post is created on a Forum
  • New Forum MessageTriggers when a new Message is created on a Forum Post
  • New User AddedTriggers when a new user joins the Discord Server
  • New Mention in Text and AnnouncementsTriggers when a User or Role is mentioned in a Text or Announcements channel
  • New Mention in Threads and Forum PostsTriggers when a User or Role is mentioned in a Threads or Forum Posts channel

Actions (12)

  • Add RoleAdd a role to a user
  • Remove User RoleRemove a chosen role from the specified user
  • Send Channel MessagePost a new message to a specific #channel you choose
  • Send message in Forum PostSend a new message in a specific Forum Post
  • Create new Forum PostCreate a new Post on a Forum Channel
  • Create ChannelCreate a new channel or category
  • Create Channel CategoryCreate a new channel category that hold other channels
  • Rename ChannelRename a channel to a specific name you choose
  • Send Direct MessageSend a direct message to a specific user
  • Find UserFind an existing user by name
  • Find ChannelFind an existing channel by matching name
  • Get Channel By NameGet an existing channel by exact name

Why run this pair with FlowMattic

WordPress and Discord connect through FlowMattic on your own site, with no separate automation account in the middle and no charge per run.

Runs on the site you already own

FlowMattic is part of your WordPress install, so posts, users and roles are read straight from your site without an outside service polling it.

Large servers cost the same

Runs are unlimited, so role changes for thousands of members and every new post are covered without a plan upgrade.

Membership rules in one place

Discord access follows the WordPress roles your membership or course plugin already sets, so there is one list of who has paid.

Common questions

What does a WordPress Discord integration with FlowMattic cover?

Posts, pages, comments, users and roles on WordPress can start workflows that message channels, open forum threads, send DMs and give or remove roles in Discord. Discord messages, forum posts and new members can start workflows that create posts or update users on WordPress.

Can I sync membership levels to Discord roles?

Yes. Start from User Role Added or User Role Changed, find the member with Find User and run Add Role. Use User Role Removed with Remove User Role when the membership ends.

Can I share custom post types such as products or events?

New Post covers posts. For other post types, start from Post Meta Updated or another trigger your plugin provides, or use a Filter on the post type if the trigger sends it.

Can new Discord members get a WordPress account?

New User Added tells you someone joined the server, but Discord does not pass an email address here, so a full WordPress account usually needs a sign-up form instead.

Will the message include the featured image?

Discord shows a preview of the link when the post's open graph image is set, so including the permalink in the message is usually enough to show the image.

Did not find your answer? You can browse the help center or ask us directly.

Start automating WordPress and Discord

Install FlowMattic, connect both accounts and import a template. Every run stays on your own server.

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

Reviewed 23 Oct 2026. The example workflows are written with AI from the real triggers and actions of both integrations and checked against them. WordPress integration 7.3.0, Discord integration 1.1.1.