Skip to content

Daily

Turn daily news into an Instagram carousel saved in Drive

Each day the top stories from your feeds become a branded Instagram carousel, with the slides saved to Drive and the post published.

Runs
Daily
Apps
Facebook Pages, Google Drive
AI
Yes, uses the built-in AI allowance
Access
drive.file; instagram_content_publish

Send this to your assistant

Create a ClickRuntime automation: every day at 7, take the top five stories from my feeds, write a short slide for each, render them as images, save them to my Drive 'Carousels' folder and publish them as an Instagram carousel.

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 local news site wants a daily presence on Instagram, where younger readers are, but designing a carousel of headlines each morning takes a designer an hour.

Each morning the top stories become five clean slides with a headline and one-line summary. The slides are saved to Drive for the archive and published as a carousel, ready before the morning commute.

What you get out of it

  • Daily posts without a designer

    Slides are made from a simple template, every day.

  • Built for Instagram

    Carousels get more reach than single images or links.

  • An archive in Drive

    Every day's slides are saved, ready to reuse.

  • Stories you choose

    Only your chosen feeds are used.

How it works

What happens, step by step

  1. Every morning, ClickRuntime reads your news feeds and takes the top stories.

  2. AI writes a short headline and one-line summary for each.

  3. Each story is turned into a slide image and saved to your Drive folder.

  4. The slides are published together as an Instagram carousel.

Before it runs live

  • Connect Facebook Pages
  • Connect Google Drive

What you get

RunsDaily
Turn daily news into an Instagram carousel saved in Drivetoday, 9:00Succeeded
Instagram · @northwindlocalToday's top stories: New cycle lane opens on Elm Road · Market hall reopens Saturday · ...

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
  • 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 and Google Drive 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.
news_carousels_generated_from_rss.pyexample
import feedparser
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from googleapiclient.http import MediaInMemoryUpload
from clickruntime import on_trigger, credentials, http, ai

IG_ID, FOLDER, G = "17841400000000000", "folder-carousels-id", "https://graph.facebook.com/v21.0"

@on_trigger
def run(event):
    stories = feedparser.parse("https://news.northwind-local.example/rss").entries[:5]
    slides = ai.generate("For each story give a headline (max 8 words) and one-line summary:\n" + "\n".join(s.title for s in stories),
                         max_output_tokens=500, json_schema={"type": "array", "items": {"type": "object",
                         "properties": {"headline": {"type": "string"}, "summary": {"type": "string"}}}}).json
    drive = build("drive", "v3", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    t, kids = {"access_token": credentials.connection("facebook", "work")}, []
    for n, s in enumerate(slides):
        svg = f'<svg xmlns="http://www.w3.org/2000/svg" width="1080" height="1080"><rect width="100%" height="100%" fill="#1d3557"/><text x="80" y="480" font-size="64" fill="#fff">{s["headline"]}</text><text x="80" y="600" font-size="36" fill="#ddd">{s["summary"]}</text></svg>'
        png = http.post("https://render.northwind-local.example/svg-to-png", data=svg.encode()).content
        f = drive.files().create(body={"name": f"slide-{n + 1}.png", "parents": [FOLDER]}, media_body=MediaInMemoryUpload(png, "image/png"),
                                 fields="id,webContentLink").execute()
        drive.permissions().create(fileId=f["id"], body={"type": "anyone", "role": "reader"}).execute()
        kids.append(http.post(f"{G}/{IG_ID}/media", data={**t, "image_url": f["webContentLink"], "is_carousel_item": "true"}).json()["id"])
    c = http.post(f"{G}/{IG_ID}/media", data={**t, "media_type": "CAROUSEL", "children": ",".join(kids), "caption": "Today's top stories"}).json()["id"]
    http.post(f"{G}/{IG_ID}/media_publish", data={**t, "creation_id": c})
    return {"slides": len(kids)}

FAQ

Common questions

What do the slides look like?
A plain background in your brand colour with the headline and a one-line summary in large text. You can set colours and font in the prompt.
Can I check slides before they're posted?
Yes. Ask for the approval version, where slides are saved to Drive first and posted after you say yes.
How many slides are made?
Five by default, up to ten, which is Instagram's carousel limit.
What permissions does it need?
drive.file; instagram_content_publish. 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 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 “Turn daily news into an Instagram carousel saved in Drive” from your assistant

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