Integrations
Escalate AI agent conversations to Freshdesk
Connect Freshdesk so your AI agent can escalate a conversation by opening a ticket for your support team
The Freshdesk integration lets your QwryAI agent escalate a conversation to your support team by opening a ticket in Freshdesk. It's for teams that already work their queue in Freshdesk and want the agent to handle routine questions, then pass the rest on with an AI-written summary and a link to the full conversation. Tickets can be created from any channel where the Escalations Action runs, such as the Chat bubble, Help page, WhatsApp, Instagram, Messenger and email.
Before you start
- A QwryAI account with an agent.
- Your Freshdesk subdomain and API key. See Find your Freshdesk API key.
How to connect Freshdesk
- Open your agent
Sign in to your QwryAI dashboard and select the agent you want to connect.
- Connect Freshdesk
Open Integrations and select Connect on the Freshdesk card.
Integrations › Freshdesk › Connect. - Enter your subdomain and API key
A Freshdesk Integration window opens: Allow QwryAI to integrate with Freshdesk? Enter only the subdomain, such as
yourcompany: the field already sits betweenhttps://and.freshdesk.com. Paste your API Key and select Submit. QwryAI checks the key with Freshdesk, closes the window and the card shows Connected.Enter your subdomain and API Key. - Create the Escalations Action
Create an Escalations Action with Freshdesk as the Ticket Platform. See the Escalations guide.
Find your Freshdesk API key
- Sign in to Freshdesk.
- Select your profile picture in the top-right corner.
- Select Profile Settings.
- Find Your API Key on the right and copy it.
The connection belongs to this agent only. Each agent connects to one Freshdesk account, so repeat these steps on every agent that should escalate to Freshdesk.
Setup checklist
- Connect Freshdesk on the agent's Integrations page, entering only the subdomain, and check that the card shows Connected.
- Create a Create ticket Action under Escalations with Freshdesk as the Ticket Platform, and write a clear When to use.
- If your Freshdesk marks Type as required, set the Action's Freshdesk ticket type. Without it, the Action won't save: Your Freshdesk requires a ticket type — select one to save.
- Turn the Action on for the channels where customers should be able to escalate.
- Ask your agent to speak to a person and check that the ticket appears in Freshdesk.
What the AI agent sends to Freshdesk
When it creates a ticket, the agent first makes sure it has the customer's name and email, asking for them if the channel or contact doesn't already provide them. It then creates the ticket with these fields:
| Freshdesk field | What QwryAI sends |
|---|---|
| Subject | A short subject the agent writes from the customer's issue. The customer isn't asked for it. |
| Description | An AI-written summary of the issue, from the customer's point of view. |
| Requester | The customer's name and email. |
| Priority | Low, Medium, High or Urgent, chosen by the agent from the issue. |
| Status | Open. |
| Type | The Action's Freshdesk ticket type, only when you set one. |
After the ticket is created, QwryAI adds a private note, conversation link in QwryAI:, followed by a link to the conversation in your QwryAI Inbox.
QwryAI doesn't send tags, a group or a source, so Freshdesk's defaults apply. Files the customer sent in the chat aren't attached.
Example ticket
A customer on the Chat bubble writes that they were charged twice for one order and want a refund. The agent asks for their name and email, then creates:
- Subject: Double charge on order, refund requested
- Description: I was charged twice for the same order and would like the duplicate charge refunded.
- Requester: Jane Doe, jane@example.com
- Priority: High
- Status: Open
- Private note: conversation link in QwryAI, followed by the link
What the customer sees
The agent tells the customer the ticket was created. If Freshdesk refuses it, the customer is told The support ticket could not be created, so the request has not been sent to a human agent.
The agent keeps replying in the chat afterwards. Your team's replies from Freshdesk reach the customer the way Freshdesk sends them, usually by email, and don't appear in the chat. Nothing syncs back from Freshdesk.
Troubleshooting
Connecting shows "Invalid API key or subdomain."
Freshdesk rejected the key for that subdomain. Copy the key again from Profile Settings, check the subdomain belongs to the same account, and try again.
Connecting shows "Invalid subdomain" or "Failed to connect to Freshdesk. Please check your subdomain."
The subdomain doesn't match a Freshdesk account. Enter only the part before .freshdesk.com. If you use a custom domain, enter your original freshdesk.com subdomain.
The subdomain field says it can only contain alphanumeric characters and hyphens
You typed more than the subdomain, such as yourcompany.freshdesk.com. Remove the dots and everything after them.
The customer was told the ticket could not be created
Open the conversation in Inbox. Common causes:
- The API key was revoked or regenerated. Disconnect and connect again with the current key.
- Your Freshdesk requires Type and the Action's Freshdesk ticket type is empty.
- The customer didn't give an email address.
Tickets aren't appearing in Freshdesk
Check that the Create ticket Action is enabled, uses Freshdesk as its Ticket Platform, and is on for the channel you're testing, and that its When to use covers the request.
Frequently asked questions
Does Freshdesk receive the full conversation?
No. The description is an AI-written summary, and a private note links to the full conversation in QwryAI. Chat attachments aren't added.
Can my team reply to the customer in the chat from Freshdesk?
No. Freshdesk replies reach the customer the way Freshdesk sends them, usually by email.
Can I set the ticket type or priority?
Set a fixed type in Freshdesk ticket type. The agent picks the priority for each ticket.
Can I connect more than one Freshdesk account?
Each agent connects to one Freshdesk account. Several agents can connect to the same account.
Does creating a ticket use extra credits?
No. Only the agent's reply uses credits, as usual.
What happens to my Escalations Actions if I disconnect Freshdesk?
Disconnecting deletes the Create ticket Actions that use Freshdesk. The confirmation dialog lists them first.