> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ocoya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Wix

> Connect a Wix site's blog, how an article becomes a Wix blog post, the author and categories, live or draft, and starting a workflow when a post is published.

A Wix channel is the **blog** on one of your Wix sites. Post to it and Ocoya publishes a new blog post: the title becomes its title, the text its body, the first image its cover. Each Wix site you connect gives you one channel.

Wix can also start a workflow: a post published on your blog can be shared to your other channels a moment later. See [Wix in workflows](#wix-in-workflows) below.

## Before you start

You need a Wix site with the **Wix Blog** app added, and you need to be allowed to add apps to it. Wix asks you to add Ocoya's app to the site while you connect. Ocoya can create, publish and delete blog posts, read your site's members and blog categories, and add images to your site's Media Manager. It cannot change your pages, design or settings.

## Connect Wix

<Steps>
  <Step title="Open Channels">
    Select **Channels** in the left sidebar, then **Connect channel**.
  </Step>

  <Step title="Choose Wix">
    Pick **Wix** from the **Add a connection** panel, under Blogging.
  </Step>

  <Step title="Add the app in Wix">
    Wix shows what Ocoya will be able to do. Choose the site, then **Agree & Add**. You have 10 minutes to finish.
  </Step>

  <Step title="Choose the author">
    Back in Ocoya, pick the **Author**: the site member every post is published as. Wix requires one for every blog post. You can also pick **Categories** to file every post under.
  </Step>

  <Step title="Save and connect">
    Choose **Save and connect**. The site's blog is added as a channel.
  </Step>
</Steps>

Connecting again to the same site — to change the author or the categories — updates the same connection, and your existing channel keeps working. To connect another site, connect Wix again and choose that site.

## How posts appear

| Part of your post | Where it goes in Wix |
| - | - |
| Title | The blog post's **title**, up to 200 characters. Wix requires one: set it under **Wix options** in the post editor, or **Title** on a workflow step |
| Text | The post's body |
| First image | The post's **cover image** |
| Other images | Shown after the text, in order |

If the text's first line repeats the title, it's left out of the body so the title isn't shown twice. Links you added to the post that aren't already in the text go at the end.

Text written in Markdown — headings, lists, quotes, bold, italic, links, code and images — arrives as Wix's own formatting. Plain text keeps each line as a paragraph, and web addresses become clickable links. Wix keeps its own copy of every image in your site's Media Manager.

## Live or draft

Posts from the post editor are **published** on your blog the moment they post.

In a workflow, the **Publish to Wix Blog** step lets you choose under **On Wix**:

| Setting | What happens |
| - | - |
| **Publish live** (default) | The post is published on your blog straight away |
| **Keep as draft** | The post is saved as a draft on your blog, for somebody to publish in Wix |

This is separate from the step's **Save as draft** switch, which keeps the post in your Ocoya planner without sending it to Wix at all.

A published post links to its page on your site.

## What you can post

| Post type | Supported |
| - | - |
| Text | Yes |
| Images | Yes, up to 10. The first is the cover |
| GIF | Yes, as an image |
| Video | No |

A post needs text or at least one image.

## Wix's limits

| | Limit |
| - | - |
| Post text | 100,000 characters |
| Title | 200 characters |
| Images | 10 per post |
| Hashtags | No limit. Wix shows them as plain text |

## Deleting a post

Deleting a published post in Ocoya moves it to your blog's trash in Wix, where it can be restored. Posts your team wrote in Wix are never touched.

## Wix in workflows

Wix works at both ends of a workflow.

**Publish to Wix Blog** is an action. Choose the blog, a **Title**, the caption, and **On Wix**: Publish live or Keep as draft.

**New post published on a Wix blog** is a trigger. Choose a Wix channel, and the workflow runs once for each post published on that blog.

How the trigger behaves:

* **A published post runs within moments.** Wix tells Ocoya as soon as a post is published. Ocoya also checks once a day, in case a notice went missing.
* **Nothing before you switch the workflow on counts.** Posts already on your blog are left alone.
* **Each post runs once.** Editing it later doesn't post it again.
* **Up to 10 posts run per check.** Publish fifty at once and they're worked through over the next checks, oldest first.

The steps after the trigger can use:

| Value | What it holds |
| - | - |
| `{{trigger.title}}` | The post's title |
| `{{trigger.excerpt}}` | The post's excerpt |
| `{{trigger.text}}` | The whole post as plain text |
| `{{trigger.url}}` | The post's page on your site |
| `{{trigger.image}}` | The cover image |
| `{{trigger.categories}}` | The post's categories, separated by commas |

Leave a following **Post to** step's caption or media empty and it uses `{{trigger.text}}` and the cover image.

## Disconnecting

Disconnecting a Wix channel in Ocoya stops Ocoya posting there. Posts it already published stay on your blog.

To remove Ocoya from Wix entirely, remove the **Ocoya** app from your site's dashboard in Wix. The Wix channel then shows **Reconnect needed** the next time it posts.

## Common problems

**"Wix blog posts need a title."** Add a title under **Wix options** in the post editor, or fill in **Title** on the workflow step.

**"Wix needs an author for this blog's posts."** No author was chosen when connecting. Connect Wix again and pick one.

**"This site has no members to write posts as."** Add yourself as a member of the site in Wix, then connect again.

**"This Wix site has no blog."** Add the **Wix Blog** app to the site in Wix, then connect again.

**"Wix no longer accepts this connection."** The Ocoya app was removed from the site. Reconnect — see [Reconnect a channel](/help/reconnect-a-channel).

**"Wix is rate limiting requests."** Wix asked Ocoya to slow down. The post can be retried in a minute.

**"Wix installation was cancelled."** You left Wix's screen without adding the app. Connect again and choose **Agree & Add**.

## Related

<Columns cols={2}>
  <Card title="Character and media limits" icon="ruler" href="/help/channel-limits">
    Every network's limits in one table.
  </Card>

  <Card title="Why didn't my post publish?" icon="triangle-alert" href="/help/post-didnt-publish">
    Diagnosing a post a network refused.
  </Card>
</Columns>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.