Templates

Publish announcer

Automation template · Marketing ·View source

Sign in to use

When a new product or article goes live, posts a short summary and link to Slack and drafts social posts for it, so the whole team knows what launched and has copy ready to share.

How it works

Trigger
A product or article is created or changed
Checks
That it has just gone live, not that it was saved as a draft or edited again
Posts
A short summary and its link to your Slack channel
Drafts
Social posts for the networks you pick, in the same message

What it needs

From your data. The agent finds the matching fields in your schema and confirms them with you.

  • The product name or article headline
  • The description or article body to summarise
  • Whether the record is live (a status, a published flag or a published date)
  • The public URL, or the slug to build it from (optional)
  • The product's price, for the Slack summary only (optional)

You'll choose

  • Slack channelWhere launches are announced
  • Storefront URL · default https://example.comUsed to build links from slugs
  • Social posts for · default Instagram and LinkedIn
  • Language · default English

Works best with

The agent offers to set these skills up too, or to use ones you already have.

Example output

Slack, #launches

New product: Rain Shell Jacket A light, fully taped rain shell for cycling commutes, with a hood that fits over a helmet. Made for people who ride in all weather and want one jacket that packs into its own pocket. £145 · Outerwear

Ready to share (drafts)

Instagram Rain on the way in, dry at your desk. The new Rain Shell Jacket packs into its own pocket and fits over a helmet. Link in bio. #cyclecommute #rainjacket #bikecommute #everydaycarry #northlinegoods

LinkedIn Most rain jackets are made for walking. We designed the Rain Shell Jacket for the ride to work: taped seams, a hood that fits over a helmet and a cut that does not ride up on the bike. It packs into its own pocket for the office. https://northlinegoods.example/products/rain-shell-jacket

Show the instructions

Publish announcer

A product or article was created or changed. If it has just gone live, tell the team in {{channel}} and give them social posts to share. Never change the record, and never post anywhere but Slack.

1. Decide whether it just went live

Load the record that started this run with its title, description or body, publishing status, URL or slug, and price for a product.

Announce only when the record is live now and was not live before:

  • Created: it was created already live. A record created as a draft is not announced now; the update that publishes it will be.
  • Updated: the change made it live (the status changed to published or active, the published flag turned on, or the publish date passed into the past). Compare the record before and after the change, which the run’s trigger carries.

Also check your automation memory: when this record was announced before (it was unpublished and published again), do not announce it twice. Remember each record you announce by its id.

In every other case, including edits to a record that was already live, end the run as skipped (Finish Run with status skipped) so nothing is posted.

2. Post to Slack

Stage one message for {{channel}}:

  • First line: “New product:” or “New article:” and the title, as a link. Build the link from the record’s URL, or from {{siteUrl}} and its slug. Without either, leave the link out and say so.
  • Two sentences on what it is and who it is for, from its own description or body.
  • For a product: the price and the category. For an article: the author and the reading time (about 200 words a minute).

3. Draft social posts (for: {{networks}})

Skip this step when it is set to no social posts. Write in {{language}}; when a brand voice skill is loaded, follow it. Add the posts to the same Slack message, under “Ready to share”, clearly marked as drafts:

  • Instagram: a caption of two or three short sentences, then up to five relevant hashtags. Mention the link is in the bio, as Instagram captions do not link.
  • LinkedIn: three to four sentences, written for the business audience: the problem it solves or what the article teaches, then the link.
  • X: under 260 characters including the link.

Every claim must come from the record. No prices or discounts in the social posts, and no invented launch offers.