Skip to content

Daily

Get warned before a Buffer queue runs out

Each morning I hear about any Buffer channel with too few posts lined up.

Runs
Daily
Apps
Buffer
AI
Not needed
Access
API key

Send this to your assistant

Create a ClickRuntime automation: every weekday at 8am, check my Buffer queues and email me any channel with fewer than 3 posts scheduled.

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 social media manager schedules posts in Buffer in batches, usually a week or two at a time. Then a launch happens, a holiday arrives, or the batch day gets skipped, and one channel quietly runs out of scheduled posts. The account goes silent for several days, reach drops, and the manager only notices when somebody asks why nothing has been posted since Tuesday.

Each day, ClickRuntime lists your Buffer channels, counts how many posts are scheduled for each one and emails you the channels that are below the threshold you set. Channels with a healthy queue are not mentioned. It gives you a few days of warning, which is the time you need to write and queue more.

Marketing teams running several brand or client channels, where one account being forgotten is easy, will find it practical.

What you get out of it

  • Accounts never go silent by accident

    A warning when a queue is low gives you days to fill it. Consistent posting protects the reach and the follow-through your audience expects from the brand. Steady activity also keeps followers from drifting to accounts that post more reliably.

  • Algorithms see steady activity

    Many platforms favor accounts that post regularly. Avoiding unplanned gaps helps keep engagement from sliding after a break nobody meant to take. Agencies handling many accounts avoid the awkward call where a client points out that their feed has been quiet for a week, because every channel is checked every day.

  • Agencies protect client trust

    A client asking why their feed has been quiet for a week is an uncomfortable call. A daily check across all channels keeps every account covered and removes the awkward conversation.

  • Batching stays realistic

    Knowing how many days of content remain helps you plan the next writing session. You schedule when you need to, and avoid both panicked last-minute posts and wasted idle days.

  • One email covers every channel

    A single message lists all low channels, so there is no need to open each profile in Buffer and count. Checking five accounts takes the same effort as checking one.

How it works

What happens, step by step

  1. Once a day, ClickRuntime gets the list of channels in your Buffer account.

  2. For each channel it counts how many posts are scheduled.

  3. If any channel has fewer than 3 posts lined up, you get an email listing those channels and how many posts each has left.

Before it runs live

  • Connect Buffer

What you get

RunsDaily
Get warned before a Buffer queue runs outtoday, 9:00Succeeded
Email · Buffer queuesNorthwind (linkedin): 1 scheduled Northwind (instagram): 0 scheduled

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

  • Run it at a different time, more or less often, or only on weekdays
  • 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 Buffer 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.
empty_queue_reminder.pyexample
from clickruntime import on_trigger, credentials, notify, http

ORG_ID = "your-organization-id"
MIN_POSTS = 3

def buffer(query, variables=None):
    resp = http.post("https://api.buffer.com", json={"query": query, "variables": variables or {}},
                     headers={"Authorization": f"Bearer {credentials.secret('BUFFER_API_KEY')}"})
    resp.raise_for_status()
    return resp.json()["data"]

@on_trigger
def run(event):
    channels = buffer("query($org: OrganizationId!) { channels(input: {organizationId: $org}) { id name service } }",
                      {"org": ORG_ID})["channels"]
    low = []
    for ch in channels:
        posts = buffer("query($org: OrganizationId!, $ch: ChannelId!) { posts(input: {organizationId: $org, "
                       "filter: {channelIds: [$ch], status: [scheduled]}}) { edges { node { id } } } }",
                       {"org": ORG_ID, "ch": ch["id"]})["posts"]["edges"]
        if len(posts) < MIN_POSTS:
            low.append(f"{ch['name']} ({ch['service']}): {len(posts)} scheduled")
    if low:
        notify.email_me("Buffer queues running low", "\n".join(low))
    return {"low": len(low)}

FAQ

Common questions

How does it decide a queue is running low?
It counts the posts currently scheduled for each channel and compares the number with your threshold, for example fewer than three posts. Channels at or above the threshold are left out. Choose a threshold that matches how often you post.
Does it count drafts and ideas as queued posts?
No. It counts scheduled posts only, which are the ones that will actually publish. Drafts and ideas are not live content, so they do not protect against a gap. A separate digest can list your unused ideas.
Will I get an email even when every queue is full?
You can choose. The simplest setup sends nothing when no channel is low, which keeps your inbox clean. If you prefer a daily all-clear note, that is easy to add. Tell your AI assistant which you prefer.
What permissions does it need?
API key. 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 each time it runs (daily). Checks that find nothing to do 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 “Get warned before a Buffer queue runs out” from your assistant

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