Skip to content

Every 15 minutes

Draft replies to Page questions for your approval

Questions in your comments get a drafted answer by email, and it's posted once you approve.

Runs
Every 15 minutes
Apps
Facebook Pages
AI
Yes, uses the built-in AI allowance
Access
pages_manage_engagement, pages_read_user_content

Send this to your assistant

Create a ClickRuntime automation: every 15 minutes, find questions in new comments on my Facebook Page, draft a friendly reply using my product notes, and email it to me. Post the reply only after I approve it.

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

Replying to Facebook comments is part of customer service now, and shoppers expect an answer within hours. Typing the same reply to 'what are your opening hours?' or 'does it come in blue?' fifty times a month costs a social media manager real time, while ignoring them means lost sales. Posting AI text blindly is risky, because a wrong price or promise in public is hard to retract.

Every 15 minutes, ClickRuntime fetches new Page comments, uses its built-in AI to find the questions and write a draft reply for each, and emails the draft to you with the original comment. Only after you approve does the reply get posted to the comment thread.

This works well for small teams that want speed with a person still signing off on each public message.

What you get out of it

  • Cut the time spent typing replies

    Drafts arrive written and ready, so approval takes seconds rather than minutes of composing. Over a month of repeated questions, that adds up to several hours returned to the team.

  • Keep every public reply human-approved

    Nothing appears on your Page until you say so. A wrong delivery date or an invented discount never goes live, which protects the brand from the risks of unsupervised automatic posting.

  • Answer in a consistent voice

    Drafts follow the same tone every time, so different team members stop sounding like different companies. You can edit before approving when a comment needs a personal note. A steady voice builds trust over time.

  • Shorten response times on questions

    Comments that sit for a day lose the sale. Drafts waiting in your inbox within fifteen minutes let you answer from your phone between meetings, keeping replies timely without constant monitoring.

  • Learn which questions repeat

    Reviewing drafts shows the questions customers ask most. When pricing or shipping dominate, you know what to add to the post caption or the Page's about section. Those patterns often improve your posts themselves.

How it works

What happens, step by step

  1. Every 15 minutes ClickRuntime collects new comments on your 10 most recent Facebook Page posts and keeps the ones that ask a question.

  2. AI drafts a short, friendly answer using the product notes you gave it.

  3. You get an email with the question, a link to it and the drafted reply.

  4. Nothing is posted until you approve it. Once you do, the reply goes up under the comment.

Before it runs live

  • Connect Facebook Pages

What you get

RunsEvery 15 minutes
Draft replies to Page questions for your approvaltoday, 9:00Succeeded
Email · Reply draft to approveDo these go in the dishwasher? Draft: Yes! All our Northwind mugs are dishwasher safe.

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 Facebook Pages 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.
ai_drafted_comment_replies.pyexample
from datetime import datetime, timezone
from clickruntime import on_trigger, on_event, credentials, http, state, ai, notify

G = "https://graph.facebook.com/v21.0"
PAGE_ID = "104857600000000"

def page_token():
    user = credentials.connection("facebook", "work")
    return http.get(f"{G}/{PAGE_ID}", params={"fields": "access_token", "access_token": user}).json()["access_token"]

NOTES = "Northwind mugs are dishwasher safe, ship in 2-3 days, and come in 4 colours."

@on_trigger
def draft(event):
    token = page_token()
    since = state.get("since") or int(datetime.now(timezone.utc).timestamp()) - 900
    posts = http.get(f"{G}/{PAGE_ID}/posts", params={"limit": 10, "access_token": token}).json()["data"]
    drafts = state.get("drafts") or {}
    for p in posts:
        for c in http.get(f"{G}/{p['id']}/comments", params={"since": since, "fields": "message,permalink_url",
                                                              "access_token": token}).json()["data"]:
            if "?" not in c["message"]:
                continue
            reply = ai.generate(f"Product notes: {NOTES}\nWrite a short friendly reply to: {c['message'][:500]}",
                                max_output_tokens=120).text.strip()
            drafts[c["id"]] = reply
            notify.email_me("Reply draft to approve", f"{c['message']}\n{c['permalink_url']}\n\nDraft: {reply}\n\n"
                            f'Approve by posting {{"approve": "{c["id"]}"}} to this automation\'s link.')
    state.set("drafts", drafts)
    state.set("since", int(datetime.now(timezone.utc).timestamp()))
    return {"drafts": len(drafts)}

@on_event
def approve(event):
    drafts = state.get("drafts") or {}
    cid = event.json.get("approve")
    if cid not in drafts:
        return {"error": "unknown comment"}
    http.post(f"{G}/{cid}/comments", data={"message": drafts.pop(cid), "access_token": page_token()}).raise_for_status()
    state.set("drafts", drafts)
    return {"replied": cid}

FAQ

Common questions

How do I approve a draft?
The email shows the comment and the proposed reply. You approve by answering the email or telling your AI assistant, and only then does the reply post. If you do nothing, the draft is not published.
Does it draft replies to every comment?
No, only to comments the AI classifies as questions. Compliments, tags and complaints are skipped by default, though you can add complaints so they get a careful apology draft for your review. Skipped comments still appear in Facebook as usual.
Can the replies use facts about my business?
Yes. You can give it your opening hours, shipping policy or price list, and the drafts will use them. Without such facts the AI will avoid specifics and suggest the customer message the Page. That keeps public answers safe.
What permissions does it need?
pages_manage_engagement, pages_read_user_content. 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 each time it checks. Checks that find nothing new and stop right away aren't counted.
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 “Draft replies to Page questions for your approval” from your assistant

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