Skip to content

The moment it happens

Turn your notes into a Ghost draft

Rough notes I send to a link come back as a titled draft post waiting in Ghost.

Runs
The moment it happens
Apps
Ghost
AI
Yes, uses the built-in AI allowance
Access
Admin API key (write)

Send this to your assistant

Create a ClickRuntime automation: give me a link I can send notes to; have AI turn them into a blog post of about 800 words with a title, and save it as a draft in Ghost.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Writers and founders who publish on Ghost often capture ideas in a hurry: a voice note transcript, bullet points from a call, a messy paragraph typed on a phone. Turning that into a draft with a title, structure and a clean body takes another half hour at a desk, and plenty of those ideas never make it into the Ghost editor at all.

You send raw text to a webhook link, and as soon as it arrives the built-in AI in ClickRuntime drafts a title and a body from it. A new draft post is created in Ghost, never published, so it is waiting in the editor when you sit down to polish it.

Newsletter writers, indie founders posting build updates and marketers who collect notes from interviews and want a first draft waiting rather than a blank page.

What you get out of it

  • Ideas reach the editor before they fade

    Sending notes to a link right after a call means the draft exists the same hour, while you still remember the points that did not make it into the bullet list.

  • Blank-page time disappears

    Starting from a structured draft with a working title is much quicker than writing from nothing, and editing a draft is easier on a busy day than composing. Many writers find that editing is faster and less draining than composing.

  • Nothing is published by accident

    The post is created as a draft in Ghost, so subscribers never see unreviewed AI text. You decide what goes out and when, from the normal Ghost editor. You stay in control of the final wording and timing.

  • Works from any tool that can post text

    Anything that can call a webhook, such as a shortcut on your phone or a form, can feed ideas in, so capture is not tied to sitting at the Ghost dashboard.

  • No AI key to manage

    The writing step uses the built-in AI, so there is no OpenAI or Anthropic account to create, pay for and rotate just to turn notes into a post. That removes a cost and an admin task for small publishers.

How it works

What happens, step by step

  1. When you send rough notes to your personal ClickRuntime link, the automation starts straight away.

  2. AI turns the notes into a blog post of about 800 words with a title.

  3. ClickRuntime saves it in Ghost as a draft, so nothing is published until you review it and press publish.

Before it runs live

  • Connect Ghost
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Turn your notes into a Ghost draftjust nowSucceeded
Ghost · DraftsDraft saved: "What we learned shipping weekly for a year" (812 words)

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Ghost steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
draft_from_text_with_ai.pyexample
import time, jwt
from clickruntime import on_event, credentials, http, ai

SITE = "https://blog.example.com"

def ghost_token():
    key_id, secret = credentials.secret("GHOST_ADMIN_API_KEY").split(":")
    now = int(time.time())
    return jwt.encode({"iat": now, "exp": now + 300, "aud": "/admin/"}, bytes.fromhex(secret),
                      algorithm="HS256", headers={"kid": key_id})

@on_event
def handle(event):
    notes = (event.json or {}).get("text") or event.body
    post = ai.generate(
        f"Turn these notes into a blog post of about 800 words. Return a title and the body as HTML.\n\n{notes}",
        json_schema={"type": "object", "properties": {"title": {"type": "string"}, "html": {"type": "string"}},
                     "required": ["title", "html"]},
        max_output_tokens=2048,
    ).json
    resp = http.post(f"{SITE}/ghost/api/admin/posts/", params={"source": "html"},
                     headers={"Authorization": f"Ghost {ghost_token()}"},
                     json={"posts": [{"title": post["title"], "html": post["html"], "status": "draft"}]})
    resp.raise_for_status()
    return {"draft": resp.json()["posts"][0]["id"], "title": post["title"]}

FAQ

Common questions

Does it publish the post or only save a draft?
Only a draft is created in Ghost. The post stays unpublished until you open it and publish or schedule it yourself, which gives you a chance to edit the AI wording and add images or tags.
How do I send text to it?
You get a webhook URL, and anything that can send an HTTP POST with your text can use it, like a phone shortcut, a form or another automation. The draft is created within moments of the text arriving.
Will the draft keep my own voice?
The AI reorganizes and polishes your notes, so the facts and ideas come from you. You can ask your AI assistant to add style guidance, such as short sentences or a casual tone, and approve that before use.
What permissions does it need?
Admin API key (write). Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Turn your notes into a Ghost draft” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.