Triggers Supported - Overview

Triggers Supported - Overview

Overview

Outgoing webhooks in Zoho CommunitySpaces support various triggers across modules such as Feeds, Tasks, and Manuals. A trigger is an activity that invokes an outgoing webhook to send data to an external URL or execute a custom function.
 

ATTRIBUTES of the trigger data

When a configured trigger occurs, the relevant entity sends information about the activity, called trigger data, to the webhook. The trigger data contains the following attributes:
 

Attribute Name

Data Type

Description

payload

JSONObject

State of the resource at the time of trigger.

triggeredBy

JSONObject

Details of the entity that initiated the trigger. (Refer Table 3)  

scope

JSONObject

Details of the scope. (Refer Table 2) 

triggerType

String

Type of the trigger

triggerTime

String

 

The details of date and time when the trigger activity happened.

triggerTimeInMillis

Long

Time of trigger action in milliseconds.

 

 

ATTRIBUTES of the scope JSON

Scope refers to the network in which the trigger action has happened. The following attributes are found within the scope JSON object.

 

 

Name

Data Type

Description

id

Long

Unique Id of the community (scopeId)

name

String

Name of the community

url

String

URL of the community

 

 

ATTRIBUTES of the triggeredBy JSON

There are multiple causes that perform a trigger action. It could be a user-performed action or a result of an automation and these details are also passed in the trigger data. The following attributes are found within the triggeredBy JSON object.
 

Name

Data Type

Description

type

Integer

An integer value (0-4) denoting the type of trigger.

 

0 - Zoho CommunitySpaces User

1 - Integration Bot

2 - Anonymous Zoho CommunitySpaces User

3 - Triggered from other Zoho Services on behalf of Zoho CommunitySpaces User

4 - System action

name

String

Display name of the trigger type. It could be the name of the user or the bot's name in case of automation.

emailId

String

Email address of the user who did the trigger action. This attribute is supported only for triggeredBy type 0 and 3.

 

This attribute is applicable only when the configuration owner has the permission to view email addresses of community members.

url

String

URL of the user profile. This attribute is supported only for triggeredBy type 0 and 3.

 

id

String

Unique id of the entity

This attribute is supported only for triggeredBy type 0,1, and 3.

serviceType

String

Type of the integration bot. This attribute is supported only for triggeredBy type 3.


Supported Triggers in Zoho CommunitySpaces 

The trigger actions that are currently supported are as follows:
Task
  1. New task created

  2. Task deleted

  3. Task completed

  4. Task reopened

  5. Task assigned

  6. Task assignee removed

  7. User reminded about a task

  8. Task updated

  9. Task status changed

  10. Task start date changed

  11. Task due date changed

  12. Task priority changed

  13. New checklist added to a task

  14. Checklist completed

  15. Checklist reopened

  16. Checklist deleted

  17. Checklist assigned to you

  18. User removed from a checklist item

  19. Checklist due date changed

  20. Checklist details updated

  21. Commented on a task

  22. Task comment edited

  23. Task comment deleted

  24. Task Section Changed

  25. Attachment Added In task

  26. Deleted Attachment In task

  27. Edited Custom Field In task

Events
  1. New event created

  2. Invited to an event

  3. Added as an event assistant

  4. Assistant removed from an event

  5. Invitees removed from an event

  6. Reminded about an event

  7. Event details updated

  8. Event deleted

  9. Updated the RSVP option

  10. Commented on an event

  11. Event comment edited

  12. Event comment deleted

Feeds
  1. Started new conversation

  2. Edited a conversation

  3. Deleted a conversation

  4. Commented on a conversation

  5. Edited a conversation comment

  6. Deleted a conversation comment

  7. Mentioned in a post

  8. Mentioned in a comment

  9. Group mentioned in a post

  10. Group mentioned in comment

Spaces
  1. Members added to a space

  2. Members removed from a space

Boards
  1. Members added to a board

  2. Members removed from a board

Announcements
  1. Posted a new announcement

  2. Edited an announcement

  3. Deleted an announcement

  4. Commented on an announcement

  5. Edited an announcement comment

  6. Deleted an announcement comment

Forums
  1. Forum post created

  2. Edited a forum post

  3. Deleted a forum post

  4. Commented on a forum post

  5. Edited a forum comment

  6. Deleted a forum comment

Polls
  1. Started a new poll

  2. Updated a poll

  3. Deleted the poll

  4. Commented on a poll

  5. Edited the poll comment

  6. Deleted the poll comment

Questions
  1. Posted a new question

  2. Updated a question

  3. Question deleted

  4. Commented on a question

  5. Question comment edited

  6. Question comment deleted

  7. Added answer to a question

  8. Edited an answer

  9. Deleted an answer

  10. Select the best answer

Triggers available at community-level
  1. New space created

  2. Space deleted

  3. Space restored

  4. New board created

  5. Board deleted

  6. Board Restored from Trash

  7. Member added/enabled in Community

  8. Member removed from Community

  9. Member disabled in Community

 

If you need any help, contact us at support@zohocommunityspaces.com. We're happy to help!