新しい予定が作成されるたびに、送信Webhookを実行します。
トリガーの種類:Event_Created
{
'payload': {
'id': '12266000000460271',
'title': 'Trade Show',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460271',
'partition': {
'type': '2',
'id': '12266000000008040',
'name': '+2 Group',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
},
'timeZone': 'Pacific/Midway',
'location': 'America',
'startTime': '03 Nov 2021, 11:30 AM',
'startTimeInMillis': '1635919200000',
'endTime': '03 Nov 2021, 12:30 PM',
'endTimeInMillis': '1635922800000',
'description': 'Testing Event',
'createdTime': '02 Nov 2021, 06:35 PM',
'createdTimeInMillis': '1635858325428',
'invitedUsers': [],
'invitedGroups': [
{
'id': '12266000000008040',
'name': '+2 Group',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
}
],
'assistants': [],
'attachments': []
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'Michelle',
'emailId': 'Michelle@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Event_Created',
'triggeredTime': '02 Nov 2021, 06:35 PM',
'triggeredTimeInMillis': '1635858325492',
'scope': {
'id': '12266000000002002',
'name': 'Zylker',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
設定の所有者がイベントに招待されるたびに、送信Webhookを実行します。
トリガーの種類:Event_Invited
{
'payload': {
'id': '12266000000460305',
'title': 'コミュニティの第4四半期リリースに関する話し合い',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460305',
'partition': {
'type': '1',
'id': '12266000000007009',
'name': 'Emma',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'timeZone': '',
'location': '',
'isAllDay': 'true',
'startTime': '02 Nov 2021',
'startTimeInMillis': '1635811200000',
'endTime': '03 Nov 2021',
'endTimeInMillis': '1635897540000',
'description': '第4四半期リリースの機能一覧 1) カスタムイベント 2) 送信Webhook V1 3) スケジューラーの処理',
'createdTime': '02 Nov 2021, 06:43 PM',
'createdTimeInMillis': '1635858828779',
'invitedUsers': [
{
'id': '61683612',
'name': 'Michelle',
'emailId': 'Michelle@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
{
'id': '1006055504',
'name': 'andrewdavidson.t+guest1',
'emailId': 'andrewdavidson.t+guest1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/1006055504'
},
{
'id': '63028633',
'name': 'Adithya Akilesh External',
'emailId': 'andrewdavidson.t+external@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/63028633'
},
{
'id': '1006052107',
'name': 'andrewdavidson.t+guest',
'emailId': 'andrewdavidson.t+guest@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/1006052107'
}
],
'invitedGroups': [],
'assistants': [
{
'id': '63852663',
'name': 'andrewjosep T',
'emailId': 'andrewjosep@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/63852663'
}
],
'attachments': [
{
'fileId': '12266000000460308',
'size': '123064',
'name': 'Q4 Release Feature List.jpeg',
'contentType': 'image/jpeg',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000460308',
'extension': 'jpeg',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/viewImage?scopeID=12266000000002002&fileId=12266000000460308',
'imgWidth': '1280',
'imgHeight': '1092'
}
]
},
'triggeredBy': {
'type': '0',
'id': '62592875',
'name': 'Emma',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'triggerType': 'Event_Invited',
'triggeredTime': '02 Nov 2021, 06:43 PM',
'triggeredTimeInMillis': '1635858829392',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
設定の所有者が予定のアシスタントに追加されると、送信Webhookが実行されます。
トリガーの種類:Event_Shared
{
'payload': {
'id': '12266000000460332',
'title': '2022年第4四半期リリースに関する打ち合わせ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332',
'partition': {
'type': '1',
'id': '12266000000007009',
'name': 'エマ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'timeZone': '',
'location': 'エスタンシア',
'isAllDay': 'true',
'startTime': '13 Nov 2021',
'startTimeInMillis': '1636761600000',
'endTime': '14 Nov 2021',
'endTimeInMillis': '1636847940000',
'description': '',
'createdTime': '02 Nov 2021, 06:48 PM',
'createdTimeInMillis': '1635859114390',
'invitedUsers': [],
'invitedGroups': [],
'assistants': [
{
'id': '61683612',
'name': 'ミシェル',
'emailId': 'Michelle@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
}
],
'attachments': [
{
'fileId': '12266000000460335',
'size': '5961799',
'name': 'Demo.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000460335',
'extension': 'mov'
}
]
},
'triggeredBy': {
'type': '0',
'id': '62592875',
'name': 'Emma',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'triggerType': 'Event_Shared',
'triggeredTime': '03 Nov 2021, 02:42 PM',
'triggeredTimeInMillis': '1635930747173',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
設定の所有者が予定から削除されたときに、送信Webhookを実行します。
トリガーの種類:Event_Unshared
{
'payload': {
'id': '12266000000460332',
'title': '2022年第4四半期リリースの打ち合わせ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332',
'partition': {
'type': '1',
'id': '12266000000007009',
'name': 'Emma',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'timeZone': '',
'location': 'Estancia',
'isAllDay': 'true',
'startTime': '13 Nov 2021',
'startTimeInMillis': '1636761600000',
'endTime': '14 Nov 2021',
'endTimeInMillis': '1636847940000',
'description': '',
'createdTime': '02 Nov 2021, 06:48 PM',
'createdTimeInMillis': '1635859114390',
'invitedUsers': [],
'invitedGroups': [],
'assistants': [],
'attachments': [
{
'fileId': '12266000000460335',
'size': '5961799',
'name': 'Demo.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000460335',
'extension': 'mov'
}
]
},
'triggeredBy': {
'type': '0',
'id': '62592875',
'name': 'Emma',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'triggerType': 'Event_Unshared',
'triggeredTime': '03 Nov 2021, 02:41 PM',
'triggeredTimeInMillis': '1635930710665',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
予定のアシスタントとして追加された設定の所有者が、その予定から削除されると、送信Webhookが実行されます。
トリガーの種類:Event_Uninvited
{
'payload': {
'id': '12266000000460332',
'title': '2022年第4四半期のリリースに関する話し合い',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332',
'partition': {
'type': '2',
'id': '12266000000008040',
'name': '+2グループ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
},
'timeZone': '',
'location': 'Estancia',
'isAllDay': 'true',
'startTime': '13 Nov 2021',
'startTimeInMillis': '1636761600000',
'endTime': '14 Nov 2021',
'endTimeInMillis': '1636847940000',
'description': '',
'createdTime': '02 Nov 2021, 06:48 PM',
'createdTimeInMillis': '1635859114390',
'invitedUsers': [],
'invitedGroups': [
{
'id': '12266000000008040',
'name': '+2 Group',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
}
],
'assistants': [],
'attachments': [
{
'fileId': '12266000000460335',
'size': '5961799',
'name': 'Demo.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000460335',
'extension': 'mov'
}
]
},
'triggeredBy': {
'type': '0',
'id': '62592875',
'name': 'Emma',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'triggerType': 'Event_Invited',
'triggeredTime': '03 Nov 2021, 02:45 PM',
'triggeredTimeInMillis': '1635930911981',
'scope': {
'id': '12266000000002002',
'name': 'Zylker',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
設定の所有者が予定のリマインダーを受信するたびに、送信Webhookが実行されます。
トリガーの種類:Event_Reminder
{
'payload': {
'id': '12266000000460332',
'title': '2022年第4四半期リリースに関するディスカッション',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332',
'partition': {
'type': '2',
'id': '12266000000008040',
'name': '+2 グループ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
},
'timeZone': '',
'location': 'Estancia',
'isAllDay': 'true',
'startTime': '13 Nov 2021',
'startTimeInMillis': '1636761600000',
'endTime': '14 Nov 2021',
'endTimeInMillis': '1636847940000',
'description': '',
'createdTime': '02 Nov 2021, 06:48 PM',
'createdTimeInMillis': '1635859114390',
'invitedUsers': [],
'invitedGroups': [
{
'id': '12266000000008040',
'name': '+2 グループ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
}
],
'assistants': [],
'attachments': [
{
'fileId': '12266000000460335',
'size': '5961799',
'name': 'Demo.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000460335',
'extension': 'mov'
}
]
},
'triggeredBy': {
'type': '4',
'name': 'Zoho Connect'
},
'triggerType': 'Event_Reminder',
'triggeredTime': '03 Nov 2021, 02:45 PM',
'triggeredTimeInMillis': '1635930911981',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
イベントの詳細が更新されるたびに、送信Webhookを実行します。
トリガーの種類:Event_Updated
{
'payload': {
'id': '12266000000460332',
'title': '2022年第4四半期のリリースに関する打ち合わせ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332',
'partition': {
'type': '2',
'id': '12266000000008040',
'name': '+2 グループ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
},
'timeZone': '',
'location': 'Estancia',
'isAllDay': 'true',
'startTime': '04 Nov 2021',
'startTimeInMillis': '1635984000000',
'endTime': '14 Nov 2021',
'endTimeInMillis': '1636847940000',
'description': '',
'createdTime': '02 Nov 2021, 06:48 PM',
'createdTimeInMillis': '1635859114390',
'invitedUsers': [],
'invitedGroups': [
{
'id': '12266000000008040',
'name': '+2 グループ',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
}
],
'assistants': [],
'attachments': [
{
'fileId': '12266000000460335',
'size': '5961799',
'name': 'Demo.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000460335',
'extension': 'mov'
}
]
},
'triggeredBy': {
'type': '0',
'id': '62592875',
'name': 'Emma',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'triggerType': 'Event_Updated',
'triggeredTime': '03 Nov 2021, 02:50 PM',
'triggeredTimeInMillis': '1635931207038',
'scope': {
'id': '12266000000002002',
'name': 'Zylker',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
予定が削除されると、送信Webhookが実行されます。
トリガーの種類:Event_Deleted
{
'payload': {
'id': '12266000000460305'
},
'triggeredBy': {
'type': '0',
'id': '62592875',
'name': 'Emma',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
'triggerType': 'Event_Deleted',
'triggeredTime': '03 Nov 2021, 02:52 PM',
'triggeredTimeInMillis': '1635931376540',
'scope': {
'id': '12266000000002002',
'name': 'Zylker',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
予定の出欠回答オプションが更新されると、送信Webhookが実行されます。
トリガーの種類:Event_RSVP_Updated
{
'payload': {
'id': '3000000131035',
'title: '第4四半期のリリースに関する話し合い',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/3000000131035',
'attendee': {
'status': 'MAYBE',
'id': '15522845',
'name': 'Ramanesh T',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/15522845'
}
},
'triggeredBy': {
'type': '0',
'id': '15522845',
'name': 'Ramanesh T',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/15522845'
},
'triggerType': 'Event_RSVP_Updated',
'triggeredTime': '08 Nov 2021, 01:12 PM',
'triggeredTimeInMillis': '1636357373568',
'scope': {
'id': '3000000000002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
選択した予定にコメントが追加されるたびに、送信Webhookを実行します。
トリガーの種類:Event_Comment_Created
{
'payload': {
'id': '12266000000464009',
'parentCommentId': '',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332/12266000000464009',
'streamId': '12266000000460332',
'streamUrl': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332',
'createdTime': '03 Nov 2021, 03:30 PM',
'createdTimeInMillis': '1635933607954',
'partition': {
'type': '2',
'id': '12266000000008040',
'name': '+2 Group',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
},
'mentions': {
'user': [
{
'id': '62592875',
'name': 'Emma',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
{
'id': '1006055504',
'name': 'andrewdavidson.t+guest1',
'emailId': 'andrewdavidson.t+guest1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/1006055504'
}
],
'partition': [
{
'type': '2',
'id': '12266000000109029',
'name': 'CommunityGroup Channel',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/connect-group-channel-1'
},
{
'type': '2',
'id': '12266000000008040',
'name': '+2 Group',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
}
]
},
'tags': [],
'embedAttachments': {
'image': {
'12266000000464015': {
'fileId': '12266000000464015',
'size': '123064',
'name': 'WhatsApp Image 2021-04-19 at 1.39.09 PM.jpeg',
'contentType': 'image/jpeg',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000464015',
'extension': 'jpeg',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/viewImage?scopeID=12266000000002002&fileId=12266000000464015',
'imgWidth': '1280',
'imgHeight': '1092'
},
'12266000000464016': {
'fileId': '12266000000464016',
'size': '110437',
'name': 'Board_558.png',
'contentType': 'image/png',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000464016',
'extension': 'png',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/viewImage?scopeID=12266000000002002&fileId=12266000000464016',
'imgWidth': '2560',
'imgHeight': '1416'
}
},
'file': {
'12266000000464010': {
'fileId': '12266000000464010',
'size': '5961799',
'name': 'Screen Recording 2021-11-01 at 4.56.23 PM.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000464010',
'extension': 'mov'
}
},
'video': {
'12266000000464017': {
'isUploaded': 'true',
'fileId': '12266000000464017',
'size': '5961799',
'name': 'Screen Recording 2021-11-01 at 4.56.23 PM.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000464017',
'extension': 'mov'
}
}
},
'plainContent': '@Emma @andrewdavidson.t+guest1 @+2 Group @CommunityGroup Channel \n \n議題 \n \nテスト、ベータユーザーへのリリース、ベータユーザーによるレビュー、リリース日の確定、マーケティングキャンペーン \n一般的な手順については、このドキュメントを参照してください。 \n \n \nテスト用スクリプト \nreturnMap = map();triggeredBy = triggerData.get(\'triggeredBy\');response=zoho.cliq.postToUser(triggeredBy.get(\'emailId\'),\'New TriggerData \',\'zohocliqoauth\');if(response == null || response.containKey(\'status\') == false || response.get(\'status\') != \'success\'){ returnMap.put(\'status\',\'failure\');}return returnMap;',
'richContent': '@<a href='https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'target='blank'>Emma</a> @<a href='https://communityspaces.zoho.com/portal/yourcommunity/profile/1006055504'target='blank'>andrewdavidson.t+guest1</a> @<a href='https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'target='blank'>+2 Group</a> @<a href='https://communityspaces.zoho.com/portal/yourcommunity/group/connect-group-channel-1'target='blank'>CommunityGroup Channel</a> <br/> <br/><u>議題</u> <br/> <br/><ol><li>Testing</li><li>Release ベータ版ユーザーに</li><li>ベータ版ユーザーからの評価</li><li>リリース日の確定 </li><li>マーケティングキャンペーン</li></ol> <br/><code>一般的な手順</code>については、この<a href='https://writer.zoho.com'target='blank'>ドキュメント</a>を参照してください。 <br/> <br/> <br/>テスト用スクリプト <br/><pre type='snippet'><label>returnMap = map();triggeredBy = triggerData.get("triggeredBy");</label><label>response=zoho.cliq.postToUser(triggeredBy.get("emailId"),"New TriggerData ","zohocliqoauth");</label><label>if(response == null || response.containKey("status") == false || response.get("status") != "success")</label><label>{</label><label> returnMap.put("status","failure");</label><label>}</label><label>return returnMap;</label></pre>',
'rawContent': '<user:mention>62592875:Emma</user:mention> <user:mention>1006055504:andrewdavidson.t+guest1</user:mention> <parition:mention>12266000000008040:+2 Group</parition:mention> <parition:mention>12266000000109029:CommunityGroup Channel</parition:mention> <br/> <br/><u>議題</u> <br/> <br/><ol><li>Testing</li><li>Release ベータ版ユーザーに</li><li>ベータ版ユーザーからの評価</li><li>リリース日の確定 </li><li>マーケティングキャンペーン</li></ol> <br/><code>一般的な手順</code>については、この<a href='https://writer.zoho.com'target='blank'>ドキュメント</a>を参照してください。 <br/> <embed type='image' fileId='12266000000464015' > <br/> <br/>テスト用スクリプト <br/><snippet><label>returnMap = map();triggeredBy = triggerData.get("triggeredBy");</label><label>response=zoho.cliq.postToUser(triggeredBy.get("emailId"),"New TriggerData ","zohocliqoauth");</label><label>if(response == null || response.containKey("status") == false || response.get("status") != "success")</label><label>{</label><label> returnMap.put("status","failure");</label><label>}</label><label>return returnMap;</label></snippet><embed type='image' fileId='12266000000464016' ><embed type='file' fileId='12266000000464010' ><embed type='video' fileId='12266000000464017' isUploaded='true' >',
'attachments': []
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'Michelle',
'emailId': 'Michelle@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Event_Comment_Created',
'triggeredTime': '03 Nov 2021, 06:39 PM',
'triggeredTimeInMillis': '1635944973303',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
予定のコメントが編集されると、送信Webhookが実行されます。
トリガーの種類:Event_Comment_Updated
{
'payload': {
'id': '12266000000464009',
'parentCommentId': '',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332/12266000000464009',
'streamId': '12266000000460332',
'streamUrl': 'https://communityspaces.zoho.com/portal/yourcommunity/event/12266000000460332',
'createdTime': '03 Nov 2021, 03:30 PM',
'createdTimeInMillis': '1635933607954',
'partition': {
'type': '2',
'id': '12266000000008040',
'name': '+2 Group',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
},
'mentions': {
'user': [
{
'id': '62592875',
'name': 'Emma',
'emailId': 'andrewdavidson.t+1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'
},
{
'id': '1006055504',
'name': 'andrewdavidson.t+guest1',
'emailId': 'andrewdavidson.t+guest1@zohotest.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/1006055504'
}
],
'partition': [
{
'type': '2',
'id': '12266000000109029',
'name': 'CommunityGroup Channel',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/connect-group-channel-1'
},
{
'type': '2',
'id': '12266000000008040',
'name': '+2 Group',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'
}
]
},
'tags': [],
'embedAttachments': {
'image': {
'12266000000464015': {
'fileId': '12266000000464015',
'size': '123064',
'name': 'WhatsApp Image 2021-04-19 at 1.39.09 PM.jpeg',
'contentType': 'image/jpeg',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000464015',
'extension': 'jpeg',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/viewImage?scopeID=12266000000002002&fileId=12266000000464015',
'imgWidth': '1280',
'imgHeight': '1092'
},
'12266000000464016': {
'fileId': '12266000000464016',
'size': '110437',
'name': 'Board_558.png',
'contentType': 'image/png',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000464016',
'extension': 'png',
'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/viewImage?scopeID=12266000000002002&fileId=12266000000464016',
'imgWidth': '2560',
'imgHeight': '1416'
}
},
'file': {
'12266000000464010': {
'fileId': '12266000000464010',
'size': '5961799',
'name': 'Screen Recording 2021-11-01 at 4.56.23 PM.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000464010',
'extension': 'mov'
}
},
'video': {
'12266000000464017': {
'isUploaded': 'true',
'fileId': '12266000000464017',
'size': '5961799',
'name': 'Screen Recording 2021-11-01 at 4.56.23 PM.mov',
'contentType': 'video/quicktime',
'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000464017',
'extension': 'mov'
}
}
},
'plainContent': '@Emma @andrewdavidson.t+guest1 @+2 Group @CommunityGroup Channel \n \nTopics To Discuss \n \nTestingRelease to Beta UsersReview from Beta usersRelease date finalise Marketing Campaign \nPlease refer this document for general procedure \n \n \nScript for testing \nreturnMap = map();triggeredBy = triggerData.get(\'triggeredBy\');response=zoho.cliq.postToUser(triggeredBy.get(\'emailId\'),\'New TriggerData \',\'zohocliqoauth\');if(response == null || response.containKey(\'status\') == false || response.get(\'status\') != \'success\'){ returnMap.put(\'status\',\'failure\');}return returnMap;',
'richContent': '@<a href='https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'target='blank'>Emma</a> @<a href='https://communityspaces.zoho.com/portal/yourcommunity/profile/1006055504'target='blank'>andrewdavidson.t+guest1</a> @<a href='https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'target='blank'>+2 Group</a> @<a href='https://communityspaces.zoho.com/portal/yourcommunity/group/connect-group-channel-1'target='blank'>CommunityGroup Channel</a> <br/> <br/><u>議題</u> <br/> <br/><ol><li>Testing</li><li>Release ベータユーザーへ</li><li>ベータユーザーからのレビュー</li><li>リリース日の確定 </li><li>マーケティングキャンペーン</li></ol> <br/><code>一般的な手順</code>については、こちらの<a href='https://writer.zoho.com'target='blank'>ドキュメント</a>をご参照ください。 <br/> <br/> <br/>テスト用スクリプト <br/><pre type='snippet'><label>returnMap = map();triggeredBy = triggerData.get("triggeredBy");</label><label>response=zoho.cliq.postToUser(triggeredBy.get("emailId"),"New TriggerData ","zohocliqoauth");</label><label>if(response == null || response.containKey("status") == false || response.get("status") != "success")</label><label>{</label><label> returnMap.put("status","failure");</label><label>}</label><label>return returnMap;</label></pre>',
'rawContent': '<user:mention>62592875:Emma</user:mention> <user:mention>1006055504:andrewdavidson.t+guest1</user:mention> <parition:mention>12266000000008040:+2 Group</parition:mention> <parition:mention>12266000000109029:CommunityGroup Channel</parition:mention> <br/> <br/><u>議題</u> <br/> <br/><ol><li>Testing</li><li>Release ベータユーザーへ</li><li>ベータユーザーからのレビュー</li><li>リリース日の確定 </li><li>マーケティングキャンペーン</li></ol> <br/><code>一般的な手順</code>については、こちらの<a href='https://writer.zoho.com'target='blank'>ドキュメント</a>をご参照ください。 <br/><embed type='image' fileId='12266000000464015' > <br/> <br/>テスト用スクリプト <br/><snippet><label>returnMap = map();triggeredBy = triggerData.get("triggeredBy");</label><label>response=zoho.cliq.postToUser(triggeredBy.get("emailId"),"New TriggerData ","zohocliqoauth");</label><label>if(response == null || response.containKey("status") == false || response.get("status") != "success")</label><label>{</label><label> returnMap.put("status","failure");</label><label>}</label><label>return returnMap;</label></snippet><embed type='image' fileId='12266000000464016' ><embed type='file' fileId='12266000000464010' ><embed type='video' fileId='12266000000464017' isUploaded='true' >',
'attachments': []
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'Michelle',
'emailId': 'Michelle@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Event_Comment_Updated',
'triggeredTime': '03 Nov 2021, 06:39 PM',
'triggeredTimeInMillis': '1635944973303',
'scope': {
'id': '12266000000002002',
'name': 'ジルカー',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}
イベントが削除されたときに、送信Webhookを実行します。
トリガーの種類:Event_Comment_Deleted
{
'payload': {
'streamId': '12266000000460332',
'id': '12266000000464033'
},
'triggeredBy': {
'type': '0',
'id': '61683612',
'name': 'Michelle',
'emailId': 'Michelle@zylker.com',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'
},
'triggerType': 'Event_Comment_Deleted',
'triggeredTime': '03 Nov 2021, 06:41 PM',
'triggeredTimeInMillis': '1635945107514',
'scope': {
'id': '12266000000002002',
'name': 'Zylker',
'url': 'https://communityspaces.zoho.com/portal/yourcommunity'
}
}