Skip to content

The moment it happens

Approve submitted posts before they go to Facebook and LinkedIn

Content your team sends in is held for your approval, and only what you approve is posted to Facebook and LinkedIn.

Runs
The moment it happens
Apps
Facebook Pages, LinkedIn
AI
Not needed
Access
pages_manage_posts; LinkedIn w_member_social

Send this to your assistant

Create a ClickRuntime automation: when someone submits a post to my content bot, store it and send me Approve and Reject buttons. Post approved items to my Facebook Page and LinkedIn.

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

A school's staff want to share good news on social media, but the head of communications needs to check every post first. Submissions arrive by email, WhatsApp and in the corridor, and approved posts still need to be published by hand.

Staff now send posts to one place. The communications lead gets each one with Approve and Reject buttons, and approved posts go to Facebook and LinkedIn straight away.

What you get out of it

  • Anyone can contribute

    Staff share news easily, which keeps your channels lively.

  • Nothing goes out unchecked

    Every post waits for your approval.

  • Approve in one tap

    No copying text into two networks after approving.

  • Rejected posts disappear quietly

    Nothing rejected is published or kept in a queue.

How it works

What happens, step by step

  1. A team member submits a post, which is stored as waiting for approval.

  2. You get a message with the post and Approve and Reject buttons.

  3. When you tap Approve, it's posted to your Facebook Page and LinkedIn.

  4. Each submission is handled once, and rejected ones are discarded.

Before it runs live

  • Connect Facebook Pages
  • Connect LinkedIn
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Approve submitted posts before they go to Facebook and LinkedInjust nowSucceeded
Telegram · Content approvalsNew submission: Year 6 won the regional maths quiz! 🏆 [Approve] [Reject]

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
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Facebook Pages and LinkedIn 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.
approve_submissions_before_posting_to_facebook_and_linkedin.pyexample
from clickruntime import on_event, credentials, http, state

PAGE_ID, AUTHOR, CHAT = "1234567890", "urn:li:organization:12345", "123456789"

@on_event
def handle(event):
    body = event.json or {}
    token = credentials.secret("TELEGRAM_BOT_TOKEN")
    if "callback_query" in body:
        action, item_id = body["callback_query"]["data"].split(":")
        item = state.get(f"item:{item_id}")
        if action == "approve" and item:
            http.post(f"https://graph.facebook.com/v21.0/{PAGE_ID}/feed",
                      data={"message": item, "access_token": credentials.connection("facebook", "work")})
            http.post("https://api.linkedin.com/rest/posts",
                      headers={"Authorization": f"Bearer {credentials.connection('linkedin', 'work')}", "LinkedIn-Version": "202409"},
                      json={"author": AUTHOR, "commentary": item, "visibility": "PUBLIC", "lifecycleState": "PUBLISHED",
                            "distribution": {"feedDistribution": "MAIN_FEED"}})
        state.delete(f"item:{item_id}")
        return {"action": action}
    text = body.get("message", {}).get("text", "")
    state.set(f"item:{event.event_id}", text)
    buttons = [[{"text": "Approve", "callback_data": f"approve:{event.event_id}"}, {"text": "Reject", "callback_data": f"reject:{event.event_id}"}]]
    http.post(f"https://api.telegram.org/bot{token}/sendMessage",
              json={"chat_id": CHAT, "text": f"New submission:\n{text}", "reply_markup": {"inline_keyboard": buttons}})
    return {"stored": event.event_id}

FAQ

Common questions

How do people submit posts?
Through a chat bot or simple form that calls the trigger link with the text and an optional image.
Where do the approval buttons appear?
In a message to you, such as in Telegram or Slack. Tapping a button sends your answer back to the same trigger link.
Can I edit a post before approving?
Reply with your edited text instead of tapping Approve, and the edited version is posted.
What permissions does it need?
pages_manage_posts; LinkedIn w_member_social. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's 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 “Approve submitted posts before they go to Facebook and LinkedIn” from your assistant

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