CUSTOMER SUPPORT

On-demand refund eligibility lookup from Slack

An agent answers a Slack request for a customer email by gathering Stripe billing status, usage, and prior refunds.

CategoryCustomer Support
Enginepaperclip
Difficultybeginner
Triggerchat
Steps5
Setup~5 min

How it runs

The automated pipeline, trigger to output.

  • TriggerCustomer email posted in SlackSlack
  • ActionResolve customer and billing status in StripeStripeStripe
  • ActionQuery usage and prior refunds in PostgresPostgreSQLPostgres
  • LogicEvaluate eligibility against policy
  • OutputReply in Slack thread with verdict and evidenceSlack

What it does

Lets a support or finance teammate ask for a refund read on any customer directly in Slack and get an instant answer. The agent looks up the customer's billing health in Stripe, their usage and refund history in Postgres, applies the refund policy, and replies in-thread with a clear eligible / not-eligible verdict plus the supporting facts.

When to use it

Use it for ad-hoc refund judgement calls — escalations, exec requests, or edge cases — where someone needs a fast, policy-grounded answer without opening a ticket or a billing dashboard.

How it works

  1. 1A teammate posts a customer email in a Slack channel or thread, triggering the flow.
  2. 2The agent resolves the customer in Stripe and pulls subscription status and recent charges.
  3. 3It queries Postgres for usage in the period and any prior refunds.
  4. 4The agent evaluates eligibility against your refund policy.
  5. 5It replies in the Slack thread with the verdict, reasons, and the underlying numbers.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect SlackChannels, DMs, threads, mentions.
  2. 2
    Connect StripeCustomers, subscriptions, payments.
  3. 3
    Connect PostgresAny Postgres URL — query, write, migrate.
  4. 4
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  5. 5
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  6. 6
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.