Back to all tools
Needs API key

Create support ticket

Freshdesk accepts a flat JSON ticket body, which works well with custom tools. Collect name, email, and a clear description before creating the ticket.

What this tool does

Some issues need a tracked ticket rather than a chat reply, such as a warranty claim or a technical fault. This tool lets your agent create a ticket in Freshdesk with the customer’s name, email, subject and description. Freshdesk accepts a flat JSON body, so it works directly without a webhook. Your agent collects the details first, creates the ticket and shares the next steps, so the customer is not left wondering whether anyone saw their message.

Example conversation

Customer

The AC unit you installed last month is leaking water.

AI agent

Sorry to hear that. Could you share your name, email and a photo of the leak?

Customer

Mark Lee, mark@example.com. Photo attached.

Tool callcreate_support_ticket

subject: AC unit leaking, email: mark@example.com

AI agent

Thanks, Mark. I have opened a support ticket with your photo, and our service team will contact you today to arrange a visit.

Example only. Tool calls are shown so you can see when the agent uses this template. Your agent’s wording depends on your prompt and business information.

Who uses it

  • HVAC and appliance companies logging warranty and repair requests.
  • Software and agency teams turning chat issues into tracked tickets.
  • Online stores handling damaged item or return claims.

Setup

  1. In Freshdesk, create an API key (Profile settings → API key).
  2. Base64-encode `YOUR_API_KEY:X` (literal X after the colon) and put `Basic …` in the Authorization header.
  3. Replace YOUR_DOMAIN in the Endpoint URL with your Freshdesk subdomain.
  4. In your prompt, tell the agent to call create_support_ticket after collecting subject, description, name, and email — and share the ticket id with the customer when available.

Copy into custom tool form

Copy each value into the matching field when you add a custom tool on the create or edit agent page. Replace any YOUR_… placeholders with your real credentials.

Tool name

create_support_ticket

Description

Create a support ticket in Freshdesk when the customer has an issue that needs tracking. Collect name, email, and a clear description first.

Endpoint URL

Paste into Endpoint URL (https:// is added automatically).

YOUR_DOMAIN.freshdesk.com/api/v2/tickets

HTTP method

POST

Tool inputs (all)

1. subject (string) Short ticket subject 2. description (string) Full description of the customer issue 3. email (string) Customer email for the ticket requester 4. name (string) Customer full name

Tool input: subject

Input name

subject

Input type

string

Input description

Short ticket subject

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{subject}}

Tool input: description

Input name

description

Input type

string

Input description

Full description of the customer issue

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{description}}

Tool input: email

Input name

email

Input type

string

Input description

Customer email for the ticket requester

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{email}}

Tool input: name

Input name

name

Input type

string

Input description

Customer full name

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{name}}

Request body (all)

subject: {{subject}} description: {{description}} email: {{email}} name: {{name}} priority: 1 status: 2

Field name

subject

Field value

{{subject}}

Field name

description

Field value

{{description}}

Field name

email

Field value

{{email}}

Field name

name

Field value

{{name}}

Field name

priority

Field value

1

Field name

status

Field value

2

Headers (all)

Header values are encrypted when stored. Replace placeholders with your real secrets.

Authorization: Basic YOUR_BASE64_APIKEY_COLON_X Content-Type: application/json

Header name

Authorization

Header value

Basic YOUR_BASE64_APIKEY_COLON_X

Header name

Content-Type

Header value

application/json