Triggers supported in Spaces

Triggers supported in Spaces

Notes

While configuring the webhooks with the following triggers, the spaces for which you'd need to trigger the webhook should be selected. If you are creating a webhook through API, then the 'partitionIds' attribute is mandatory for this trigger type.


Member added to a  space

Triggers the outgoing webhook when a new member is added to the spaces selected in the configuration.

Trigger Type: Member_Added_In_Space

  1. {

  2.   "payload": {

  3.     "id": "1006052107",

  4.     "name": "Carol Clark",

  5.     "emailId": "Carolclark@zohotest.com",

  6.     "url": "https://communityspaces.zoho.com/portal/yourcommunity/profile/1006052107",

  7.     "memberType": "0",

  8.     "userStatus": "active",

  9.     "userProfile": {

  10.       "firstName": "Carol Clark",

  11.       "lastName": "",

  12.       "timeZone": "Asia/Kolkata",

  13.       "customFields": {

  14.         "12266000000430041": {

  15.           "name": "Custom Field 3",

  16.           "type": "DATE"

  17.         },

  18.         "12266000000430035": {

  19.           "name": "Custom Field 2",

  20.           "type": "TEXTAREA"

  21.         },

  22.         "12266000000430029": {

  23.           "name": "Custom Field 1",

  24.           "type": "TEXT"

  25.         },

  26.         "12266000000430073": {

  27.           "name": "Custom Field 6",

  28.           "type": "FILE"

  29.         },

  30.         "12266000000430047": {

  31.           "name": "Custom Field 4",

  32.           "type": "SELECTBOX"

  33.         },

  34.         "12266000000430059": {

  35.           "name": "Custom Field 5",

  36.           "type": "MULTI_SELECTBOX"

  37.         }

  38.       }

  39.     }

  40.   },

  41.   "partition": {

  42.     "type": "2",

  43.     "id": "12266000000008040",

  44.     "name": "Textbook - Feedback",

  45.     "url": "https://communityspaces.zoho.com/portal/yourcommunity/group/2-group"

  46.   },

  47.   "triggeredBy": {

  48.     "type": "0",

  49.     "id": "61683612",

  50.     "name": "Michelle",

  51.     "emailId": "michelle@zylker.com",

  52.     "url": "https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612"

  53.   },

  54.   "triggerType": "Member_Added_In_Space",

  55.   "triggeredTime": "17 Nov 2021, 12:30 PM",

  56.   "triggeredTimeInMillis": "1637132454072",

  57.   "scope": {

  58.     "id": "12266000000002002",

  59.     "name": "Zylker",

  60.     "url": "https://communityspaces.zoho.com/portal/yourcommunity"

  61.   }

  62. }

 

Member removed from a space  

Triggers the outgoing webhook when a member is removed from the spaces selected in the configuration.

Trigger Type: Member_Removed_From_Space

  1. {

  2.   "payload": {

  3.     "id": "62592875",

  4.     "name": "Emma Stone",

  5.     "emailId": "emmastone@zylker.com",

  6.     "url": "https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875",

  7.     "memberType": "0",

  8.     "userStatus": "active",

  9.     "userProfile": {

  10.       "firstName": "Rajesh Birla",

  11.       "lastName": "+1",

  12.       "timeZone": "Asia/Kolkata",

  13.       "customFields": {

  14.         "12266000000430035": {

  15.           "name": "Custom Field 2",

  16.           "type": "TEXTAREA",

  17.           "value": "Custom Field Value"

  18.         },

  19.         "12266000000430041": {

  20.           "name": "Custom Field 3",

  21.           "type": "DATE",

  22.           "value": "05 Nov 2021"

  23.         },

  24.         "12266000000430073": {

  25.           "name": "Custom Field 6",

  26.           "type": "FILE",

  27.           "value": {

  28.             "fileId": "12266000000491135",

  29.             "size": "89134",

  30.             "name": "image.png",

  31.             "contentType": "image/png",

  32.             "downloadUrl": "https://communityspaces.zoho.com/pulse/api/downloadFile?scopeID=12266000000002002&fileId=12266000000491135",

  33.             "extension": "png"

  34.           }

  35.         },

  36.         "12266000000430029": {

  37.           "name": "Custom Field 1",

  38.           "type": "TEXT",

  39.           "value": "Custom Field Value"

  40.         },

  41.         "12266000000430047": {

  42.           "name": "Custom Field 4",

  43.           "type": "SELECTBOX",

  44.           "value": "12266000000430049"

  45.         },

  46.         "12266000000430059": {

  47.           "name": "Custom Field 5",

  48.           "type": "MULTI_SELECTBOX",

  49.           "value": [

  50.             {

  51.               "id": "12266000000430061",

  52.               "name": "Option 1"

  53.             },

  54.             {

  55.               "id": "12266000000430063",

  56.               "name": "Option 2"

  57.             }

  58.           ]

  59.         }

  60.       }

  61.     }

  62.   },

  63.   "partition": {

  64.     "type": "2",

  65.     "id": "12266000000008040",

  66.     "name": "Textbook - Feedback",

  67.     "url": "https://communityspaces.zoho.com/portal/yourcommunity/group/2-group"

  68.   },

  69.   "triggeredBy": {

  70.     "type": "0",

  71.     "id": "61683612",

  72.     "name": "MIchelle",

  73.     "emailId": "michelle@zylker.com",

  74.     "url": "https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612"

  75.   },

  76.   "triggerType": "Member_Removed_From_Space",

  77.   "triggeredTime": "17 Nov 2021, 12:35 PM",

  78.   "triggeredTimeInMillis": "1637132704038",

  79.   "scope": {

  80.     "id": "12266000000002002",

  81.     "name": "Zylker",

  82.     "url": "https://communityspaces.zoho.com/portal/yourcommunity"

  83.   }

  84. }