
While configuring the webhooks with the following triggers, the groups 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 group
Triggers the outgoing webhook when a new member is added to the groups selected in the configuration.
Trigger type: Member_Added_In_Group
- {
- "payload": {
- "id": "1006052107",
- "name": "Carol Clark",
- "emailId": "Carolclark@zohotest.com",
- "url": "https://connect.zoho.com/portal/ourintranet/profile/1006052107",
- "memberType": "0",
- "userStatus": "active",
- "userProfile": {
- "firstName": "Carol Clark",
- "lastName": "",
- "timeZone": "Asia/Kolkata",
- "customFields": {
- "12266000000430041": {
- "name": "Custom Field 3",
- "type": "DATE"
- },
- "12266000000430035": {
- "name": "Custom Field 2",
- "type": "TEXTAREA"
- },
- "12266000000430029": {
- "name": "Custom Field 1",
- "type": "TEXT"
- },
- "12266000000430073": {
- "name": "Custom Field 6",
- "type": "FILE"
- },
- "12266000000430047": {
- "name": "Custom Field 4",
- "type": "SELECTBOX"
- },
- "12266000000430059": {
- "name": "Custom Field 5",
- "type": "MULTI_SELECTBOX"
- }
- }
- }
- },
- "partition": {
- "type": "2",
- "id": "12266000000008040",
- "name": "Textbook - Feedback",
- "url": "https://connect.zoho.com/portal/ourintranet/group/2-group"
- },
- "triggeredBy": {
- "type": "0",
- "id": "61683612",
- "name": "Michelle",
- "emailId": "michelle@zylker.com",
- "url": "https://connect.zoho.com/portal/ourintranet/profile/61683612"
- },
- "triggerType": "Member_Added_In_Group",
- "triggeredTime": "17 Nov 2021, 12:30 PM",
- "triggeredTimeInMillis": "1637132454072",
- "scope": {
- "id": "12266000000002002",
- "name": "Zylker",
- "url": "https://connect.zoho.com/portal/ourintranet"
- }
- }
Member removed from a group
Triggers the outgoing webhook when a member is removed from the groups selected in the configuration.
Trigger type: Member_Removed_From_Group
- {
- "payload": {
- "id": "62592875",
- "name": "Emma Stone",
- "emailId": "emmastone@zylker.com",
- "url": "https://connect.zoho.com/portal/ourintranet/profile/62592875",
- "memberType": "0",
- "userStatus": "active",
- "userProfile": {
- "firstName": "Rajesh Birla",
- "lastName": "+1",
- "timeZone": "Asia/Kolkata",
- "customFields": {
- "12266000000430035": {
- "name": "Custom Field 2",
- "type": "TEXTAREA",
- "value": "Custom Field Value"
- },
- "12266000000430041": {
- "name": "Custom Field 3",
- "type": "DATE",
- "value": "05 Nov 2021"
- },
- "12266000000430073": {
- "name": "Custom Field 6",
- "type": "FILE",
- "value": {
- "fileId": "12266000000491135",
- "size": "89134",
- "name": "image.png",
- "contentType": "image/png",
- "downloadUrl": "https://connect.zoho.com/pulse/api/downloadFile?scopeID=12266000000002002&fileId=12266000000491135",
- "extension": "png"
- }
- },
- "12266000000430029": {
- "name": "Custom Field 1",
- "type": "TEXT",
- "value": "Custom Field Value"
- },
- "12266000000430047": {
- "name": "Custom Field 4",
- "type": "SELECTBOX",
- "value": "12266000000430049"
- },
- "12266000000430059": {
- "name": "Custom Field 5",
- "type": "MULTI_SELECTBOX",
- "value": [
- {
- "id": "12266000000430061",
- "name": "Option 1"
- },
- {
- "id": "12266000000430063",
- "name": "Option 2"
- }
- ]
- }
- }
- }
- },
- "partition": {
- "type": "2",
- "id": "12266000000008040",
- "name": "Textbook - Feedback",
- "url": "https://connect.zoho.com/portal/ourintranet/group/2-group"
- },
- "triggeredBy": {
- "type": "0",
- "id": "61683612",
- "name": "MIchelle",
- "emailId": "michelle@zylker.com",
- "url": "https://connect.zoho.com/portal/ourintranet/profile/61683612"
- },
- "triggerType": "Member_Removed_From_Group",
- "triggeredTime": "17 Nov 2021, 12:35 PM",
- "triggeredTimeInMillis": "1637132704038",
- "scope": {
- "id": "12266000000002002",
- "name": "Zylker",
- "url": "https://connect.zoho.com/portal/ourintranet"
- }
- }