Freshdesk Integration
5 min
introduction the requirement is to automate sending an nps survey invite when a ticket is marked as resolved or closed this automation can be achieved using the 'observer' automation rule provided by freshdesk this feature is however only available to paid freshdesk users requirement flow the basic flow of events would be as following configuration steps you can refer freshdesk help document for detailed understanding within freshdesk, click admin > automations (under helpdesk productivity section) click create new rule under ticket updates tab enter the following in your new rule setup rule name omoto nps webhook description wehbook for omoto nps triggers when any of these events occur status is changed from "any status" to "closed" and the events are performed by any on tickets with these properties this can be left as default perform these actions trigger webhook (screenshot shared below) request type post url omoto team will provide you with a unique url for your account that can be used here encoding json content advanced add json content sample shared below > use freshdesk placeholders to insert appropriate values in the json click save to save the automation \[ { "personalinfo" { "firstname" "{{ticket contact name}}", "lastname" "", "mobileno" "{{ticket contact phone}}", "email" "{{ticket contact email}}", "regid" "{{ticket id}}" }, "qualifyinginfo" \[ { "name" "unitname", "value" "omoto to provide" }, { "name" "product", "value" "jeeves" }, { "name" "genre", "value" "comedy" }, { "name" "author", "value" "pg wodehouse" } ] } ] next step once configuration is done, omoto will start sending nps email invite for every ticket closed in freshdesk additional rule of cool off period can be setup in omoto to avoid over surveying your customers sometimes the webhook configuration doesn't work out of the box in such a situation, we recommend getting in touch with freshdesk's support team they will help you enable the webhook or resolve issues with the webhook configuration