A template is a ready-made flow. Pick one in Studio βΊ New flow and mooflair creates the flow (and any flow it needs) in your account, with every node's settings filled from the node's own defaults plus the template's changes.
The templates
| Template | Id | What it does | Trigger | Needs |
|---|---|---|---|---|
| π Auto Reply | x/navigator | Reads For you, Following, a List, a search or profiles without end and answers the posts worth it: a plain reply (your brand, if set) or a fitting Shopee product with your affiliate link, as a reply or a quote post | Manual | π account, AI key (Shopee account for Shopee mood/keyword) |
| π Auto Post | x/publisher | Posts again and again: written by the AI from what people post now, or from a post set (as is or reworded), with an optional Shopee product, brand, persona and media | Manual | π account, AI key when the AI writes (Shopee account for Shopee mood/keyword) |
| Threads Auto Reply | threads/navigator | The same as π Auto Reply on Threads (For you, Following, a search or profiles) | Manual | Threads account, AI key (Shopee account for Shopee mood/keyword) |
| Threads Auto Post | threads/publisher | Posts threads (a hook and replies) from what people post now or a post set; the Shopee link in the post, a reply, or a reply once the thread has reach | Manual | Threads account, AI key when the AI writes |
| Facebook Auto Reply | facebook/navigator | The same as π Auto Reply on Facebook (your News Feed, a post search or your groups) | Manual | Facebook account, AI key (Shopee account for Shopee mood/keyword) |
| Facebook Auto Post | facebook/publisher | Posts on your profile (or the Page you act as) or a group, can share each post to groups; the Shopee link in the post or the first comment | Manual | Facebook account, AI key when the AI writes |
| Shopee Product Finder | shopee/finder | Finds the best-value product for a keyword and returns it with your affiliate link | Flow input (called by other flows) | Shopee account, AI key |
x/health | Every morning, checks the π page still has what the π nodes need, and tells you when π changes it | Schedule, daily 08:00 | π account | |
threads/health | Every morning, checks the Threads page still has what the Threads nodes need | Schedule, daily 08:00 | Threads account | |
ai/support | A public chat that answers from your knowledge base and remembers each conversation | Chat | AI key, knowledge base | |
app/feed | Every morning, the newest titles of a feed in your Telegram | Schedule | Telegram bot credential, chat id | |
app/form | A public contact form: each answer becomes a spreadsheet row, and you're told | Form | Google credential, spreadsheet id |
Create a flow from a template
- Go to Studio and press New flow.
- Pick a template. To change the AI prompts before the flow is made, press Customize prompts, edit, then Create flow.
- Open the new flow. Its account fields use the template's account options (
account.x,account.threads,account.facebook,account.shopee), which start on your first account of that platform; change them in Settings βΊ Options. The AI key option (ai) starts on your first AI key; a campaign can pick another. Nodes with a missing required field show β . - To run it with other accounts or on a schedule, publish it and create a .
- Press Run for a test run (effects simulated), then a real run when it looks right.
How a template is built
type TFlowTemplate = {
id: string; // "x/poster"
requires: string[]; // templates created first, e.g. ["shopee/finder"]
flow: {
name: string;
caller: "self" | "none"; // "self": your other flows can call it with Run flow
timeoutMs: number; // 0: no limit (endless flows)
graph: { nodes, edges, notes };
};
};
- Settings are overrides only. A template node stores just what it changes, e.g.
{ "error": { "mode": "human", "fallback": null, "break": { "count": 3, "waitMs": 600000 } }, "timeoutMs": 600000 }(a setting object is replaced whole, soerroris always written in full). When the flow is created, mooflair merges: base settings β the node definition's settings β the template's settings. A node's improved default reaches every new flow without editing templates. - Required templates come first.
x/navigatorrequiresshopee/finder. Creating π Auto Reply also creates Shopee Product Finder (or links the one you already have by that name), and the field value"template:shopee/finder"in its Run flow node becomes that new flow's id. - Dataset picks are empty. Accounts and AI keys belong to you; templates never carry them.
The template files live in src/lib/flow/template/<domain>/<name>/index.ts, registered in src/lib/flow/template/index.ts. Their names and descriptions are in app.studio.template in the message files.
Endless flows
Every Auto Reply and Auto Post template runs until you stop it:
- the flow timeout is
0(no limit); - every dead end leads back to Collect posts (nothing picked, loop done, nothing new after a rest);
- Collect posts remembers what it has seen across calls and refreshes the timeline every 50 posts;
- Auto Post starts every round with Wait for a post slot: nothing is read or written until a post may go (Options βΊ Pace βΊ Post limit: set here, e.g. 1 per 3 hours, or follow the account's limit);
- at a reply or quote limit (e.g. 30 replies per day), Wait for the next slot holds the run until
nextAt, then it goes on; - the AI may decline to write (its writing step leaves through
declined), and with No repeats on (the default) a post, quote or reply too alike to one the account made before is skipped (duplicate): both go back to the round, nothing is forced out; - a campaign with no window runs them 24/7 from one Run now, until you stop it (a failed run isn't restarted).
FAQ
How do I post 1 every 3 hours, around the clock?
Create a of an Auto Post template and in its Options βΊ Pace βΊ Post limit keep Set here and make it 1 per 3 hours (add another line for a daily cap too: every line counts at once). Leave When it runs without a window and press Run now: it runs 24/7 until you stop it (a failed run isn't restarted; for that, add a 00:00 β 00:00 window every day and turn Auto run schedule on). After each post the flow waits its usual random time, then Wait for a post slot holds it until the 3 hours are up, and only then does it read the feed and write. Replies work the same with Reply limit (e.g. 15 per 1 hour and 180 per 1 day), or Follow the account to use only the account's own limit.
Can I edit a flow made from a template?
Yes. It's an ordinary flow in your account; the template is only the starting point.
Why did creating an Auto Reply or Auto Post create two flows?
With Shopee on, it calls Shopee Product Finder with a Run flow node, so the finder is created first and linked automatically. When you already have a flow named Shopee Product Finder, it links that one instead.
Can a template stop liking posts?
Yes. Every like step has its own option (section Behaviour: Like posts while reading, Like the post it replies to, Like a few replies there): turn any off in Settings βΊ Options or on a campaign. The π reply templates with a long rest also have Tidy up stale replies.
Where do I write the AI's criteria and reply voice?
They are Long text options: Auto Reply's reply.pick / reply.prompt (plain) and shopee.pick / shopee.prompt (Shopee), Auto Post's content.task / content.prompt and shopee.pick / shopee.prompt. Edit them in Settings βΊ Options or per campaign; only the ones your choices use show.
How do I stop an endless flow?
Press Stop in the editor's run bar, or cancel the run from the Runs page.
Can a posting template post my own posts?
Yes. Auto Post has Post from: timeline (the AI writes from what people post now), set (the next post of a as it is) or rewrite (reworded by the AI). With timeline, Media adds files from a Drive folder, in turn or picked by the AI.
How do I turn Shopee off, or use my brand?
Shopee affiliate (Auto Post) is off by default; Auto Reply's Reply with comment replies plainly. Mention the brand fit or always (both templates) adds your brand. With Shopee off, no Shopee account is asked for.