CHATBOTS
Personalized Benefits Answers Using Employee Eligibility Data
Answers benefits questions in Teams by combining policy text from Confluence with the asker's own eligibility and plan tier stored in Postgres, so responses are specific to them.
How it runs
The automated pipeline, trigger to output.
- TriggerEmployee asks a benefits question in TeamsMicrosoft Teams
- ActionLook up employee plan and eligibility in PostgresPostgres
- ActionSearch Confluence for policy pages matching their tierConfluence
- LogicBranch on whether eligibility data was found
- ActionCompose personalized grounded answer via OpenAIOpenAI
- OutputReply privately in the Teams threadMicrosoft Teams
What it does
Goes beyond generic policy answers: it looks up the employee's plan tier, location, and eligibility from a Postgres record, then answers their Teams question using the matching Confluence policy. "What's my deductible?" returns their actual plan's number, not a list of all plans.
When to use it
When your benefits vary by tier, region, or employment class and generic answers cause confusion. Use it once you have a trustworthy eligibility table and want the bot to give each person the answer that applies to them.
How it works
- 1An employee asks a benefits question in Teams.
- 2The flow looks up the employee's profile and plan tier in Postgres using their Teams identity.
- 3It searches the HR Confluence space for the policy pages relevant to the question and that tier.
- 4A logic step confirms an eligibility match was found; if not, it falls back to a generic answer with a note.
- 5OpenAI composes a personalized answer grounded in the policy text and the employee's specific plan details, with citations.
- 6The tailored answer is delivered privately in the Teams thread.
Set it up
What you configure once, before turning it on.
- 1Connect Microsoft TeamsChannels, chats, files.
- 2Connect PostgresAny Postgres URL — query, write, migrate.
- 3Connect ConfluenceSpaces, pages, blueprints.
- 4Connect OpenAIModels, embeddings, files.
- 5Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
- 6Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
- 7Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.
More Chatbots workflows
Discord WAF False-Positive Triage from Ray ID
When a user posts a Cloudflare ray ID in a Discord support channel, the bot looks up the blocked request's WAF event, classifies whether it looks like a genuine false positive.
Agentic WAF Investigator with Discord Approval Gate
An autonomous agent investigates a Discord-reported WAF block end to end: pulls Cloudflare logs, correlates with PagerDuty incidents, decides if an allowlist is safe.
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.
Draft WAF Allowlist Proposal to Linear from Discord Report
Lets a support engineer confirm a Discord WAF report is a false positive, then auto-drafts a scoped Cloudflare allowlist rule proposal and files it as a Linear ticket…
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 FAQ-Gated Role Concierge
Greets each new Discord member in a private onboarding thread, walks them through required FAQ steps one at a time.
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.
