Skip to content

Send articles to WordPress as drafts with SEO metadata

Send finished articles from Kotia to your WordPress site as drafts, with optional SEO metadata. Connect the site, run the workflow, and check the draft.

Updated

Send your prepared articles to your WordPress site without copying the text or formatting by hand. "Send to WordPress" creates a new draft on the selected site and returns a link to it. Open the post in the WordPress editor, review it, and publish it.

Sending can be the last step of a news blog workflow: finding events, selecting them, writing, and creating drafts on the site. When you connect through the Kotia plugin, you can also prepare the post's title, description, tags, and SEO metadata.

Example: news for a corporate blog

The workflow can do the following:

  1. Find news on your business topic.
  2. Select an event that is useful to your readers and skip repeats you have already processed.
  3. Get the text of the sources through "Page parsing".
  4. Write one piece with a headline, an explanation of the event, and links.
  5. Send it as a draft to the selected WordPress site.

Example prompt for the writing step:

Write one news post for a delivery service blog. Start with a headline, then explain the event, who it affects, and what changes for online stores. Use subheadings, and list the conditions as bullet points. Keep links to the sources you read. Do not add promotional promises or facts that are not in the materials.

The output is a draft with the finished text. If you need to, add a schedule for the whole chain. It starts preparing new materials, and you decide whether to publish the drafts in WordPress.

How sending works

The card receives text or a finished article from the previous step and creates a new post with draft status. The content is not rewritten during sending. The article does not appear publicly on the site until you publish it.

If you want to keep the result inside Kotia, use "Document". Sending to WordPress ends the chain: you cannot connect another card after it.

How to send an article to WordPress

  1. In Kotia settings, connect WordPress through the Kotia plugin or the REST API. Check the connection and save it.
  2. Open the workflow on your computer. Prepare a step that produces the final text or a finished article.
  3. Add a "Send to WordPress" card and connect it to the output of this step. A connection only to the start of the run will not work, because the card needs the finished text.
  4. Open the send settings and, in the "Site" field, select the connection you need.
  5. Decide whether you need new "SEO metadata". By default, the toggle is off. Its availability depends on how the site is connected.
  6. Run the workflow. When it finishes, open the send result and follow the link to the draft.
  7. In WordPress, check the post's title, content, links, and formatting. Then edit it and publish it as usual.

If the list of sites is empty, follow the "Connect a site in settings" link. Check a site with a connection error in settings first, then select it in the card.

Where the title and content come from

If new SEO metadata is not prepared, the post title is taken from the first heading in the text. If there is no heading, the workflow name is used. If several cards are connected to the send step, their texts go into the post one after another, without the card names. An image takes its own place and does not affect the choice of title. The card has no separate field for entering a title. To make the article start with a title, specify this in the writing prompt.

A finished article is sent with its formatting preserved. Plain text with markup is converted for WordPress. If several sources are connected to the send step, their texts go into the post one after another, without the names of the source cards. The result is one post, not a separate article for each input.

For one post, send one finished article. If you need several posts, send them in separate steps or through repeats of a loop. The card does not split a combined text into articles.

If the article needs links to sources, ask for them to be kept in the writing prompt. Kotia's internal numbered footnote is sent without a link. To go to a source in WordPress, you need a regular address (URL).

What the "SEO metadata" toggle adds

With the toggle on, Kotia fills in seven fields of the post in the language of the article:

Field What it is for
Post title The name of the piece in WordPress
Slug The text part of the post URL
Excerpt A short summary of the piece
Tags Topic labels for the post
SEO title The title for search metadata
SEO description The description for search metadata
Focus keyword The main search query for the piece

The article text does not change. If a finished article already contains SEO fields, turning on the toggle replaces them with new ones. If the toggle is off, Kotia does not generate anything new. When you send one finished article through a supported connection, its existing SEO fields are kept.

Preparing and sending search fields is available through the Kotia plugin. For a connection through the REST API, the toggle is locked, because this sending method does not pass SEO metadata. If you select such a site, an enabled setting is reset.

If you connect several articles to one send, they are combined into one post. Separate sets of SEO fields from those articles will not be kept.

How much sending costs

With the "SEO metadata" toggle off, sending is free. Preparing new metadata costs 1 token per step. Writing the article, searching, and other earlier steps are paid separately.

If the send step fails, the charge for preparing SEO metadata is refunded. A transfer error does not mean you have to pay again for writing the finished article. First fix the connection or the cause given in the result.

Running again creates a new draft

The card has no mode for updating a post that was sent earlier. Each run creates a new draft, including when you run the workflow again, run it from this step, or go through a loop again.

So after an unclear result, such as a dropped connection, first open the list of posts in WordPress. The draft may have been created even if the confirmation did not come back. Stopping the workflow does not delete posts that were already created, and it does not guarantee that a send that has already started will be cancelled.

To change an existing post, open it in WordPress. Sending again from Kotia creates a separate post, not a new version of the previous one.

If the draft does not appear

Situation What to do
The site is not selected or the connection was deleted Select a working connection in the card settings
The input is an empty result or material without text Check the output of the previous step in the run log
WordPress rejected the send Read the reason in the result; check access to the site, the connection, and the account permissions
SEO metadata is unavailable Check the connection method: these fields are not passed through the REST API
The step is done with the note "The draft was sent without SEO metadata" The draft is already on the site, and the token for SEO is refunded. Don't run the step again — that would create a second draft. Fill in the SEO fields for this post in WordPress manually
The connection dropped and the result is unknown Check the list of drafts on the site before sending again

A successful result shows the site, the date, and the link to the created draft. Open the draft and check how the text looks with your site's theme and settings.