アンケートで対応しているトリガー

アンケートで対応しているトリガー

お知らせ:当社は、お客様により充実したサポート情報を迅速に提供するため、本ページのコンテンツは機械翻訳を用いて日本語に翻訳しています。正確かつ最新のサポート情報をご覧いただくには、本内容の英語版を参照してください。

新しい投票の開始 

投票が開始されるたびに、送信Webhookを実行します。

トリガーの種類:Poll_Created

  1. {

  2. 'payload': {

  3. 'id': '12266000000493174',

  4. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174',

  5. 'title': '',

  6. 'createdTime': '17 Nov 2021, 03:38 PM',

  7. 'createdTimeInMillis': '1637143715698',

  8. 'options': [

  9. {

  10. 'option': '線画アイコン',

  11. 'url': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007',

  12. 'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007&size=thumb',

  13. 'downloadUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007&size=original'

  14. },

  15. {

  16. 'option': '塗りつぶしアイコン',

  17. 'url': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008',

  18. 'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008&size=thumb',

  19. 'downloadUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008&size=original'

  20. },

  21. {

  22. 'option': 'アイコンなし'

  23. }

  24. ],

  25. 'partition': {

  26. 'type': '1',

  27. 'id': '12266000000002010',

  28. 'name': 'michelle@zylker,com',

  29. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  30. },

  31. 'mentions': {

  32. 'user': [],

  33. 'partition': [

  34. {

  35. 'id': '12266000000008040',

  36. 'name': '教科書 - フィードバック',

  37. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'

  38. }

  39. ],

  40. 'orgGroup': []

  41. },

  42. 'tags': [],

  43. 'embedAttachments': {

  44. 'image': {},

  45. 'file': {},

  46. 'video': {}

  47. },

  48. 'plainContent': 'こんにちは、@Textbook - Feedback チームの皆さん。\n \n製品のアイコンを選択してください。',

  49. 'richContent': 'こんにちは、@<a href='https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'target='blank'>Textbook - Feedback</a> チームの皆さん。<br/> <br/>製品のアイコンを選択してください。',

  50. 'rawContent': 'こんにちは、<parition:mention>12266000000008040:Textbook - Feedback</parition:mention> チームの皆さん。<br/> <br/>製品のアイコンを選択してください。',

  51. 'attachments': []

  52. },

  53. 'triggeredBy': {

  54. 'type': '0',

  55. 'id': '61683612',

  56. 'name': 'ミシェル',

  57. 'emailId': 'michelle@zylker,com',

  58. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  59. },

  60. 'triggerType': 'Poll_Created',

  61. 'triggeredTime': '17 Nov 2021, 03:38 PM',

  62. 'triggeredTimeInMillis': '1637143715947',

  63. 'scope': {

  64. 'id': '12266000000002002',

  65. 'name': 'ジルカー',

  66. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity'

  67. }

  68. }

 

 

投票の更新 

投票が更新されると、送信Webhookが実行されます。

トリガーの種類:Poll_Updated

  1. {

  2. 'payload': {

  3. 'id': '12266000000493174',

  4. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174',

  5. 'title': '',

  6. 'createdTime': '17 Nov 2021, 03:38 PM',

  7. 'createdTimeInMillis': '1637143715698',

  8. 'options': [

  9. {

  10. 'option': 'ラインアイコン',

  11. 'url': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007',

  12. 'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007&size=thumb',

  13. 'downloadUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023007&size=original'

  14. },

  15. {

  16. 'option': '塗りつぶしアイコン',

  17. 'url': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008',

  18. 'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008&size=thumb',

  19. 'downloadUrl': 'https://communityspaces.zoho.com/community/api/pollImage?scopeID=12266000000002002&fileId=881354000000023008&size=original'

  20. },

  21. {

  22. 'option': 'アイコンなし'

  23. }

  24. ],

  25. 'partition': {

  26. 'type': '1',

  27. 'id': '12266000000002010',

  28. 'name': 'michelle@zylker,com',

  29. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  30. },

  31. 'mentions': {

  32. 'user': [],

  33. 'partition': [

  34. {

  35. 'id': '12266000000008040',

  36. 'name': 'Textbook - Feedback',

  37. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'

  38. }

  39. ],

  40. 'orgGroup': []

  41. },

  42. 'tags': [],

  43. 'embedAttachments': {

  44. 'image': {},

  45. 'file': {},

  46. 'video': {}

  47. },

  48. 'plainContent': 'こんにちは、@Textbook - Feedback チームの皆さん。\n \n製品のアイコンを選んでください。投票結果をもとにアイコンを決定します。',

  49. 'richContent': 'こんにちは、@<a href='https://communityspaces.zoho.com/portal/yourcommunity/group/2-group'target='blank'>Textbook - Feedback</a> チームの皆さん。<br/> <br/>製品のアイコンを選んでください。投票結果をもとにアイコンを決定します。',

  50. 'rawContent': 'こんにちは、<parition:mention>12266000000008040:Textbook - Feedback</parition:mention> チームの皆さん。<br/> <br/>製品のアイコンを選んでください。投票結果をもとにアイコンを決定します。',

  51. 'attachments': []

  52. },

  53. 'triggeredBy': {

  54. 'type': '0',

  55. 'id': '61683612',

  56. 'name': 'Michelle',

  57. 'emailId': 'michelle@zylker,com',

  58. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  59. },

  60. 'triggerType': 'Poll_Updated',

  61. 'triggeredTime': '17 Nov 2021, 03:39 PM',

  62. 'triggeredTimeInMillis': '1637143796936',

  63. 'scope': {

  64. 'id': '12266000000002002',

  65. 'name': 'Zylker',

  66. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity'

  67. }

  68. }

 

投票の削除 

投票が削除されると、送信Webhookが実行されます。

トリガーの種類:Poll_Deleted

  1. {

  2. 'payload': {

  3. 'id': '12266000000464405'

  4. },

  5. 'triggeredBy': {

  6. 'type': '0',

  7. 'id': '61683612',

  8. 'name': 'Michelle',

  9. 'emailId': 'michelle@zylker,com',

  10. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  11. },

  12. 'triggerType': 'Poll_Deleted',

  13. 'triggeredTime': '17 Nov 2021, 03:40 PM',

  14. 'triggeredTimeInMillis': '1637143817455',

  15. 'scope': {

  16. 'id': '12266000000002002',

  17. 'name': 'Zylker',

  18. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity'

  19. }

  20. }

 

投票へのコメントの追加 

投票に新しいコメントが追加されると、送信Webhookが実行されます。

トリガーの種類:Poll_Comment_Created

  1. {

  2. 'payload': {

  3. 'id': '12266000000493223',

  4. 'parentCommentId': '',

  5. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174/12266000000493223',

  6. 'streamId': '12266000000493174',

  7. 'streamUrl': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174',

  8. 'createdTime': '17 Nov 2021, 03:41 PM',

  9. 'createdTimeInMillis': '1637143895866',

  10. 'partition': {

  11. 'type': '1',

  12. 'id': '12266000000002010',

  13. 'name': 'michelle@zylker,com',

  14. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  15. },

  16. 'mentions': {

  17. 'user': [

  18. {

  19. 'id': '61683612',

  20. 'name': 'Michelle',

  21. 'emailId': 'michelle@zylker,com',

  22. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  23. }

  24. ],

  25. 'partition': [],

  26. 'orgGroup': []

  27. },

  28. 'tags': [],

  29. 'embedAttachments': {

  30. 'image': {

  31. '12266000000493224': {

  32. 'fileId': '12266000000493224',

  33. 'size': '728024',

  34. 'name': 'Continous Failure.png',

  35. 'contentType': 'image/png',

  36. 'downloadUrl': 'https://communityspaces.zoho.com/community/api/downloadFile?scopeID=12266000000002002&fileId=12266000000493224',

  37. 'extension': 'png',

  38. 'url': 'https://communityspaces.zoho.com/community/api/viewImage?scopeID=12266000000002002&fileId=12266000000493224&size=original',

  39. 'thumbnailUrl': 'https://communityspaces.zoho.com/community/api/viewImage?scopeID=12266000000002002&fileId=12266000000493224',

  40. 'imgWidth': '766',

  41. 'imgHeight': '400'

  42. }

  43. },

  44. 'file': {},

  45. 'video': {}

  46. },

  47. 'plainContent': '@Michelle \n以下の画像を投票の選択肢に追加しませんか? \n',

  48. 'richContent': '@<a href='https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'target='blank'>Michelle</a> <br/>以下の画像を投票の選択肢に追加しませんか? <br/>',

  49. 'rawContent': '<user:mention>61683612:Michelle</user:mention> <br/>以下の画像を投票の選択肢に追加しませんか? <br/><embed type='image' fileId='12266000000493224' >',

  50. 'attachments': []

  51. },

  52. 'triggeredBy': {

  53. 'type': '0',

  54. 'id': '62592875',

  55. 'name': 'Emma Stone',

  56. 'emailId': 'emmastone@zylker.com',

  57. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'

  58. },

  59. 'triggerType': 'Poll_Comment_Created',

  60. 'triggeredTime': '17 Nov 2021, 03:41 PM',

  61. 'triggeredTimeInMillis': '1637143896278',

  62. 'scope': {

  63. 'id': '12266000000002002',

  64. 'name': 'Zylker',

  65. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity'

  66. }

  67. }

 

投票のコメントの更新 

投票のコメントが編集されると、送信Webhookが実行されます。

トリガーの種類:Poll_Comment_Updated

  1. {

  2. 'payload': {

  3. 'id': '12266000000493247',

  4. 'parentCommentId': '12266000000493223',

  5. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174/12266000000493247',

  6. 'streamId': '12266000000493174',

  7. 'streamUrl': 'https://communityspaces.zoho.com/portal/yourcommunity/stream/12266000000493174',

  8. 'createdTime': '17 Nov 2021, 03:42 PM',

  9. 'createdTimeInMillis': '1637143940988',

  10. 'partition': {

  11. 'type': '1',

  12. 'id': '12266000000002010',

  13. 'name': 'michelle@zylker,com',

  14. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  15. },

  16. 'mentions': {

  17. 'user': [

  18. {

  19. 'id': '62592875',

  20. 'name': 'Emma Stone',

  21. 'emailId': 'emmastone@zylker.com',

  22. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'

  23. }

  24. ],

  25. 'partition': [],

  26. 'orgGroup': []

  27. },

  28. 'tags': [],

  29. 'embedAttachments': {

  30. 'image': {},

  31. 'file': {},

  32. 'video': {}

  33. },

  34. 'plainContent': '承知しました。@Emma Stoneが選択肢を追加します',

  35. 'richContent': '承知しました。@<a href='https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'target='blank'>Emma Stone</a>が選択肢を追加します',

  36. 'rawContent': '承知しました。<user:mention>62592875:Emma Stone</user:mention>が選択肢を追加します',

  37. 'attachments': []

  38. },

  39. 'triggeredBy': {

  40. 'type': '0',

  41. 'id': '61683612',

  42. 'name': 'Michelle',

  43. 'emailId': 'michelle@zylker,com',

  44. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612'

  45. },

  46. 'triggerType': 'Poll_Comment_Updated',

  47. 'triggeredTime': '17 Nov 2021, 03:42 PM',

  48. 'triggeredTimeInMillis': '1637143950471',

  49. 'scope': {

  50. 'id': '12266000000002002',

  51. 'name': 'ジルカー',

  52. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity'

  53. }

  54. }

 

投票のコメントの削除 

投票のコメントが削除されると、送信Webhookが実行されます。

トリガーの種類:Poll_Comment_Deleted

 

 

  1. {

  2. 'payload': {

  3. 'streamId': '12266000000493174',

  4. 'id': '12266000000493233'

  5. },

  6. 'triggeredBy': {

  7. 'type': '0',

  8. 'id': '62592875',

  9. 'name': 'エマ・ストーン',

  10. 'emailId': 'emmastone@zylker.com',

  11. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875'

  12. },

  13. 'triggerType': 'Poll_Comment_Deleted',

  14. 'triggeredTime': '17 Nov 2021, 03:41 PM',

  15. 'triggeredTimeInMillis': '1637143915553',

  16. 'scope': {

  17. 'id': '12266000000002002',

  18. 'name': 'ジルカー',

  19. 'url': 'https://communityspaces.zoho.com/portal/yourcommunity'

  20. }

  21. }