AI agents · Workflow template

Slack /ask — an agent that knows your docs

Anyone in Slack can /ask a question. Carly searches your Notion KB, answers with citations, and remembers the thread.

Slack Notion

The workflow at a glance

Trigger
Slash command
Tool
Search KB
LLM
Answer + cite
Action
Reply in thread

How this workflow works, step by step

  1. 1 Trigger Slash command

    The workflow starts when Slack signals "slash command". Carly is listening continuously, so the run begins within seconds of the event.

  2. 2 Tool Search KB

    Carly pulls live data from Notion — "Search KB." Whatever's needed for the next step is fetched fresh, not cached.

  3. 3 LLM Answer + cite

    An LLM step does the thinking: answer + cite. Carly picks the right model for the job and you can swap models per step if you need to.

  4. 4 Action Reply in thread

    Finally Carly takes action in Slack: reply in thread. This is the thing that actually moves the world.

When to use this template

  • You want this work to happen consistently without anyone remembering to do it.
  • You're already using Slack and Notion, and the manual version of this is eating real minutes a week.
  • You want a visible canvas you can audit and edit — not a black-box agent doing things you can't see.

When not to use it

  • This task only happens once or twice a month — the setup cost won't pay back.
  • The decision in the middle of the flow needs human judgment every single time, not just on edge cases.
  • Your stack doesn't include any of the apps above and you don't want to wire a generic HTTP step.

Build it in 10 minutes — copy this prompt

Paste this in an email to and Carly will build the workflow for you.

Hey Carly — please build me this workflow.

Name: Slack /ask — an agent that knows your docs

What it should do:
Anyone in Slack can /ask a question. Carly searches your Notion KB, answers with citations, and remembers the thread.

Steps:
1. Trigger: Slash command
2. Tool: Search KB
3. LLM: Answer + cite
4. Action: Reply in thread

Tools to wire up: Slack, Notion

Set it live once you've got it working. Thanks!

Apps you'll connect

Carly authenticates these for you over OAuth when she sets up the workflow.

Slack
Notion

Questions teams ask before building this

How long does this workflow take to set up?

Most teams have "Slack /ask — an agent that knows your docs" running in under 10 minutes. Copy the prompt on this page into an email to carly@usecarly.com and Carly wires the workflow together for you, including authenticating Slack.

Can I edit this template after Carly builds it?

Yes. Every workflow lives on the Carly canvas where you can rename steps, change conditions, swap LLM models, add filters, and re-route branches. Templates are starting points, not locked recipes.

What if I use a different tool than the ones in this template?

Carly connects to 200+ tools, plus a generic HTTP node for any API that doesn't have a native integration. Tell Carly your stack when you send the prompt and she'll pick the right connectors.

Does this run automatically once it's built?

Yes. The trigger at the start of the workflow fires automatically — on a schedule, on an inbound email, on a webhook, on a calendar event, whatever this template specifies. Carly handles the listening; you only step in when a step is gated on you.

Ready to run Slack /ask — an agent that knows your docs?

Carly will build it for you and you'll be up and running in 10 minutes.

Build it in Carly