Freshdesk

Customer support

Back to listBack

Zulip Freshdesk integration

See customer support interactions in Zulip with our Freshdesk integration!

Create Zulip bot for Freshdesk notifications

  1. Create a bot for Freshdesk. Make sure that you select Incoming webhook as the Bot type.

  2. Decide where to send Freshdesk notifications, and generate the integration URL.

Add notifications for new Freshdesk tickets

  1. Go to your Freshdesk Admin page.

  2. Under Helpdesk Productivity, select Dispatch'r, and then select New rule.

  3. Set Rule Name to a name of your choice, such as Zulip.

  4. There isn't a shortcut to "always generate a notification on ticket creation", so we'll have to fake it by picking two complementary conditions: when the source is email, and when the source is not email. Set up the Conditions for the new rule, like so:

  5. Under Actions, set the Select Action dropdown to Trigger Webhook.

  6. Set Request Type to POST, and set Callback URL to the URL generated above.

  7. Toggle the Requires Authentication checkbox.

  8. Set Username to the email of the bot created above, and set Password to the bot's API key.

  9. Set Encoding to JSON, and select the Advanced option. Copy and paste the following JSON into the Content box:

    {"freshdesk_webhook":
        {
            "triggered_event":"{{triggered_event}}",
            "ticket_id":"{{ticket.id}}",
            "ticket_url":"{{ticket.url}}",
            "ticket_type":"{{ticket.ticket_type}}",
            "ticket_subject":"{{ticket.subject}}",
            "ticket_description":"{{ticket.description}}",
            "ticket_status":"{{ticket.status}}",
            "ticket_priority":"{{ticket.priority}}",
            "requester_name":"{{ticket.requester.name}}",
            "requester_email":"{{ticket.requester.email}}"
        }
    }
    
  10. Click Save.

Get notifications for changes to existing Freshdesk tickets

  1. Go to your Freshdesk Admin page.

  2. Under Helpdesk Productivity, select Observer, and then select New rule.

  3. Set Rule Name to a name of your choice, such as Zulip.

  4. Under involves any of these events, create new events as shown below:

  5. Unfortunately, there isn't a shortcut for specifying "all tickets", so we'll have to fake it by picking two complementary conditions: when the source is email, and when the source is not email. Under on tickets with these properties, create new conditions, like so:

  6. Under perform these actions, set the Select Action dropdown to Trigger Webhook.

  7. Set Request Type to POST, and set Callback URL to the URL generated above.

  8. Toggle the Requires Authentication checkbox.

  9. Set Username to the email of the bot created above, and set Password to the bot's API key.

  10. Set Encoding to JSON and select the Advanced option. Copy and paste the following JSON into the Content box:

    {"freshdesk_webhook":
        {
            "triggered_event":"{{triggered_event}}",
            "ticket_id":"{{ticket.id}}",
            "ticket_url":"{{ticket.url}}",
            "ticket_type":"{{ticket.ticket_type}}",
            "ticket_subject":"{{ticket.subject}}",
            "ticket_description":"{{ticket.description}}",
            "ticket_status":"{{ticket.status}}",
            "ticket_priority":"{{ticket.priority}}",
            "requester_name":"{{ticket.requester.name}}",
            "requester_email":"{{ticket.requester.email}}"
        }
    }
    
  11. Select Save.

You're done! Your Freshdesk notifications may look like this:

Current Freshdesk automation groups are Ticket Creation and Ticket Updates; Dispatch’r and Observer are older names. Choose Trigger Webhook with POST, JSON/Advanced and Basic authentication: username is the bot email and password is its api_key, not a Freshdesk account password. If complementary source conditions are used to cover all tickets, combine them with OR, not AND. Verify placeholders and rendered JSON for your version, including quoting of subjects/descriptions. Technical freshdesk_webhook and triggered_event names remain unchanged; fields such as ticket_id are strings.

The receiver parses strings like {ticket_action:created}, {note_type:private}, {status:{from:4,to:6}}. Its default topic is #ticket_id: ticket_subject. HTML descriptions are converted to Markdown. Note notifications report public/private type, not the note's full text. Status/priority transitions use a built-in legacy numeric mapping, not a lookup of your custom statuses. Standard statuses 2–5 mean Open/Pending/Resolved/Closed; 6–8 use historical names Waiting on Customer/Job Application/Monthly. Check the resulting message before production use. only_events and exclude_events do not filter this receiver because no event type is passed to the shared sender. Configure Automation conditions instead. Some recognized unknown events return success without a message; arbitrary new event formats are not guaranteed to work.

Use separate bots/URLs per customer. The URL and Basic password contain api_key. Review channel readership for requester name/email and ticket descriptions. For SaaS, hybrid, on-premises and telecom-operated deployments, hosted Freshdesk needs HTTPS access to the organization; coordinate routing with the operator. Notifications do not relocate Freshdesk ticket storage to your own server. Bot credentials are separate from BYOK encryption keys. No separate payload signature verification or ID deduplication is performed by this receiver.

Freshdesk automation webhooks.

Logos are trademarks of their respective owners. None of the integrations on this page are created by, affiliated with, or supported by the companies represented by the logos.