Every 15 minutes
Share each sent Hootsuite post in Slack
When Hootsuite publishes a message, it appears in our Slack channel.
- Runs
- Every 15 minutes
- Apps
- Hootsuite
- AI
- Not needed
- Access
- OAuth token
Send this to your assistant
Create a ClickRuntime automation: every 15 minutes, check Hootsuite for newly sent posts and share each one's profile and text in #social on Slack.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Once a post is published, the work is not over. Customer service should be ready for replies, the founder wants to like and share it, and sales may want to point prospects to it. But in Hootsuite, publishing happens on a schedule in the background. The person who wrote the post is often not looking at the time it goes out, and teammates only discover it later, when the best window to engage with early comments has passed.
Every 15 minutes, messages with the SENT status since the last check are listed, and each is posted in a Slack channel with the text, the network and a link. A saved checkpoint prevents repeats.
It suits teams that want to react quickly to published content, or that want a lightweight confirmation that scheduled posts really went live.
What you get out of it
Early engagement is easier
The first hour after a post has outsized influence on how networks show it. Teammates who see it quickly can like, comment and share while it counts. That small head start is usually all a team needs to join the conversation under a new post while it is still near the top of people's feeds.
Proof that scheduled posts went out
A post in Slack confirms the schedule worked. If one is missing, you catch the failure rather than assuming it succeeded. Silent schedule failures happen, such as an expired token or a rejected image, and the channel makes them visible quickly.
Support is ready for replies
A support person who knows a promotion just went out is prepared for the surge of questions that follows. A support person who knows a promotion just went live is ready for the wave of questions and can answer with confidence.
The whole company sees the brand's voice
People outside marketing see what is being said publicly, which keeps messaging consistent in sales conversations. That helps keep sales calls, support answers and public posts consistent with each other, and avoids contradicting what marketing said.
A running log of published content
The channel history shows what went out and when, which is handy for reviews and for finding that one post from last month. The channel history also shows how often the team posts, which is useful for reviews and for finding last month's announcement quickly.
How it works
What happens, step by step
Every 15 minutes, ClickRuntime checks Hootsuite for posts that went out since its last check, so none are shared twice.
For each one it takes the profile and the post text.
It posts them to #social in Slack, so the team sees what has just been published.
Before it runs live
- Connect Hootsuite
What you get
Build your own
Need it to work differently?
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 Hootsuite steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timedelta, timezone
from clickruntime import on_trigger, state_initializer, credentials, notify, http, state, report_fetched
def messages(state_name, start, end):
resp = http.get("https://platform.hootsuite.com/v1/messages",
headers={"Authorization": f"Bearer {credentials.connection('hootsuite', 'work')}"},
params={"state": state_name, "startTime": start.strftime("%Y-%m-%dT%H:%M:%SZ"),
"endTime": end.strftime("%Y-%m-%dT%H:%M:%SZ"), "limit": 100})
resp.raise_for_status()
return resp.json()["data"]
@state_initializer
def init():
state.set("since", datetime.now(timezone.utc).isoformat())
@on_trigger
def run(event):
since = datetime.fromisoformat(state.get("since"))
now = datetime.now(timezone.utc)
sent = messages("SENT", since, now)
report_fetched(len(sent))
if not sent:
return {"posted": 0}
for m in sent:
notify.slack(f"Posted to profile {m['socialProfile']['id']}:\n{m['text'][:280]}", channel="#social")
state.set("since", now.isoformat())
return {"posted": len(sent)}FAQ
Common questions
Will failed posts be included?
How quickly after publishing does the post appear in Slack?
Can I limit it to one social profile?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get today's Hootsuite posts by email each morning
Every morning I get one email listing what's scheduled to go out today across all profiles.
See how it worksGet alerted when tomorrow has no Hootsuite posts
If nothing is scheduled for tomorrow, I get an email in the afternoon while there's time to fix it.
See how it worksSee new job listings as they're posted
Jobs that match your keywords show up in a Slack channel, each one only once.
See how it worksKeep exploring
Set up “Share each sent Hootsuite post in Slack” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.