> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lindy.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Smart Support Agent

> Intelligent customer support automation with Lindy

<div style={{ display: 'flex', justifyContent: 'center', margin: '2rem 0' }}>
  <div className="video-card">
    <video src="https://mintcdn.com/lindyai/VHBHJwXMXFd-cbnu/lindy-brand-assets/cs_smart_support_agent.mp4?fit=max&auto=format&n=VHBHJwXMXFd-cbnu&q=85&s=3fb7c77ae16c1982ae16d97e13164125" width="600" autoPlay muted loop playsInline style={{ display: 'block', width: '100%', borderRadius: '16px' }} data-path="lindy-brand-assets/cs_smart_support_agent.mp4" />
  </div>
</div>

## Quick Overview

With the Smart Support flow, your agent will:

* **Monitor** a support inbox (Gmail, Outlook—or swap in Help Desk APIs)
* **Detect** whether the message needs a knowledge-base reply or human help
* **Search** your docs, FAQs, and policies for accurate answers
* **Respond** in your brand voice or draft a reply for approval
* **Log** tickets and escalations to Slack, Zendesk, or HubSpot\
  Start from the [email responder template](https://chat.lindy.ai/marketplace/?templateId=66bfc603ea73bec3fea906db) and tweak as below.

## Setting Up Your Smart Support Agent

### Step 1: Connect the Trigger to Support Inbox

<Frame>
  <img src="https://mintcdn.com/lindyai/Pb4BV8JAHp4lkO2R/lindy-brand-assets/support-agent-trigger.png?fit=max&auto=format&n=Pb4BV8JAHp4lkO2R&q=85&s=76e2934065e3a78dbff36039368dfdf7" alt="Gmail trigger" width="1190" height="684" data-path="lindy-brand-assets/support-agent-trigger.png" />
</Frame>

Select `Gmail – Email Received` (could swap for other systems like `Zendesk – New Ticket`).

### Step 2: Determine If a Reply Is Needed

Filter out non-support emails early to avoid responding to newsletters, confirmations, or internal messages.

<Frame>
  <img src="https://mintcdn.com/lindyai/Pb4BV8JAHp4lkO2R/lindy-brand-assets/support-agent-trigger.png?fit=max&auto=format&n=Pb4BV8JAHp4lkO2R&q=85&s=76e2934065e3a78dbff36039368dfdf7" alt="Requires reply condition" width="1190" height="684" data-path="lindy-brand-assets/support-agent-trigger.png" />
</Frame>

`Condition` prompt:

```
Only continue if the sender asks a question about products, orders, or policies.
```

### Step 3: Search the Knowledge Base

Query your documentation to find relevant answers before crafting a response.

<Frame>
  <img src="https://mintcdn.com/lindyai/Pb4BV8JAHp4lkO2R/lindy-brand-assets/support-agent-KB.png?fit=max&auto=format&n=Pb4BV8JAHp4lkO2R&q=85&s=f875fc400b1cc21bad2dc0ca9af97da2" alt="Knowledge base search" width="2056" height="1052" data-path="lindy-brand-assets/support-agent-KB.png" />
</Frame>

* Action: `Search Knowledge Base`
* Attach FAQs, policies, refund rules, troubleshooting docs, and more

### Step 4: Verify an Answer Exists

Check if we have sufficient information to provide a helpful response, escalating complex issues to humans.

<Frame>
  <img src="https://mintcdn.com/lindyai/Pb4BV8JAHp4lkO2R/lindy-brand-assets/support-agent-verify.png?fit=max&auto=format&n=Pb4BV8JAHp4lkO2R&q=85&s=efc94880665ebad77a451b42a398b0e8" alt="Found answer condition" width="2496" height="1102" data-path="lindy-brand-assets/support-agent-verify.png" />
</Frame>

* If answer found → continue.
* If not found → `Slack – Send Channel Message` the thread for human intervention
  * For `Send Channel Message` to work correctly, remember to add the Lindy app to your channel

<Frame>
  <img src="https://mintcdn.com/lindyai/Pb4BV8JAHp4lkO2R/lindy-brand-assets/support-agent-slack.png?fit=max&auto=format&n=Pb4BV8JAHp4lkO2R&q=85&s=9015878fe943cd8312f74b98c3777f64" alt="Found answer condition" width="2546" height="1366" data-path="lindy-brand-assets/support-agent-slack.png" />
</Frame>

### Step 5: Draft or Send the Reply

Provide a helpful response using knowledge base information in your brand voice.

<Frame>
  <img src="https://mintcdn.com/lindyai/Pb4BV8JAHp4lkO2R/lindy-brand-assets/support-agent-reply.png?fit=max&auto=format&n=Pb4BV8JAHp4lkO2R&q=85&s=419e9839febb2a25c9cbea7698fffb85" alt="Send reply" width="2140" height="1268" data-path="lindy-brand-assets/support-agent-reply.png" />
</Frame>

Body prompt:

```
You are a professional customer support agent responding to a customer inquiry.

Using the knowledge base information provided, craft a concise, helpful response that:
- Directly answers their question using KB content
- Maintains a friendly, professional tone
- Provides clear next steps when applicable
- Stays under 100 words
- Includes relevant links or resources from the KB

If multiple solutions exist, offer the most appropriate one based on their specific situation.

Sign off professionally with your name/team.
```

### Step 6: Log Support Interactions

Track all support interactions in a Google Sheet for reporting and analysis, with optional integration to your existing ticketing system instead.

<Frame>
  <img src="https://mintcdn.com/lindyai/Pb4BV8JAHp4lkO2R/lindy-brand-assets/support-agent-log.png?fit=max&auto=format&n=Pb4BV8JAHp4lkO2R&q=85&s=4f2efab093d132b8e19dca4caed56521" alt="Ticket update" width="1976" height="1164" data-path="lindy-brand-assets/support-agent-log.png" />
</Frame>

* Action: `Google Sheets – Append Row` to log ticket details, response time, and resolution
* Update your support management system if applicable

## Advanced Customizations

| Trick                 | What it does                                                              |
| --------------------- | ------------------------------------------------------------------------- |
| Multi-Channel Support | Swap Gmail for Zendesk, Intercom, or Slack slash-commands.                |
| Sentiment Escalation  | Flag angry tone → route to human immediately.                             |
| SLA Timer             | `Wait` + Condition → alert if no answer within 2 h during business hours. |
| Auto-Survey           | Send CSAT form 24 h after ticket closure.                                 |

## Best Practices

<AccordionGroup>
  <Accordion title="Keep KB Fresh">
    Review policy and product docs weekly; outdated articles create wrong answers.
  </Accordion>

  <Accordion title="Short & Clear">
    Aim for one-screen replies; link out for deeper resources.
  </Accordion>

  <Accordion title="Human First">
    Escalate order issues or refund disputes early to avoid churn.
  </Accordion>

  <Accordion title="Channel Flexibility">
    The same flow works for chat or SMS—just swap the trigger/action pair.
  </Accordion>
</AccordionGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Voice Support" href="/use-cases/customer success/voice-support" icon="phone">
    Handle support calls 24/7
  </Card>

  <Card title="Report Generator" href="/use-cases/customer success/report-generator" icon="file-lines">
    Generate customer success reports
  </Card>

  <Card title="Slack Integration" href="/skills/popular-integrations/slack" icon="comments">
    Resolve questions in Slack channels
  </Card>

  <Card title="Human in the Loop" href="/testing/human-in-the-loop" icon="square-user">
    Add oversight for complex support issues
  </Card>
</CardGroup>
