---
title: "Medium Integration"
description: "Connect AI agents to Medium. Agents read the current user, create posts on a profile or under a publication, list publications and contributors, and upload images. The Medium public API is deprecated, so this serves accounts that already hold an integration token."
url: https://flowrunner.ai/integrations/medium
date_modified: 2026-08-07T17:20:23-07:00
---

# Medium

[CMS & Content](https://flowrunner.ai/integrations/category/cms-content)

Connect AI agents to Medium. Agents read the current user, create posts on a profile or under a publication, list publications and contributors, and upload images. The Medium public API is deprecated, so this serves accounts that already hold an integration token.

[Verified](https://flowrunner.ai/integrations/verified "What does verified mean?") · 6 actions · API key · available

[Medium website](https://medium.com/) · [Platform Documentation](https://github.com/Medium/medium-api-docs) · Capability data verified 2026-08-12

1.  An article is published in a CMS or drafted in a doc
2.  Agent reads the content and formats it as HTML or Markdown
3.  Agent runs Get Current User to obtain the required Author ID
4.  Agent creates the post as a draft with Create Post
5.  The team gets a link to the drafted post for review
6.  An author approves before the agent creates the post as public

## What This Integration Enables

An agent can read the authenticated user with Get Current User, whose id is the Author ID that Create Post requires and the User ID that List User's Publications needs. It creates a post on the user's profile with content in HTML or Markdown, up to three tags, a canonical URL, and a publish status of draft, public, or unlisted. It can also create a post under a publication, where editors may publish with any status and writers may only create drafts pending approval.

The agent lists the publications a user contributes to and the contributors of a publication with their roles, so a flow can route content to the right destination. It can upload an image from a public URL, though this is rarely needed because Medium auto-imports images referenced by src in post HTML. Because a post set to public cannot be reverted to draft through the API, the agent treats going public as the step that needs a person.

### Without FlowRunner

**Cross-posting by hand**: Someone copies each article into Medium and reformats it

**Going public is manual**: A post is set to public whenever the author gets to it

**Wrong destination**: Posts land on a profile when they should sit under a publication

### With FlowRunner

**Drafts created by agent**: The agent formats the article and creates it as a Medium draft

**Public is a decision**: An author approves before the agent publishes the post as public

**Routed to the right place**: The agent looks up publications to post under the right destination

## Use Case Scenarios

### Cross-Post From WordPress

When [WordPress](https://flowrunner.ai/integrations/wordpress) fires On New Published Post, the agent calls Get Current User for the Author ID, then Create Post to mirror the same article onto the author's Medium profile with the source URL set as the canonical reference. The article reaches a second audience without anyone reformatting it.

### Publish Under a Publication

The agent pulls a drafted article, runs List User's Publications to find the team's publication id, and calls Create Post Under Publication to place it there. As a writer, it lands as a draft pending an editor's approval, so the publication's review process stays intact.

### Mirror a Ghost Post

After [Ghost](https://flowrunner.ai/integrations/ghost) publishes a post, the agent calls Get Current User for the Author ID and Create Post to mirror the content onto Medium as a draft. The same piece reaches Medium readers, staged for a final look before it goes public.

## Human-in-Loop Highlight

Reading the user, listing publications, and creating drafts are safe to automate, so the agent handles them on its own. Going public is the consequential step, because a post created with public status is live on Medium and cannot be reverted to draft through the API. So when a flow would create a public post, the agent stops. It routes the drafted post to an author as a [human-in-the-loop](https://flowrunner.ai/concepts/human-in-the-loop) step, showing the title, the destination profile or publication, the tags, and the canonical URL, and asks: "Publish this post to Medium as public, or keep it a draft?" On approval the agent creates the post with public status. On hold, it stays a draft. The AI formats and stages the article; the decision to make it public gets a person.

Agent processes routinely

Detects exception requiring judgment

Clear match Continues automatically

Ambiguous Routes to human via preferred channel

Human decides

Agent resumes with decision

## Agent Capabilities

6 actions

### User

1

-   **Get Current User** Returns the user tied to the integration token, including id, username, name, and profile URL. Use the id as the Author ID for Create Post and the User ID for List User's Publications, and as a check that the token is valid.

### Posts

2

-   **Create Post** Creates a post on the authenticated user's profile with HTML or Markdown content, up to three tags, an optional canonical URL, and a publish status of draft, public, or unlisted. A public post cannot be reverted to draft through the API.
-   **Create Post Under Publication** Creates a post under a publication instead of a profile. Editors may publish with any status, while writers may only create drafts pending editor approval. Use List User's Publications to find a Publication ID.

### Publications

2

-   **List User's Publications** Lists the publications a given user contributes to as an editor or writer, each with its id, name, description, and URL.
-   **List Publication Contributors** Lists the contributors of a publication with their role of editor or writer, for publications the authenticated user can access.

### Images

1

-   **Upload Image** Uploads an image from a public URL and returns a Medium-hosted URL for use in post HTML. Rarely needed, since Medium auto-imports images referenced by src in post content.

## Frequently Asked Questions

### What can FlowRunner do with Medium?

FlowRunner agents can run Get Current User, Create Post, and Create Post Under Publication in Medium, plus 3 more actions.

### Does connecting Medium to FlowRunner require OAuth?

No. Medium connects to FlowRunner with an API key, no OAuth flow required.

### Can Medium trigger a FlowRunner workflow automatically?

Medium doesn't currently expose triggers in FlowRunner. It connects as an action step inside workflows started by another trigger.

**Work at Medium?** This integration exposes Medium to AI agents on every FlowRunner plan, including through MCP, at no cost to you. [See what FlowRunner offers integration partners](https://flowrunner.ai/integrations/partners), including how to keep this page current.

---
Markdown version of https://flowrunner.ai/integrations/medium. Site index: https://flowrunner.ai/llms.txt
