Serverless Event Not Triggering in Freshworks CRM


I am trying to build a Serverless Freshworks CRM App. While building the app, the lifecycle events and products events are triggering properly while testing in local using the FDK (http://localhost:10001/web/test). However, the same do not work when installed as a Custom App. I am not sure if I am missing something here. Please find below the code snippets for the same.

My Manifest.json File:

  "platform-version": "2.2",
  "product": {
    "freshworks_crm": {
      "events": {
        "onContactCreate": {
          "handler": "onContactCreateHandler"
  "whitelisted-domains": [
    "https://<%= iparam.crmDomain %>"
  "engines": {
    "node": "14.20.0",
    "fdk": "8.6.5"

My Server.js File:

exports = {
  onContactCreateHandler: function (args) {
    console.log('Hello ' + args['data']['actor']['email']);

Hi @Dan ,

The shared code snippet looks good to me, there shouldn’t be any issues with your manifest (or) server.js. I’ve tried the same by publishing a custom app and I’m able to see the corresponding log for contact create. Let me attach the app zip here, so that you can check if you’re missing on anything.

Note: You should see the log under insatlled custom app settings → view logs (2.2 KB)

Hope it helps.


1 Like

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.