How to Publish to WordPress Multisite from One Workflow

Last updated: November 11, 2026

Quick answer: 1 workflow can publish to multiple WordPress multisite sites if it routes each post to the right site ID, uses that site’s REST API endpoint, and authenticates with a valid per-site credential. In this guide to How to publish to WordPress multisite from one automation workflow, the workflow chooses the correct site, authenticates once per target, and sends each post to the correct URL or site ID.

Publishing to WordPress multisite from one workflow means one automation can choose the right site, authenticate once, and send each post to the correct URL or site ID. It works when your workflow can route by site, hold a valid application password, and hit the WordPress REST API for each target site.

The steps below show the routing, authentication, and site selection that make WordPress multisite publishing work in practice.

What has to exist before one workflow can publish to multisite

Picture this: you already have one automation workflow, but the posts keep landing in the wrong place or failing at login. To make WordPress multisite publishing work, you need three things first: a mapped site target, a working auth method, and a way to send the post to each site’s REST endpoint. If one of those is missing, the workflow stalls.

That means your network admin has to be ready, your target sites need to be known by site ID or URL, and your workflow tool has to support either per-site steps or a loop. A single “publish” button is not enough if the network has more than one site.

Use this checklist before you build the flow:

  1. Confirm which sites in the network should receive automated posts.
  2. Record each site’s URL and, if you use them, its site ID.
  3. Decide whether posts will be created as draft or published.
  4. Make sure the workflow tool can store one credential per site or per account.
  5. Check that the target site accepts WordPress REST API requests.

A setup like this is often the difference between a clean send and a string of 401 errors, though the exact result depends on the workflow and the site settings. See the WordPress REST API handbook for request and authentication details.

How do you publish to WordPress multisite from one automation workflow?

You route each item to the right site, authenticate against that site, and send the post through the WordPress REST API endpoint for that site. That is the core method, and it stays the same whether the network has 2 sites or 20.

Here’s the catch: multisite does not behave like one flat WordPress install. The network is one system, but each site still has its own publishing target, content buckets, and permission checks. If your workflow treats the network like a single blog, it can hit the wrong site or fail at authentication, so consult a WordPress professional or verify the site map carefully before you automate at scale.

Use this order:

  1. Store the target site for each incoming item in a field, such as a site slug, site ID, or category rule. When this works, the workflow knows which site to aim at before it touches WordPress.
  2. Map that value to the matching site endpoint, such as the site’s own REST API base URL. When this works, the request goes to the correct site, not just the network root.
  3. Attach the right credentials for that site, usually an application password for a user allowed to post there. When this works, WordPress accepts the login without a browser session.
  4. Send the post payload to that site’s posts endpoint, then wait for the response code and post ID. When this works, the workflow returns a created post object instead of a silent failure.
  5. Log the site ID, status code, and returned URL in the workflow run. When this works, you can see which site received which post without opening WordPress.

One workflow can branch to several sites without duplicating the whole process. The trick is keeping the routing logic outside the post body itself.

Which part of WordPress multisite decides where the post lands?

The site target decides where the post lands, not the network admin screen alone. In a multisite network, the workflow must point at a specific site, and that can be selected by site ID, subdomain, subdirectory, or a lookup table in your automation tool.

Picture this: the same story needs to land on the main site, the UK site, and the member site, but each one has different categories and different editors. The workflow has to choose the destination before the post is sent, or the content ends up in the wrong publishing queue.

A practical routing setup looks like this:

  • Use a site_slug or site_id field in the source record.
  • Match that field to one target site in a switch step or router.
  • Store the API base URL for each site in a secure config table, and consult a WordPress or automation professional if your stack handles secrets differently.
  • Send only the posts meant for that site into that branch.

If your network has more than one content team, this is where the real work happens. A shared workflow without site selection is just a noisy message pump. The fix is a mapping rule, not a bigger plugin.

How does cross-site authentication work with application passwords?

Cross-site authentication works best when each target site has its own application password for a user who can create posts there. That keeps the workflow from depending on a browser session or an interactive login that expires halfway through a run.

The truth is, WordPress multisite can make authentication feel strange if you are used to one-site publishing. A user may exist in the network, but not every site grants the same role. The workflow needs credentials that are valid for the specific site it is calling, not just for the network as a whole.

Use this setup:

  1. Create or confirm a user account that exists on the target site.
  2. Give that user the right role for posting on that site.
  3. Generate an application password for that user.
  4. Save that password in your workflow tool’s secret store.
  5. Test the request against one site before you copy the pattern to the others.

A successful test usually returns a created post object and a new post ID. A failed one often returns 401 or 403, which tells you the credential is wrong or the user lacks rights on that site.

For a deeper architecture view, this page sits under the broader guide to wordpress publishing architecture for article automation.

How do you handle site-specific categories and post routing?

You handle site-specific categories by mapping each site’s taxonomy before the workflow publishes anything. Categories that make sense on one site may not exist on another, so the workflow has to translate the source data into the target site’s terms.

Picture this: one site uses “News,” another uses “Updates,” and a third uses “Field Notes.” If the workflow pushes the same category slug to all three, one site may accept it and the others may reject it or create a bad match. That is a routing problem, not a content problem.

Use a simple mapping table with at least these fields:

  • Source topic or tag
  • Target site ID
  • Target category ID or slug
  • Publish status
  • Fallback category

If the source item has no clean match, send it to a review state instead of forcing it live. That avoids orphaned posts with the wrong taxonomy and saves editors from cleanup later.

There’s a second trap here: category IDs are site-specific. A category ID from one site in the network is not safe to reuse on another site unless you verified the term exists there. That one mistake can break an entire batch.

What should the network admin settings allow before automation starts?

Network admin settings should allow the target site to accept API publishing, user access, and the content type you want to create. If the network blocks new users, locks down roles, or disables the REST API route you need, the workflow fails before the first post leaves the queue.

Picture this: the workflow is correct, the credentials are valid, and the request still bounces. In multisite, the failure is often on the WordPress side, not the automation side. A site can reject posting because the user lacks a role there, the endpoint is restricted, or the site is set up to force manual review.

Check these items in the network admin area:

  • The target site is active and not archived.
  • The posting user exists on that site.
  • The user role can create the content type you need.
  • The REST API endpoint is reachable from your automation service.
  • Any security plugin or firewall allows authenticated API calls.

If the network has strict controls, keep a short test site in the same multisite install. That gives you a safe place to verify routing and auth before you aim at a live editorial site. A 2-minute test beats a cleanup after 20 bad sends. See the WordPress REST API handbook and WordPress Multisite documentation for the relevant permissions and endpoint behavior.

What usually goes wrong when one workflow hits many sites?

The most common failure is bad routing, followed by mismatched credentials and wrong taxonomy IDs. A workflow that works on one site can fail on the second because multisite settings are not shared in the way people expect.

Picture this: the first post lands fine, then the next one gets a 403, and the third ends up on the wrong domain. That pattern usually points to one of three problems: the site map is wrong, the credential belongs to a different site, or the category IDs were copied across sites without checking.

Watch for these mistakes:

  1. Using the network URL instead of the specific site URL.
  2. Reusing one application password for a user who does not exist on the target site.
  3. Assuming category IDs match across all sites.
  4. Publishing before the site lookup finishes.
  5. Ignoring the response body, which often explains the error plainly.

The fix is boring but effective: log the site ID, target URL, response code, and returned post link on every run. That gives you a paper trail when a post lands in the wrong place.

For the stubborn cases, verify the exact site endpoint in your browser or API client before you blame the workflow. Nine times out of ten, the bad hop is obvious once you look at the right URL.

A practical setup pattern that scales across 5 or 50 sites

A scalable setup uses one master workflow, one site map, and one post route per target site. That lets you grow from a small multisite network to a larger one without rewriting the whole automation each time a new site joins.

Picture this: a central form or content queue feeds the workflow, and the workflow decides whether the item belongs on Site A, Site B, or Site C. That decision happens once, early in the run, and everything after that follows the chosen branch.

A clean pattern looks like this:

  • Intake step gathers title, body, site target, and publish state.
  • Routing step chooses the site branch.
  • Auth step loads that site’s credential.
  • Publish step sends the request to that site’s REST endpoint.
  • Log step records the response and URL.

This approach is better than cloning the same workflow 10 times. Clones drift. One master flow with site branches stays easier to maintain, especially when a site changes its category list or access rules.

If you need one sentence to keep in mind, use this: one workflow can publish to many WordPress multisite sites only if the workflow knows the site first and the login second.

Key Takeaways

  • One workflow can publish across a multisite network if it can pick the right site before the post is sent.
  • The most reliable auth pattern is a per-site application password tied to a user who can post on that site, but verify your specific roles and security rules.
  • Site selection is a routing job, not a content job; use site IDs or a clear lookup table.
  • Categories and tags are not shared across sites in a way you can assume, so map them per site.
  • The cleanest setup logs the target site, response code, and returned post link every time.

Can one workflow publish to multiple wordpress sites?

Yes. One workflow can publish to multiple WordPress sites in a multisite network if it branches by site target and sends each branch to that site’s own REST endpoint. The workflow still needs separate authentication and routing for each destination, so the “one workflow” part is about control, not one shared login for everything.

How do you route posts to the right site in a multisite network?

You route posts by matching each incoming item to a site ID, slug, or URL before the publish step runs. That mapping tells the workflow which endpoint to call and which credentials to load. If the mapping is wrong, the post can land on the wrong site or fail with a permission error.

Drafted with AI; not yet reviewed by a person.

Leave a Reply

Your email address will not be published. Required fields are marked *