Triggers in Forums

Triggers in Forums

Created a forum post

Triggers the outgoing webhook whenever a forum post is created.
Trigger type: Forum_Created

 

  1. {
  2.   "payload": {
  3.     "id": "12266000000493013",
  4.     "url": "https://connect.zoho.com//portal/ourintranet/forum/post/awareness-on-snakes-useful-info",
  5.     "title": "Awareness on snakes - useful info",
  6.     "createdTime": "17 Nov 2021, 02:07 PM",
  7.     "createdTimeInMillis": "1637138224213",
  8.     "category": [
  9.       {
  10.         "id": "12266000000493001",
  11.         "name": "General Info"
  12.       },
  13.       {
  14.         "id": "12266000000493007",
  15.         "name": "Lifestyle"
  16.       }
  17.     ],
  18.     "mentions": {
  19.       "user": [],
  20.       "partition": [],
  21.       "orgGroup": []
  22.     },
  23.     "tags": [],
  24.     "attachments": []
  25.   },
  26.   "triggeredBy": {
  27.     "type": "0",
  28.     "id": "62592875",
  29.     "name": "Michelle",
  30.     "emailId": "michelle@zylker.com",
  31.     "url": "https://connect.zoho.com//portal/ourintranet/profile/62592875"
  32.   },
  33.   "triggerType": "Forum_Created",
  34.   "triggeredTime": "17 Nov 2021, 02:07 PM",
  35.   "triggeredTimeInMillis": "1637138224271",
  36.   "scope": {
  37.     "id": "12266000000002002",
  38.     "name": "Zylker",
  39.     "url": "https://connect.zoho.com//portal/ourintranet"
  40.   }
  41. }

 

Edited a forum post

Triggers the outgoing webhook whenever a forum post is edited.
Trigger type: Forum_Updated
 

  1. {
  2.   "payload": {
  3.     "id": "12266000000493013",
  4.     "url": "https://connect.zoho.com//portal/ourintranet/forum/post/awareness-on-snakes-useful-info",
  5.     "title": "Awareness on snakes - useful info",
  6.     "createdTime": "17 Nov 2021, 02:07 PM",
  7.     "createdTimeInMillis": "1637138224213",
  8.     "category": [
  9.       {
  10.         "id": "12266000000493001",
  11.         "name": "General Info"
  12.       },
  13.       {
  14.         "id": "12266000000493007",
  15.         "name": "Lifestyle"
  16.       }
  17.     ],
  18.     "mentions": {
  19.       "user": [],
  20.       "partition": [],
  21.       "orgGroup": []
  22.     },
  23.     "tags": [],
  24.     "attachments": [
  25.       {
  26.         "fileId": "12266000000493034",
  27.         "size": "107669",
  28.         "name": "Remedies for snake poison.png",
  29.         "contentType": "image/png",
  30.         "downloadUrl": "https://connect.zoho.com/pulse/api/downloadFile?scopeID=12266000000002002&fileId=12266000000493034",
  31.         "extension": "png",
  32.         "url": "https://connect.zoho.com/pulse/api/viewImage?scopeID=12266000000002002&fileId=12266000000493034&size=original",
  33.         "thumbnailUrl": "https://connect.zoho.com/pulse/api/viewImage?scopeID=12266000000002002&fileId=12266000000493034",
  34.         "imgWidth": "1182",
  35.         "imgHeight": "368"
  36.       }
  37.     ]
  38.   },
  39.   "triggeredBy": {
  40.     "type": "0",
  41.     "id": "62592875",
  42.     "name": "Michelle",
  43.     "emailId": "michelle@zylker.com",
  44.     "url": "https://connect.zoho.com//portal/ourintranet/profile/62592875"
  45.   },
  46.   "triggerType": "Forum_Updated",
  47.   "triggeredTime": "17 Nov 2021, 02:08 PM",
  48.   "triggeredTimeInMillis": "1637138337619",
  49.   "scope": {
  50.     "id": "12266000000002002",
  51.     "name": "Zylker",
  52.     "url": "https://connect.zoho.com//portal/ourintranet"
  53.   }
  54. }


Deleted a forum post

Triggers the outgoing webhook when a forum post is deleted.
Trigger type: Forum_Deleted

  1. {
  2.   "payload": {
  3.     "id": "12266000000018108"
  4.   },
  5.   "triggeredBy": {
  6.     "type": "0",
  7.     "id": "62592875",
  8.     "name": "Michelle",
  9.     "emailId": "michelle@zylker.com",
  10.     "url": "https://connect.zoho.com//portal/ourintranet/profile/62592875"
  11.   },
  12.   "triggerType": "Forum_Deleted",
  13.   "triggeredTime": "17 Nov 2021, 02:10 PM",
  14.   "triggeredTimeInMillis": "1637138424340",
  15.   "scope": {
  16.     "id": "12266000000002002",
  17.     "name": "Zylker",
  18.     "url": "https://connect.zoho.com//portal/ourintranet"
  19.   }
  20. }

  

Commented on a forum post

Triggers the outgoing webhook when a new comment is added in a forum post.
Trigger type: Forum_Comment_Created

 

  1. {
  2.   "payload": {
  3.     "id": "12266000000493046",
  4.     "parentCommentId": "",
  5.     "url": "https://connect.zoho.com//portal/ourintranet/forum/post/awareness-on-snakes-useful-info/12266000000493046",
  6.     "streamId": "12266000000493013",
  7.     "streamUrl": "https://connect.zoho.com//portal/ourintranet/forum/post/awareness-on-snakes-useful-info",
  8.     "createdTime": "17 Nov 2021, 02:11 PM",
  9.     "createdTimeInMillis": "1637138518888",
  10.     "partition": {
  11.       "type": "8",
  12.       "id": "12266000000002006",
  13.       "name": "Forums",
  14.       "url": "https://connect.zoho.com//portal/ourintranet/forum/recentforums"
  15.     },
  16.     "mentions": {
  17.       "user": [],
  18.       "partition": [],
  19.       "orgGroup": []
  20.     },
  21.     "tags": [],
  22.     "embedAttachments": {
  23.       "image": {},
  24.       "file": {},
  25.       "video": {}
  26.     },
  27.     "plainContent": "Thanks for sharing this  \nvery useful info  :+1:",
  28.     "richContent": "Thanks for sharing this  <br/>very useful info  :+1:",
  29.     "rawContent": "Thanks for sharing this  <br/>very useful info  :+1:",
  30.     "attachments": []
  31.   },
  32.   "triggeredBy": {
  33.     "type": "2",
  34.     "name": "Guest#1"
  35.   },
  36.   "triggerType": "Forum_Comment_Created",
  37.   "triggeredTime": "17 Nov 2021, 02:11 PM",
  38.   "triggeredTimeInMillis": "1637138518923",
  39.   "scope": {
  40.     "id": "12266000000002002",
  41.     "name": "Zylker",
  42.     "url": "https://connect.zoho.com//portal/ourintranet"
  43.   }
  44. }

 

Forum comment edited

Triggers the outgoing webhook when a forum comment is edited.
Trigger type: Forum_Comment_Updated


  1. {
  2.   "payload": {
  3.     "id": "12266000000493050",
  4.     "parentCommentId": "",
  5.     "url": "https://connect.zoho.com//portal/ourintranet/forum/post/awareness-on-snakes-useful-info/12266000000493050",
  6.     "streamId": "12266000000493013",
  7.     "streamUrl": "https://connect.zoho.com//portal/ourintranet/forum/post/awareness-on-snakes-useful-info",
  8.     "createdTime": "17 Nov 2021, 02:15 PM",
  9.     "createdTimeInMillis": "1637138720953",
  10.     "partition": {
  11.       "type": "8",
  12.       "id": "12266000000002006",
  13.       "name": "Forums",
  14.       "url": "https://connect.zoho.com//portal/ourintranet/forum/recentforums"
  15.     },
  16.     "mentions": {
  17.       "user": [
  18.         {
  19.           "id": "62592875",
  20.           "name": "Michelle",
  21.           "emailId": "michelle@zylker.com",
  22.           "url": "https://connect.zoho.com//portal/ourintranet/profile/62592875"
  23.         }
  24.       ],
  25.       "partition": [
  26.         {
  27.           "type": "2",
  28.           "id": "12266000000068001",
  29.           "name": "HR",
  30.           "url": "https://connect.zoho.com//portal/ourintranet/group/hr"
  31.         }
  32.       ],
  33.       "orgGroup": []
  34.     },
  35.     "tags": [],
  36.     "embedAttachments": {
  37.       "image": {},
  38.       "file": {},
  39.       "video": {}
  40.     },
  41.     "plainContent": "@Michelle Thanks for the info \n \n@HR Team  \n \nPlease share this video to all employees",
  42.     "richContent": "@<a href='https://connect.zoho.com//portal/ourintranet/profile/62592875' target='blank'>Michelle</a> Thanks for the info <br/> <br/>@<a href='https://connect.zoho.com//portal/ourintranet/group/hr' target='blank'>HR</a> Team  <br/> <br/>Please share this video to all employees",
  43.     "rawContent": "<user:mention>62592875:Michelle</user:mention> Thanks for the info <br/> <br/><parition:mention>12266000000068001:HR</parition:mention> Team  <br/> <br/>Please share this video to all employees",
  44.     "attachments": []
  45.   },
  46.   "triggeredBy": {
  47.     "type": "0",
  48.     "id": "61683612",
  49.     "name": "Carol Clark",
  50.     "emailId": "carolclark@zylker.com",
  51.     "url": "https://connect.zoho.com//portal/ourintranet/profile/61683612"
  52.   },
  53.   "triggerType": "Forum_Comment_Updated",
  54.   "triggeredTime": "17 Nov 2021, 02:15 PM",
  55.   "triggeredTimeInMillis": "1637138727454",
  56.   "scope": {
  57.     "id": "12266000000002002",
  58.     "name": "Zylker",
  59.     "url": "https://connect.zoho.com//portal/ourintranet"
  60.   }
  61. }

 

Forum comment deleted

Triggers the outgoing webhook when a forum comment is deleted.
Trigger type: Forum_Comment_Deleted

 

  1. {
  2.   "payload": {
  3.     "streamId": "12266000000493013",
  4.     "id": "12266000000493050"
  5.   },
  6.   "triggeredBy": {
  7.     "type": "0",
  8.     "id": "61683612",
  9.     "name": "Carol Clark",
  10.     "emailId": "carolclark@zylker.com",
  11.     "url": "https://connect.zoho.com//portal/ourintranet/profile/61683612"
  12.   },
  13.   "triggerType": "Forum_Comment_Deleted",
  14.   "triggeredTime": "17 Nov 2021, 02:16 PM",
  15.   "triggeredTimeInMillis": "1637138773778",
  16.   "scope": {
  17.     "id": "12266000000002002",
  18.     "name": "Zylker",
  19.     "url": "https://connect.zoho.com//portal/ourintranet"
  20.   }
  21. }

 

For queries regarding outgoing webhooks, reach out to us at support@zohoconnect.com. We're happy to help!