Queues, repeats and feeds
Fill a channel's time slots from a queue, repeat a post, follow a post up once it has enough likes, and post what a feed publishes.
You don’t have to pick every post’s time yourself. Peal can take it from a weekly timetable, make new posts from one at an interval, follow a post up once it has enough likes, or turn a blog’s new items into posts.
Queues
A queue is a weekly timetable of slots in a time zone, such as every weekday at 09:30 and 17:00 in Europe/Paris. It’s for some channels and at most one channel set. Instead of choosing a time, you add a post to a queue, and it takes the queue’s next free slot.
To see a workspace’s queues with their next slots, click Settings at the foot of the sidebar, then Queues. Those who can change channel sets can add a queue there, change it, delete it or make it the default: owners, admins, editors and contributors (post:update through the API). A workspace keeps up to 20 queues, each with up to 100 slots.
Adding a post to a queue schedules it, so it needs what scheduling that post needs. A contributor’s post waits for an approval where the workspace asks for one, and is refused otherwise.
Add a post to a queue
Select Add to queue
In the composer, click When, then select Add to queue.
Pick the queue
Pick the queue (the default to start with), and read where the post would go under Next free slot.
Schedule
Click Schedule. The slot is decided when Peal receives the post, so two posts added at the same moment never take the same one.
peal post "An evergreen tip" --default-queue
peal posts queue <post-id> --queue WeekdaysA post that names no channel goes to the queue’s channels and channel set. If one of them was disconnected since, it’s left out, and Peal tells you.
From then on, the post is an ordinary scheduled post. It’s checked against its channels, waits for an approval where the workspace asks for one, and shows on the calendar with a queue mark. You can move, unschedule or cancel it. A post that’s already scheduled moves to the queue’s next free slot the same way.
How slots work
A slot is a day and a time of day on the queue’s clock, daylight saving included, and it follows the same rules as a time you choose. A time the clocks skip moves to the moment they jump, and a time that happens twice is the first one.
A slot is taken while a post the queue placed is scheduled, waiting for an approval or publishing at exactly its time. Peal keeps nothing else about slots. So if you unschedule, cancel or move such a post by hand, its slot is free again, and a post of the queue moved onto a slot’s time takes it.
The first queue of a workspace is its default, which a post added to no queue in particular goes to. Marking another queue as the default moves it there. If you delete the default, there’s none until you mark another.
Changing a queue’s slots moves no post. Posts already placed keep their times until you move them onto the new slots. Deleting a queue leaves its posts scheduled at their times.
Move the waiting posts onto new slots
After you change a queue’s slots or its time zone, Settings › Queues offers Move the waiting posts onto the new slots while posts wait in it, and says how many.
Once you confirm, every post that waits in the queue (scheduled, or waiting for an approval, at a time still ahead) moves onto the queue’s slots as they are now. They move in the order of their times: the first onto the first free slot, the second onto the next, and so on.
A few rules apply during the move:
- Posts moved by hand onto another time move too, because the queue keeps no record of which ones were.
- A post already on its slot stays where it is, and a slot a publishing post holds is skipped.
- What the posts say and where they go don’t change.
- Owners, admins and editors can do it (
post:schedulethrough the API). Through the API, a contributor whose posts wait for an approval moves only those.
Peal then says how many posts moved, how many stayed, and how many remain. If you move them twice, the second time moves nothing.
Approvals and plan limits during a move
Each post moves as if moved by hand, except for approvals. It gets its new time and counts in its new month.
A scheduled post goes through the workspace’s approvals as if you scheduled it. A post waiting for an approval keeps waiting at its new time, whoever moves it. Its request stays with whoever asked for it, and nobody is asked to decide again. To schedule such a post yourself, when your own posts need no approval, move it by hand.
The move stops, keeping what it already moved, at a month the plan has no room in, when no slot is left within 366 days, or when someone saves the queue meanwhile. Move the posts again once there’s room.
Repeat a post
A post that’s scheduled, or already out, can repeat. Peal makes a new post from it at an interval, until a number of posts or a date. Each new post says the source’s text or, in turn, its text variants.
To set it up, open the post, click Repeat, then fill in these settings:
| Setting | Values |
|---|---|
| Every | So many days (1 to 365), weeks (1 to 52) or months (1 to 12) |
| Ending | After a number of posts (2 to 100, this one counted), on a date, or after 100 posts at most |
| Queue | Optionally, a queue |
| Text variants | Up to 10 |
Owners, admins and editors can repeat a post (post:schedule through the API). Where the workspace lets contributors ask, each of a contributor’s posts waits for an approval.
Settings › Repeating posts lists the workspace’s rules with their next three posts. Those who can schedule can pause, resume or stop a rule there.
On the command line (Repeating posts):
peal recycling start <post-id> --every 2w --count 6 --variant "Open all summer, as before."
peal recycling pause <rule-id>
peal recycling resume <rule-id>
peal recycling end <rule-id>
How the new posts are made
Each new post is an ordinary post, with its own channels’ outcome, notifications and analytics. You can move, unschedule or cancel one like any other, and the rule goes on by its own clock.
It’s copied from the source with what the workspace still has: its channels that are still connected, its media, its options and its tags. It never gets a signature or a default option added since.
The first post says the source’s text, the next one the first variant, and so on, then the source’s text again. A variant replaces the text of the post’s first part, and its texts on some channels. Its media, later parts and options stay.
Some platforms refuse a text they already published for the account, and that’s what variants are for. Each variant is checked as the source would be if it said that text, when you save it and again when its post is made.
A post repeats as whoever started it, with what they can do when each post is made. Their posts’ approvals apply. A member who left, a revoked key or an application whose access no longer publishes stops the rule.
A post has one rule going on at a time, and a workspace has at most 100.
When the new posts are due
Peal makes the next post once the latest one’s time has passed, so the calendar shows one ahead. Each one is due one interval after the one before, at the same time of day in the source’s time zone, daylight saving included.
A few rules decide the exact time:
- A month shorter than the source’s day takes its last day (31 January, then 28 February, then 31 March).
- On a queue, the post takes the queue’s first free slot from that time.
- A time missed while Peal was down is skipped, never made up for.
- A post whose time, or queue slot, would fall after the rule’s last day isn’t made. The rule ends there, as after its last post.
- A rule keeps the source’s first time, so moving the source doesn’t move the times it repeats at.
When a rule stops
Peal stops a rule instead of silently skipping a post, and tells those it concerns (notifications). That happens when:
- its post was deleted, cancelled or taken back to draft
- its starter can no longer schedule
- none of its channels is left
- a platform refuses what it would say
- the month has no room in the plan
- its queue was deleted or has no free slot
While its post waits for an approval, a rule makes nothing and waits.
Once you’ve put the cause right (room in the plan, other variants, a channel connected again, slots on its queue, its post scheduled again), click Resume. The rule starts again from the next due time after now, with the same variants. To give other variants for a refused text along with the resume, use the command line or the API.
A rule doesn’t resume if another rule repeats the post by then, or if the workspace has 100 rules going. For any other end, make the post repeat again.
Follow a post up
A follow-up rule acts on your own post once it has enough likes. It publishes a comment you wrote under the post, as the channel’s own reply, or reposts it, or both. Each happens once, within seven days of the post going live on that channel.
To set one up, open a published or scheduled post and click Follow up. Set the likes it waits for, the comment, and whether it reposts. Settings › Follow-ups lists the rules, what each channel can carry, and what each follow-up became.
Follow up shows only when one of the post’s channels is on a platform where a rule can act on your server, and the form offers only the comment or the repost when the post’s platforms take only that one. A post that went out only on YouTube has no Follow up.
What a follow-up can do depends on the platform:
| Platform | Comment | Repost |
|---|---|---|
| Bluesky | Yes | Yes (the first repost rule asks to connect it again) |
| Mastodon | Yes | Yes (a boost) |
| X | Yes, where the server sends X threads. X bills it as a post | Not yet |
| No: LinkedIn’s terms forbid automated posting | No | |
| Threads | Waits for Threads’ review of Peal | Not yet |
| Others | Not yet, or not possible there | No |
The comment goes under the post’s last part, so it reads as the thread’s next part. Nothing likes, follows or messages anyone.
A rule can be on a post or on a channel. A rule on a channel acts on every post the channel publishes after the rule started. A post and a channel each have one rule going on at a time.
When a rule acts
The likes are the ones Peal’s analytics last counted: hourly for two days after a post went live, then daily. A rule never asks a platform for more. So a post reaches its likes on Peal’s next count, and a platform Peal counts nothing on (X, unless reads are on) never triggers a rule.
A post is followed up once of each kind, whatever rules act on it. A channel carries at most 10 follow-ups a day, and the rest wait for the next day, within their seven days. Whatever a stopped rule gave up is left to the next rule started on the post.
Peal refuses a rule on a post that has nothing left to publish and that would arm nothing. That’s the case when another rule already follows the post up in every way this one asks, or when the post’s seven days have passed, when it failed, or when no channel it went out on can carry the rule.
When you add a comment or a repost to a rule on a post, it acts at once on the channels the post is already out on. A kind you add to a channel’s rule acts on the posts the channel publishes from then on.
Bluesky reposts, retries and X
A repost on a Bluesky channel that has to be connected again for reposts waits for it (Allow reposts in Settings › Follow-ups). Once the channel is connected, the next run arms the repost within ten minutes, if the post is still within its seven days. The rule stays open meanwhile.
When a platform puts a follow-up off, because it’s unreachable or slows the account down, Peal waits before it tries again. It waits ten minutes the first time, doubled each time up to six hours, or longer when the platform asks for longer. Settings › Follow-ups shows when it’s tried next, and the API gives it as notBefore.
On X, when sending a comment was cut short, Peal looks for it among the account’s recent posts before it sends anything again. That read is at Peal’s cost, never billed to you.
Approvals
A rule publishes by itself. So where the workspace’s approval policy holds your posts, the rule waits until a member who approves posts approves it in Settings › Follow-ups.
Changes to the rule follow these rules:
- Changing its comment, or whether it reposts, asks for an approval again. If the member who changes it approves posts and the policy doesn’t hold theirs, their change approves it.
- Changing its likes, or pausing it, doesn’t ask again.
- If the policy starts holding your posts after the rule started, the rule waits too, unless it was already approved. A member who approves posts can approve it then.
Just before a follow-up goes out, Peal checks again. If it may no longer go out, it waits, within its seven days.
When a follow-up doesn’t go out
A follow-up that doesn’t go out ends in one of four ways:
| Outcome | When |
|---|---|
| Expired | Its seven days passed: the post didn’t reach the likes, the rule was paused or waiting for an approval, the channel’s day was full, the platform kept putting it off, or the channel wasn’t connected again in time. |
| Given up | Its rule was stopped, its post is no longer live, or its channel can no longer carry it. |
| Failed | The platform refused it, with the platform’s code. |
| Unconfirmed | The platform may have taken it without answering. Check the platform. Peal never sends it again. |
A rule ends when its starter can no longer publish, or when its channel is disconnected. A rule on a post also ends once everything it armed is over.
Peal tells whoever started the rule:
- when follow-ups fail, aren’t confirmed, or expire because of the platform, the channel or an approval, at most once a rule and a day (the ones that may have gone out, at once)
- when a rule ends by itself
When a rule ends because its starter can no longer publish, Peal tells every member who can schedule posts.
Post from a feed
A workspace can follow a web feed (RSS 2.0, Atom 1.0 or JSON Feed 1.1), such as a blog’s. Each item that appears in it after you added it becomes a post.
To add one, click Settings at the foot of the sidebar, then Feeds, and give it these:
| What you give | What it holds |
|---|---|
| Its address | The feed’s address, public HTTPS only |
| Its channels | The channels its posts go to (a channel set too, through the command line or the API) |
| Template | What its posts are written from: {title}, {link} and {summary} (the item’s summary as plain text, 280 characters at most). By default the title, a blank line and the link. |
| Attach each item’s picture | Imports the image an item names (its enclosure, its media or its JSON Feed image) into the media library, as the person who added the feed, described by the item’s title |
| What items become | A draft each by default, or posts on a queue |
Preview reads the address and shows its three newest items as the template would write them. It keeps nothing.
On the command line (Feeds):
peal feeds preview https://blog.example/feed.xml --template "New on the blog: {title}"
peal feeds add https://blog.example/feed.xml --channel <channel-id> --template $'{title}\n\n{link}'
peal feeds add https://blog.example/feed.xml --mode queue --queue Weekdays
Drafts or a queue
By default, each item becomes a draft, for a person to finish and schedule.
Someone who can schedule (post:schedule) can choose a queue instead. Each item then goes on the queue’s next free slot, through every rule a post goes through, the approval policy included.
Anything the queue refuses becomes a draft, with the reason. A platform may refuse the text, the month may have no room in the plan, the queue may have no free slot, a channel may be gone, or the same post may already be going out.
A picture Peal can’t get (not public, too large, not an image, or the plan’s storage full) is left out. The post goes without it, and the feed’s items say why.
How Peal reads a feed
When you add a feed, Peal reads it once and records what it holds. Only what appears afterwards becomes a post, and an item dated before the feed was added is never made. Changing the feed’s address, or resuming it, does the same.
Peal reads each feed about once an hour. It sends back what the site said about its last answer, so an unchanged feed costs it nothing.
Each feed has these limits:
- At most 3 posts a run and 12 a day. The rest of a flood is skipped, never made later.
- Each feed’s page lists its 50 newest items with what became of each, never what they said.
- A workspace follows at most 10 feeds.
- Adding, moving, resuming and previewing feeds read at most 30 addresses an hour.
When a feed stops
A feed acts as whoever added it, as they are when an item is made. Peal stops it, and tells those it concerns (notifications), when:
- its site says it’s gone
- it couldn’t be read, or gave something that isn’t a feed, for seven days
- its starter can no longer make posts there
- its queue was deleted
Edit changes its address, template, channels, mode and queue, which is how you replace a channel or a queue that’s gone. Pausing a feed is never refused because of them, and resuming one says which to choose again.
Resume sets the feed going again, and reads it at once. If you resume a feed whose starter is gone, you take it over, and its posts act as you from then on.
When a site changes its items' identities
A site that changes its items’ identities (moving its blog, say) makes them all new to Peal. Up to three of those dated after the feed was added are posted again that run, and the rest are skipped as too many. Pause the feed before such a move, and resume it after.
How Peal checks a feed's host
Peal reads a feed’s host only once its address checked out as public, on every redirect too. One gap is left: a host whose name answers otherwise between that check and the connection. Peal’s HTTP client can’t connect to the address it checked while keeping the name for TLS.
What Peal keeps of a feed
What a feed says is other people’s text. Peal keeps a digest of each item’s identity, never the item, and never gives a feed’s text to anything but the posts it makes.