CHATBOTS
Reorder Assistant: Out-of-Stock Substitute Finder
When a reorder request hits an out-of-stock SKU, the assistant searches the catalog for the closest in-stock alternative and proposes the swap in the Intercom chat before…
How it runs
The automated pipeline, trigger to output.
- TriggerReorder message received in IntercomIntercom
- ActionResolve requested item against Postgres inventoryPostgres
- LogicBranch on in-stock vs. out-of-stock
- ActionQuery Postgres for attribute-matched substitute SKUsPostgres
- ActionDraft substitute explanation with the modelOpenAI
- OutputPropose in-stock alternative in IntercomIntercom
What it does
Handles the awkward case where a customer's usual item is sold out. Instead of dead-ending the conversation, the assistant finds the nearest equivalent SKU by attributes (size, flavor, formula), explains the difference, and offers the substitute for one-tap acceptance.
When to use it
For catalogs with frequent stockouts or seasonal rotation, where keeping the reorder moving with a smart substitute protects revenue and customer goodwill.
How it works
- 1A reorder message in Intercom triggers the flow.
- 2The flow resolves the requested item against inventory in Postgres.
- 3Logic checks stock; in-stock items pass straight through to a normal reorder summary.
- 4For out-of-stock items, the assistant queries Postgres for candidate SKUs sharing key attributes and ranks them by closeness.
- 5It uses the model to draft a clear explanation of why the substitute fits and how it differs.
- 6The bot replies in Intercom proposing the in-stock alternative with price and a confirm prompt.
Set it up
What you configure once, before turning it on.
- 1Connect IntercomConversations, contacts, articles.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect OpenAIModels, embeddings, files.
- 4Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 5Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 6Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Chatbots workflows
Discord Onboarding Completion to CRM Sync
The moment a member finishes Discord onboarding, captures their submitted profile answers, creates or updates a contact in HubSpot.
Discord FAQ-Gated Role Concierge
Greets each new Discord member in a private onboarding thread, walks them through required FAQ steps one at a time.
Discord FAQ Free-Text Answer Grader
When a member submits a free-text answer in their onboarding thread, an agent grades it against the canonical FAQ knowledge base, replies with targeted feedback.
Discord verify-button onboarding via web form webhook
Receives a completed external verification form by webhook, matches it to the Discord account, grants the verified role, and confirms back to the member in Discord.
Discord intro-gated role granting concierge
Watches your #introductions channel, uses AI to confirm a new member's intro is genuine and complete, then auto-assigns the verified Member role and welcomes them.
Daily Discord Digest of Repeated WAF False-Positive Reports
Each morning, scans logged Discord WAF reports in Postgres, groups them by the Cloudflare rule that keeps firing.
Run it inside a business
This workflow drops into a full company template. Import the org, and this is one of the playbooks its agents run.

Run this workflow in your colony.
14-day trial. No DevOps. No Sales call. Provisioned in under a minute.
