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

# Freshdesk

> The Freshdesk tool connects your AI agents directly to your customer support helpdesk. By integrating Freshdesk into Architect, your apps can autonomously read tickets, draft replies, categorize issues, and escalate critical bugs.

## Why Use Freshdesk in Architect?

Customer support teams often spend too much time reading and routing tickets instead of solving them. With vibe coding, your AI acts as an autonomous Tier 1 support agent. You describe how different types of customer queries should be handled, and the Freshdesk tool automatically executes those workflows.

* **Automated Ticket Triage:** Have your agent read incoming tickets, determine their urgency, assign the correct tags (e.g., 'Billing', 'Technical'), and route them to the appropriate agent.
* **Suggested Replies:** Build apps that read complex customer issues, query your internal knowledge base, and draft a highly accurate response as a private note on the Freshdesk ticket.
* **Sentiment Escalation:** Create bots that monitor ticket language for frustration and automatically escalate angry customers to a human manager.

## Vibe Coding Examples

Try these natural language prompts to build autonomous customer support agents:

<CardGroup cols={1}>
  <Card title="Example 1: The Triage Dispatcher">
    "Build a support router. Read all new tickets in Freshdesk. If the ticket mentions 'refund' or 'cancel', assign it to the Billing team. If it mentions 'password' or 'login', assign it to Tier 1 Support and apply the 'Account Access' tag."
  </Card>

  <Card title="Example 2: The Auto-Responder">
    "Create an autonomous support bot. When a user submits a ticket asking about our shipping policy, use the Freshdesk tool to instantly reply with a polite message containing our standard shipping timelines and close the ticket."
  </Card>

  <Card title="Example 3: VIP Account Flagging">
    "I want a priority support agent. Whenever a new ticket comes in, check the user's email domain. If it matches a list of our enterprise clients, use the Freshdesk tool to mark the ticket priority as 'Urgent' and send an alert to the Customer Success Manager."
  </Card>
</CardGroup>

<Tip>
  Combine Freshdesk with Linear! Vibe code an agent that reads a bug report in Freshdesk, creates a development ticket in Linear, and links the two together seamlessly.
</Tip>

## Available Actions

The Freshdesk tool exposes the following actions to your agents. Architect automatically picks the right one based on your prompt.

<Accordion title="View all 7 Freshdesk actions" icon="list">
  * `FRESHDESK_CREATE_TICKET`
  * `FRESHDESK_DELETE_TICKET`
  * `FRESHDESK_GET_TICKETS`
  * `FRESHDESK_LIST_ALL_TICKETS`
  * `FRESHDESK_REPLY_TICKET`
  * `FRESHDESK_UPDATE_TICKET`
  * `FRESHDESK_VIEW_TICKET`
</Accordion>
