Skip to content

Hourly

Post an hourly price update to X and your inbox

Every hour a short price update for the assets you follow is posted on X and emailed to you.

Runs
Hourly
Apps
Gmail, X
AI
Not needed
Access
X tweet.write; Gmail gmail.send

Send this to your assistant

Create a ClickRuntime automation: every hour, get the latest prices for Bitcoin, Ethereum and Solana with their 24-hour change, post a short update on X and email it to me.

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

Market commentary accounts and traders who share updates build trust by posting at the same time, every time. Doing it by hand means checking prices and typing the same format every hour, which nobody keeps up for long.

A fixed-format update posted on the hour keeps the account reliable and gives followers a reason to check back. The same update in your inbox gives you a running record without opening a chart.

What you get out of it

  • Posts like clockwork

    Updates go out on the hour, every hour, which followers of a market account come to rely on.

  • Same format every time

    Prices and changes appear in the same layout, so readers can compare updates at a glance.

  • A record in your inbox

    Every update is also emailed to you, giving you a searchable history of prices through the day.

  • No AI cost

    The update is built from the numbers directly, so it uses no AI and runs the same way every hour.

How it works

What happens, step by step

  1. Every hour ClickRuntime fetches the latest prices for the assets you chose.

  2. It builds a short update with each price and its 24-hour change.

  3. The update is posted on your X account.

  4. The same update is emailed to you from your Gmail.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect X

What you get

RunsHourly
Post an hourly price update to X and your inboxtoday, 9:00Succeeded
X · @acmemarketsHourly update $BTC $67,420.15 (+1.8%) $ETH $3,112.40 (-0.6%)

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 Gmail and X 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.
hourly_market_update_posted_to_x_and_emailed.pyexample
import base64
from email.message import EmailMessage
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, http

COINS, ME = {"bitcoin": "BTC", "ethereum": "ETH", "solana": "SOL"}, "me@example.com"

def send_email(subject, text):
    msg = EmailMessage()
    msg["To"], msg["Subject"] = ME, subject
    msg.set_content(text)
    gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
    gmail.users().messages().send(userId="me", body={"raw": base64.urlsafe_b64encode(msg.as_bytes()).decode()}).execute()

@on_trigger
def run(event):
    prices = http.get("https://api.coingecko.com/api/v3/simple/price", params={
        "ids": ",".join(COINS), "vs_currencies": "usd", "include_24hr_change": "true"}).json()
    lines = [f"${COINS[c]} ${p['usd']:,.2f} ({p['usd_24h_change']:+.1f}%)" for c, p in prices.items()]
    text = "Hourly update\n" + "\n".join(lines)
    http.post("https://api.x.com/2/tweets", headers={"Authorization": "Bearer " + credentials.connection("x", "main")},
              json={"text": text}).raise_for_status()
    send_email("Hourly market update", text)
    return {"posted": True}

FAQ

Common questions

Where do the prices come from?
From a free public price service. You can switch to another source your AI assistant can reach if you prefer.
Can I post less often?
Yes, for example every 4 hours or once a day. Ask your AI assistant to change the schedule.
Does the post include advice?
No. It lists prices and 24-hour changes only, with no recommendation.
What permissions does it need?
X tweet.write; Gmail gmail.send. 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 (hourly). 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 “Post an hourly price update to X and your inbox” from your assistant

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