Capabilities
| Capability | Supported |
|---|---|
| Knowledge Source | ✓ Sync knowledge base articles |
| Deployment Trigger | ✓ Respond to tickets |
| Tool Actions | ✓ Reply, update tickets |
Setup
Freshdesk uses an API key + webhook setup.Step 1: Get Your API Key
- Log in to your Freshdesk account
- Click on your profile picture → Profile Settings
- On the right side, find and copy your API Key
Step 2: Connect in Duckie
- Go to Settings → Connections in Duckie
- Find Freshdesk and click Connect
- Enter your details:
- Freshdesk Domain: Your domain (e.g.,
yourcompany.freshdesk.com) - API Key: The key from your profile
- Freshdesk Domain: Your domain (e.g.,
- Click Connect
Step 3: Configure Webhooks
After connecting, you’ll see a webhook URL and API key. Set up automation rules in Freshdesk:New Ticket Rule
- In Freshdesk, go to Admin → Workflows → Automations
- Go to Ticket Creation tab → New Rule
- Configure:
- Name: “Send new tickets to Duckie”
- Condition: Add at least one (e.g., Status is Open)
- Action: Select Trigger Webhook
- Request Type: POST
- URL: Copy from Duckie
- Check Requires authentication → I have API key
- API Key: Copy from Duckie
- Encoding: JSON
- Content: Use the JSON payload below
- Save and activate
Reply Rule
- Go to Ticket Updates tab → New Rule
- Configure:
- Name: “Send replies to Duckie”
- Event: Action performed by Requester → Reply is sent
- Condition: Add one (e.g., Status is Open)
- Action: Trigger Webhook (same config as above)
- Save and activate
JSON Payload
Use this payload for all webhook rules:Using as a Knowledge Source
Sync your Freshdesk Knowledge Base:- Go to Train → Knowledge
- Click Add Source
- Select Freshdesk
- Choose which folders/categories to sync
- Click Start Sync
Using as a Deployment Trigger
- Go to Deploy
- Click Create Deployment
- Select your agent
- Choose Freshdesk as the trigger
- Configure which events trigger responses:
- New ticket — When a ticket is created
- Customer reply — When the customer responds
- Note added — When an agent adds a note (optional)
Available Tools
| Tool | Description |
|---|---|
freshdesk_reply | Send a reply to the ticket |
freshdesk_add_note | Add a private note |
freshdesk_update_ticket | Update status, priority, etc. |
freshdesk_get_ticket | Get ticket details |
freshdesk_get_contact | Get customer information |
Best Practices
Start with Shadow Mode
Test your deployment in shadow mode first:- Deploy in Shadow mode
- Review responses in the Runs page
- Switch to Live when confident
Use Automation Conditions
Filter which tickets Duckie handles:- By group (e.g., only “Support” group)
- By priority (e.g., skip urgent tickets)
- By tags or custom fields
Keep Knowledge Base Updated
Ensure your Freshdesk Knowledge Base is current — Duckie uses these articles to provide accurate answers.Troubleshooting
”Webhook not receiving events”
- Verify automation rules are active
- Check the webhook URL is correct
- Test the automation manually in Freshdesk
- Ensure JSON payload format is exact
”Authentication failed”
- Verify your API key is correct
- Check that your Freshdesk domain is correct
- Ensure your account has API access
”Tickets not updating”
- Verify Duckie has permission to update tickets
- Check that the API key belongs to an agent account