Integrations

    Connect Ghost

    Send articles directly to Ghost using a custom integration.

    Connect your Ghost publication so outwrite.ai can create posts on it. Your site keeps its own theme and layout; outwrite.ai supplies the article, its web address and a featured image. Works with Ghost(Pro) and self-hosted Ghost sites that are reachable on the public internet. Available in Simple and Pro.

    Why it helps

    • You get finished posts in Ghost, with a featured image, without copying anything.
    • The article's formatting is kept exactly as written, including tables and section links.
    • You can receive drafts to review, or let articles publish on your schedule.

    Before you start

    • Access to your Ghost admin as an Administrator or Owner, so you can add a custom integration.
    • Your site's address starts with https://.
    • An active outwrite.ai trial or subscription.

    A custom integration is Ghost's way of giving one app its own key. It comes with two keys; outwrite.ai needs the Admin API key, not the Content API key.

    Set it up

    Step 1: Create a custom integration in Ghost

    1. Sign in to your Ghost admin (usually yoursite.com/ghost).
    2. Click the gear icon to open Settings.
    3. Go to Advanced, then Integrations.
    4. Click Add custom integration, name it outwrite.ai and create it.
    5. Copy the API URL and the Admin API key shown on the integration page.

    Step 2: Connect it in outwrite.ai

    1. Open the integrations page. In Pro, go to Auto Blog → Integrations. In Simple, go to Publishing settings and select Connect or manage your website.
    2. Click the Ghost card.
    3. Optional: in Connection name, enter a name you'll recognize, such as "Company blog".
    4. In Ghost API URL, paste the API URL, for example https://your-site.ghost.io.
    5. In Admin API key, paste the Admin API key. It's a long code with a colon in the middle.
    6. Click Connect website. outwrite.ai checks the key by reading your posts. It doesn't create or publish anything.
    7. Your publication appears in the card with Connected directly under its name.

    Step 3: Send a test draft

    1. Choose Ghost as the destination. In Pro, open Auto Blog → Campaigns, open your campaign, set Publishing destination to your Ghost site and Save on website as to CMS draft. In Simple, open Publishing settings, set Where should your articles go? to your Ghost site and Send articles to your CMS as to Drafts.
    2. When the next article is sent, open Posts in Ghost admin and filter by drafts.
    3. Preview the post. Check headings, links, lists, tables and the featured image in your theme.
    4. When it looks right, switch to Published (Pro) or Published articles (Simple).

    What gets sent

    ItemWhat happens in Ghost
    TitleUsed as the post title. The article's top heading is left out of the body so the title doesn't appear twice.
    Article bodyPlaced in one HTML card, so formatting stays exactly as written. A "Photo by..." credit line is added at the end.
    Web addressMade from the title plus a short code, for example my-article-1a2b3c4d-v1.
    Featured imageSet as the featured image, with its alt text. The image stays hosted by the photo library rather than being uploaded to your Ghost storage.
    Status and visibilityDraft or published, depending on your setting. Visible to everyone (public).
    ExcerptThe opening paragraphs, shortened to about 300 characters. Ghost shows it on post cards and uses it for the page description and social previews.
    Tags, author, SEO fieldsNot set. Ghost applies its defaults, and you can change them in the post settings.
    Newsletter emailNot requested. Publishing through outwrite.ai doesn't email the post to your members.

    You can edit the HTML card in Ghost. It isn't split into separate Ghost editor blocks.

    How to tell it's working

    Open the article in outwrite.ai. Saved on website as draft means the draft is in Ghost. Publication verified means outwrite.ai found the live post. See the status table.

    Disconnect

    1. In outwrite.ai, open the Ghost card and click Disconnect.
    2. To fully revoke access, delete the outwrite.ai custom integration in Ghost (Settings → Advanced → Integrations).

    Posts already in Ghost stay there. Before disconnecting, choose another destination in any campaign that uses this site.

    Common errors and fixes

    What you seeWhat to do
    Use the Admin API key from your Ghost custom integration.You probably pasted the Content API key, or only part of the Admin key. Copy the whole Admin API key, including the part before and after the colon.
    Ghost did not return its posts. Use an Admin API key.The key or URL is wrong. Copy both again from the integration page.
    Enter the Ghost admin site URL without a query or credentials.Remove anything after a ? or # from the API URL.
    The website must resolve only to public addresses.The site is on a private network. outwrite.ai can only reach sites on the public internet.
    The website connection could not be verified. Check its access and try again.Ghost didn't answer as expected. Check that the API URL opens in your browser, then try again.
    A Ghost post already uses this delivery slug. No duplicate was created. (on an article)A post with the same address exists. Check your posts in Ghost before trying again.
    The website rejected the request (401) (on an article)The integration was deleted or its key changed. Reconnect with the new key, then open the article and select Return to review.
    Featured image not visibleCheck the post's featured image in Ghost, and whether your theme shows featured images.

    Common questions

    Will my newsletter subscribers get an email?

    No. outwrite.ai publishes the post on your site only. If you want to email it, send it from Ghost.

    Can outwrite.ai update a post after it's published?

    Yes, in Pro. Open the article in Auto Blog → Articles, select Edit, then Save changes, then Update live post.

    What if I removed the cover photo?

    The post is sent without a featured image.

    Related guides

    Need a hand with your workspace?Get help